That's great, I had made the mistake of assuming that the setSomething methods needed a String.
Does resolve other common types, DateFomat, int, etc ? On 16/10/2007, Dominique Devienne <[EMAIL PROTECTED]> wrote: > > On 10/16/07, Matthew Haynes <[EMAIL PROTECTED]> wrote: > > I think my problem came from accepting the file attribute as a String > and > > then converting it to a file in my code. > > Yep. If you take a File, Ant does the resolution indeed, using it's > own rule, which is relative to basedir, as others have indicated. When > you do new File(filename), then filename, if relative, will be > relative to the current directory, which may not be the same as > basedir. --DD > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >