Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 21964 invoked by uid 500); 13 Jun 2003 11:39:37 -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 21953 invoked from network); 13 Jun 2003 11:39:37 -0000 Received: from unknown (HELO mysql01.ludicus.com) (213.52.115.26) by daedalus.apache.org with SMTP; 13 Jun 2003 11:39:37 -0000 Received: from albertp (docs41-214.menta.net [62.57.40.214]) by mysql01.ludicus.com (8.11.6/8.11.6) with SMTP id h5DC5Ut15949 for ; Fri, 13 Jun 2003 14:05:31 +0200 Message-ID: <002501c331a0$7802be80$0d001aac@albertp> From: "Albert Pastrana" To: "Ant Developers List" References: <879A5AD5DD0ED511891F0003473A9B5608FF6A7A@Z011004> Subject: Re: new ant task proposal Date: Fri, 13 Jun 2003 13:39:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Yes, it's true, I didn't know this library ;)) Thank you very much, the lib is really cool, for sure I will use it and forget the task I made. But I have a question, why these tasks are not in the external tools and tasks list? (well, at least I can't see it) bye albert ps: luckily the class implementation didn't take me long time ;) ----- Original Message ----- From: To: Sent: Friday, June 13, 2003 1:23 PM Subject: AW: new ant task proposal It seems that you don�t know the Ant-Contrib library and the task? Jan 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 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/ > -----Urspr�ngliche 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 loop over a > directory contents and perform a task for every one of the 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 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 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 > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org