ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Dickon Glanville" <dickon.glanvi...@gmail.com>
Subject Re: <fileset> based on contents of a file?
Date Mon, 07 May 2007 17:02:39 GMT
Matt,

Thanks for the suggestion of using an includesfile attribute for the
<fileset> element.  Because the includesfile deals with "include
patterns", I originally dismissed it as a possible solution.  However,
now that I think about it a little more, as long as the file contains
explicit information (and not patterns), this this should work.

JDG


On 5/5/07, Matt Benson <gudnabrsam@yahoo.com> wrote:
> use the includesfile attribute?  If your files don't
> all share the same base directory, consider using a
> <files> collection (Ant 1.7).
>
> HTH,
> Matt
>
> --- Jay Dickon Glanville <dickon.glanville@gmail.com>
> wrote:
>
> > Is there a way that I can create a fileset who's
> > files are based on a
> > second file's contents?
> >
> > I'm looking at a situation where I want to use the
> > <copy> task to copy
> > a set of files.  These files are listed in a text
> > file, one filename
> > per line.  So, I can't use a statically declared
> > <fileset> as I don't
> > know the fileset's criteria.
> >
> > Thanks
> >
> > JDG
> >
> > --
> > Jay Dickon Glanville
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> > user-help@ant.apache.org
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


-- 
Jay Dickon Glanville

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message