On Wed, 06 Mar 2002, Mark Derricutt <[EMAIL PROTECTED]> wrote:

> is there a way to find the build.xml's path to pickup the correct
> file?

Do you really want the directory of the build.xml file or do you want
the basedir of your project?

If the later is true, make the setter method for the attribute in your
custom task take a File argument, not a String.  Ant will
automatically convert the filename and assume that if it is a relative
file name, it is meant to be relative to the project's basedir.

Stefan

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

Reply via email to