You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2000/12/12 18:18:17 UTC
Re: DIR attribut of JAVA tag
Jean-Baptiste BRIAUD <je...@solsoft.fr> wrote:
> Hello all,
>
> I had noticed that when using dir attribut of java tag :
>
> <target name="startps" depends="init">
> <java classname="[snip]" dir="${JVM.DIR}" fork="yes">
> <jvmarg line="../foo" />
> <arg line="[snip]"/>
> <classpath path="[snip]" />
> </java>
> </target>
>
> the path specified with dir became the current dir of the JVM.
>
I'm not sure I understand the problem, sorry. Is this here the one
you'd like get interpreted differently?
> <jvmarg line="../foo" />
If so, try
<jvmarg file="../foo" />
Does this do what you want?
Stefan