ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <jakarta-...@ehatchersolutions.com>
Subject Re: How to setup a java system property in ant?
Date Fri, 18 Apr 2003 09:50:25 GMT
Add your -D phrase to the ANT_OPTS environment variable.  It gets put 
in the command-line that launches Ant at the proper place.  If you are 
forking <junit> or <java> you'll need to set it in those environments 
(see the docs to see how to set system properties).

	Erik


On Thursday, April 17, 2003, at 10:52  PM, Richard Hill wrote:

> Hi,
> I'm trying to setup a java system property in my ant build file so I 
> can
> debug some SSL handshaking while running a test. At the command line 
> you
> would normally use "java -Djavax.net.debug=all MyApp". How would I do 
> this
> in an ant file?
>
>> From the JSSE API User's Guide:
> "JSSE provides dynamic debug tracing support. This is similar to the 
> support
> used for debugging access control failures in the Java 2 platform. The
> generic Java dynamic debug tracing support is accessed with the system
> property java.security.debug, while the JSSE-specific dynamic debug 
> tracing
> support is accessed with the system property javax.net.debug."
> Thanks,
> Richard
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


Mime
View raw message