ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: fileset manipulation
Date Thu, 07 Aug 2008 18:04:41 GMT

--- Florijan Stamenkovic <flor385@mac.com> wrote:

> 
> On Aug 06, 2008, at 11:35, Matt Benson wrote:
> 
> > To answer your original query, F, for the time
> being I
> > would probably load your includesfile using
> <loadfile>
> > with a nested filterchain and thereby customize
> your
> > basic includesfile for each occasion.
> 
> Huh, I can't find something to append text at the
> end of a line (the  
> opposite of PrefixLines) in the documentation (link
> below). Am I  
> missing something obvious? I guess that token filter
> + ReplaceRegex  
> should do the trick though.
> 

Guess so.  It probably would make sense to complement
PrefixLines with SuffixLines.

>
http://ant.apache.org/manual/CoreTypes/filterchain.html
> 
> Thanks for pointing it out though, I missed this as
> an option.
> 
> > I'm assuming
> > that you've already determined that the
> subdirectories
> > enumerated in that basic file follow no
> generalizable
> > pattern.
> 
> I am not sure that I understand your point. The
> structure of the  
> subdirectories declared in the includes file is
> predictable. It is  
> just that I require different things from it, at
> different times. For  
> example, for a given Foo folder, at one point I need
> to get Foo/dist/ 
> Foo.framework/**/*.* and at other times I need
> Foo/build.xml
> Is that what you're asking?
> 

My point was that I assume that the names of Foo and
its siblings follow no predictable pattern, hence your
reason for enumerating them in a file.

-Matt

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



      

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


Mime
View raw message