Thanks!

On 16/10/2007, Steve Loughran <[EMAIL PROTECTED]> wrote:
>
> Matthew Haynes wrote:
> > Thanks for the responses.
> >
> > I think my problem came from accepting the file attribute as a String
> and
> > then converting it to a file in my code. I guess if I do something like
> the
> > below I shall get the correct behaviour.
> >
> > public void setSrcFile(File srcFile) {
> >
> > ......
> >
> > }
>
> that's right. Ant will do the resolution for you. Otherwise you have to
> make some call on your project instance to do the resolution
>
> --
> Steve Loughran                  http://www.1060.org/blogxter/publish/5
> Author: Ant in Action           http://antbook.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to