There is no way to set a system property for the running Ant inside the buildfile. (moment ... maybe <script>System.setProperty(...) ?)
You can set the environment variable ANT_OPTS which is passed to the JVM. E.g. set ANT_OPTS=-Djavax.net.ssl.trustStore=true Jan >-----Ursprüngliche Nachricht----- >Von: Matthew M. Boedicker [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 12. November 2007 19:56 >An: user@ant.apache.org >Betreff: setting SSL system property in build.xml > >Is it possible to set the javax.net.ssl.trustStore system >property inside >a build.xml file? > >I am using the standard Ant "get" task and the Apache Axis >axis-wsdl2java task >with https URLs. I know it can be set in the java task but is >there anyway to >set it for these tasks or globally for the whole file? > >I have a keystore with the necessary keys checked into the >source tree and I >would like the build to use this and not depend on anything external. > >Thanks, >Matthew Boedicker > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]