On Wed, 17 Apr 2002, Oisin Kim <[EMAIL PROTECTED]> wrote:

>       <arg value="some.properties"/>  <!--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!

Use

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

instead

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.

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to