[prev in list] [next in list] [prev in thread] [next in thread]
List: ant-user
Subject: Re: java from another directory
From: Jesse Stockall <stockall () magma ! ca>
Date: 2003-04-29 21:27:40
[Download RAW message or body]
On Tue, 2003-04-29 at 17:13, Eric Dunn wrote:
> Hi,
> I am trying to use the java task to execute a jar, but it needs to be run from a \
> different directory than from which ant was started in. Can I pass the directory it \
> should switch to before executing the java?
If you set fork="true", you can use the 'dir' attribute.
Have a look at the manual for more info.
http://ant.apache.org/manual/CoreTasks/java.html
--
Jesse Stockall <stockall@magma.ca>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic