ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Run time commands - a Solution
Date Thu, 18 Apr 2002 07:25:08 GMT
On Wed, 17 Apr 2002, Oisin Kim <> wrote:

>       <arg value=""/> 	<!--a paramter, a properties file-->
>       <arg value="somefilename.txt"/>	<!--a paramter, some file name-->

> Since this java command no longer uses the option "fork=true" you
> can't define a Path to run java from, everything is run relative to
> the folder the Ant build script is contained (if you run Ant from
> the command line) in or if you're using something like netbeans,
> relative to the netbeans bin directory, although this may be just a
> config issue!


   <arg file=""/> 	<!--a paramter, a properties file-->
   <arg file="somefilename.txt"/>	<!--a paramter, some file name-->


Ant will pass the absolute pathname of the files on the command line
and assume that relative paths are relative to your project's basedir.


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

View raw message