ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Haynes" <m...@matthaynes.net>
Subject Re: Correct Task Behaviour
Date Tue, 16 Oct 2007 12:57:30 GMT
Thanks!

On 16/10/2007, Steve Loughran <stevel@apache.org> 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: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message