Java System Properties defined in eclipse.ini is not accessible in Java runtime

121 Views Asked by At

I have a build.xml containing an ANT task(which is an eclipse plugin) which does import operations. During this import I want to read some system properties which are specified in eclipse.ini. For example -Dmyprop=value.

When I execute build.xml in my local, system properties are accessible and everything works fine. When the build.xml is triggered from Azure pipeline the java system properties are not available to the JVM. No matter where the build.xml is triggered from it always starts the eclipse runtime and uses the same eclipse.ini file but why is the system properties accessible in first case and not the other?

0

There are 0 best solutions below