ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Java jvmarg syntax question
Date Fri, 15 Jun 2001 07:13:11 GMT
David Thielen <> wrote:

> If in a java command I want the arg:
>             <jvmarg value="-Dejipt.home=${jrun}"/>
> Where ${jrun} is a path - how do I set this up. I can't do path=
> because of the "-Dejipt.home=" part. But if I do value= then it's
> not fully portable.

Use sysproperty instead of jvmarg,

<sysproperty name="ejipt.home" path="${jrun}" />

> ps - there is a typo in the docs for the Java command. In the table
> it says jvmargs but it should be jvmarg.

No, the documentation is correct. The *attribute* is named jvmargs
while the *nested element* is named jvmarg.


View raw message