ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: newbie: properties question
Date Thu, 17 Aug 2000 15:29:07 GMT
Jeroen,

It depends :-)

If you fork the java task then the properties will not be available. If you
do not fork then the System object will contain the properties and be
available to the class that is run.

Conor

> -----Original Message-----
> From: Jeroen Breedveld [mailto:j_breedveld@hotmail.com]
> Sent: Thursday, 17 August 2000 23:07
> To: ant-user@jakarta.apache.org
> Subject: newbie: properties question
>
>
> Hi,
>
> Are the properties you set in a build file also available for an java
> program you start with the java task?
> Normally you would supply the system properties by using:
>
> java -Dpath_to_file_with_properties myproject
>
> The file path_to_file_with_properties would have the format as defined by
> the file used in the class java.util.Properties.
>
> greetings jeroen
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>


Mime
View raw message