ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Atul Tiwary" <a...@cedera.com>
Subject using the -D option with the java task
Date Mon, 14 May 2001 23:10:12 GMT
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},-Dlogdirectory
=${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