Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 27982 invoked by uid 500); 13 Jun 2003 11:45:09 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 27873 invoked from network); 13 Jun 2003 11:45:08 -0000 Received: from dnsinet.rzf-nrw.de (193.109.238.66) by daedalus.apache.org with SMTP; 13 Jun 2003 11:45:08 -0000 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.9/8.12.9) with ESMTP id h5DBj4BT005175 for ; Fri, 13 Jun 2003 13:45:04 +0200 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2653.19) id ; Fri, 13 Jun 2003 13:45:06 +0200 Message-ID: <879A5AD5DD0ED511891F0003473A9B5608FF6A7B@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: dev@ant.apache.org Subject: AW: new ant task proposal Date: Fri, 13 Jun 2003 13:45:06 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C331A1.3C263B20" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C331A1.3C263B20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable It=B4s listed as an external project. http://ant.apache.org/projects.html Jan > -----Urspr=FCngliche Nachricht----- > Von: Albert Pastrana [mailto:albert@ludicus.com] > Gesendet am: Freitag, 13. Juni 2003 13:40 > An: Ant Developers List > Betreff: Re: new ant task proposal >=20 > Yes, it's true, I didn't know this library ;)) >=20 > Thank you very much, the lib is really cool, for sure I will=20 > use it and > forget the task I made. >=20 > But I have a question, why these tasks are not in the=20 > external tools and > tasks list? (well, at least I can't see it) >=20 > bye >=20 > albert >=20 > ps: luckily the class implementation didn't take me long time ;) >=20 > ----- Original Message ----- > From: > To: > Sent: Friday, June 13, 2003 1:23 PM > Subject: AW: new ant task proposal >=20 >=20 > It seems that you don=B4t know the Ant-Contrib library and the=20 > task? >=20 >=20 > Jan >=20 >=20 > Ant-Contrib: > Homepage: http://sourceforge.net/projects/ant-contrib/ > CVS-Source: > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ant-contrib/ant > -contrib/src/n > et/sf/antcontrib/ > CVS-Manual: > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ant-contrib/ant > -contrib/manua > l/index.html >=20 > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/ant- > contrib/ant-co > ntrib/manual/tasks/index.html > Binary: http://gump.covalent.net/jars/latest/ant-contrib/ >=20 >=20 > > -----Urspr=FCngliche Nachricht----- > > Von: Albert Pastrana [mailto:albert@ludicus.com] > > Gesendet am: Freitag, 13. Juni 2003 13:19 > > An: Ant Developers List > > Betreff: new ant task proposal > > > > Hi to all, > > > > First of all, apologizes for my english (I'm catalan) and for > > my message, if > > it is not posted to the proper list. > > > > I've been using ant for a long, and I've always thought that > > it lacks a > > useful functionality, this is the possibility to make a loop > > over a group of > > dirs (or files). > > > > I needed this because in several build.xml files I would like > > to perform the > > same build tasks for a group of modules. I supose I'm not the > > only one that > > uses .sh or .bat files to perform similar things. > > > > Last week was the last, I decided to make a little task to=20 > loop over a > > directory contents and perform a task for every one of the=20 > directories > > inside it. This task is very simple, it extends the > > CallTarget task and > > takes only two new arguments: > > - dir: the name of the directory you want to loop over > > - propertyName: the name of the property you want to put the > > value of every > > subdir name (by default is current.dir) > > > > Then the task is really easy to use, it's something like that: > > > > ${current.dir} > > > > > > > > > > > > > > It's very useful for me, and I would like this task to be > > added to Ant core > > tasks, because I think it could interest to a lot of people. > > If not, it > > would be nice also to add it to external tasks. The problem > > is that I cannot > > spend time on it and I can't compromise on solving bugs > > and/or extending it. > > > > For example, it would be nice to extend the task and take=20 > the list of > > dirs/files to loop over from a fileset, but my very > > rudimentary knowledge of > > ant made impossible to me to extend the task and add=20 > compatibility for > > fileset :(( > > > > Well, that's all, I hope you to understand my english ;) and > > some of you to > > suggest me a solution. > > > > cheers > > > > albert > > > > > > > > > >=20 > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > > For additional commands, e-mail: dev-help@ant.apache.org > > >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org >=20 ------_=_NextPart_001_01C331A1.3C263B20--