ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: DIR attribut of JAVA tag
Date Tue, 12 Dec 2000 17:18:17 GMT
Jean-Baptiste BRIAUD <jean-baptiste.briaud@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

Mime
View raw message