ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <>
Subject Re: task <java ...fork="true">: from which directory is the java command started
Date Sun, 25 Jan 2004 15:15:23 GMT
Rudolf Nottrott wrote:

> Thanks Antoine for the suggestion, but it doesn't seem to make a 
> difference.
> Basically, I need to make sure that the command
> 'java org.hsqldb.Server -database testxyz'
> which is run by the ant target below, is started from the current 
> directory, the directory in which the database files are.
> How can I control the directory in which a  <java task gets started?  
> Is there a parameter for that?
> Thanks,
> Rudolf
 From the manual, there is a "dir" attribute for the javac task. Note 
that it requires also fork="true", otherwise it is ignored.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message