ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Atul Tiwary" <a...@cedera.com>
Subject RE: using the -D option with the java task
Date Mon, 14 May 2001 23:36:41 GMT
I tried fork. Now I cant see any of my system.out.println messages.
Why is that? Where are these redirected?

-----Original Message-----
From: Conor MacNeill [mailto:conor@cortexebusiness.com.au]
Sent: Monday, May 14, 2001 4:30 PM
To: ant-user@jakarta.apache.org
Subject: RE: using the -D option with the java task


Did you get this message in your output?

JVM args ignored when same JVM is used.

Try adding fork="yes" which will create a new VM to which the args can
apply.

Conor


> -----Original Message-----
> From: Atul Tiwary [mailto:atul@cedera.com]
> Sent: Tuesday, 15 May 2001 9:10 AM
> To: ant-user@jakarta.apache.org
> Subject: using the -D option with the java task
>
>
> While using the java task. I would like to be able to pass some properties
> values using the -D option. Here is an excerpt from my build.xml file.
>
> <target name="datarow">
>     <java classname="com.cedera.util.datatransfer.DataLoadReportRow">
>     <jvmarg
> value="-Ddatadirectory=${src.data},-Ddatasource=${connection},-Dlo
> gdirectory
> =${src.log}"/>
>     </java>
>   </target>
>
> The problem is that when I execute this I get null values for all these
> properties.
> Any ideas on how I can correctly use the -D option.
>
> Thanks,
> Atul
>
>


Mime
View raw message