ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: setting SSL system property in build.xml
Date Tue, 13 Nov 2007 06:56:47 GMT
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:matthewm@boedicker.org] 
>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: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message