ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holger Engels <heng...@mercatis.de>
Subject Re: [PATCH] ant task with (nested) fileset(s)
Date Tue, 13 Nov 2001 10:30:50 GMT
On Tue, 13 Nov 2001, Peter Donald wrote:

> On Tue, 13 Nov 2001 15:41, Jose Alberto Fernandez wrote:
> > From: "Peter Donald" <donaldp@apache.org>
> >
> > > > I would like to see:
> > > >
> > > > (1) How to write <foreach> functionality over a fileset (or
> > > > equivalent). (2) How to write <javaon> functionality.
> > >
> > > loaded questions. Assumes we need this functionality. While XSLT could
> > > provide this I don't think they are needed given (3)
> > >
> > > > (3) How to write new pseudo-tasks that are defined as the sequential
> > > >      execution of existing tasks with ways to pass arguments.
> > >
> > > See message with Subject "Re: Question about properties and ant2" on 14th
> > > September.
> >
> > I took a look at that thread, and as I suspected (since I would have take
> > notice otherwise) your example leaves out how to manage sets of files
> > needed during expansion. How do I say the equivalent of "<include
> > name='src/**/*.c' />" using XSTL? That is, how I create the lists of all
> > files in the filesystem (relative to the basedir of the project) which
> > match the include criteria above.
> 
> look above. reread. Ant is not a scripting language. Im not sure how many 
> times that has to be said. Yes XSLT could do that easily enough (via 
> extensions if you are wondering) but I don't think it should be. When I said 
> "I don't think they are needed given (3)" I meant "I don't think they are 
> needed given (3)". Any clearer?
> 

Ok, so please remove ant and antcall .. we'll use an extended syntax for 
the depends attribute in target ;-)


BTW: xml is (beside sendmail configuration) the ugliest format I ever had 
to read/write/maintain by hand! XML sucks .. that however does certainly  
not apply to ant.

Holger


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message