Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 43980 invoked from network); 18 Apr 2003 09:50:13 -0000 Received: from h008.c000.snv.cp.net (HELO c000.snv.cp.net) (209.228.32.72) by daedalus.apache.org with SMTP; 18 Apr 2003 09:50:13 -0000 Received: (cpmta 27012 invoked from network); 18 Apr 2003 02:50:26 -0700 Received: from 68.169.37.64 (HELO ehatchersolutions.com) by smtp.hatcher.net (209.228.32.72) with SMTP; 18 Apr 2003 02:50:26 -0700 X-Sent: 18 Apr 2003 09:50:26 GMT Date: Fri, 18 Apr 2003 05:50:25 -0400 Subject: Re: How to setup a java system property in ant? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Erik Hatcher To: "Ant Users List" Content-Transfer-Encoding: 7bit In-Reply-To: <1992288E15AA5F4FA866DCF4F318465401CB382B@ursamajor.cm.cmates.com> Message-Id: <2DA6EFEB-7183-11D7-A497-000393A564E6@ehatchersolutions.com> X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 or 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 > >