No, it's part of AntContrib. See Ant's external task page ... Jan
>-----Ursprüngliche Nachricht----- >Von: sun99 [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 19. September 2007 09:27 >An: [email protected] >Betreff: RE: filelist task > > >iam getting following error message > >Problem: failed to create task or type for >Cause: The name is undefined. >Action: Check the spelling. >Action: Check that any custom tasks/types have been declared. >Action: Check that any <presetdef>/<macrodef> declarations >have taken place. > > >is task "for" is the core ant task ?? > > >Hi, > >-----Original Message----- >From: sun99 [mailto:[EMAIL PROTECTED] >Sent: Wednesday, September 19, 2007 6:43 AM >To: [email protected] >Subject: filelist task > >/* >I have list of modules (may vary) to be checked out from cvs and >compile each module . how can i loop these activities in ant build. >*/ > >with antcontrib <for> task, i.e. > >as macrodef = > ><macrodef name="checkout_n_compile"> ><attribute name="modules" default="foo,foobar,foobaz"/> ><attribute name="cvsroot" default="...."/> ><attribute name="..." default="...."/> >... > ><sequential> > ><for list="@{modules}" param="modul"> > ><cvs cvsroot="@{cvsroot}" > package="@{modul}" > dest="C:/cvstemp/@{modul}" > command="-Q co" > failonerror="true" /> > ><javac fork="true" > memorymaximumsize="1024M" > failonerror="true" > includes="**\*.java" >srcdir="C:/cvstemp/@{modul}" > ... >/> > </sequential> ></macrodef> > >or without a macrodef = > ><property name="modules" value="foo,foobar,foobaz"/> ><property name="cvsroot" value="....."/> > >... > ><for list="${modules}" param="modul"> ><sequential> ><cvs cvsroot=${cvsroot}" > package="@{modul}" > dest="C:/cvstemp/@{modul}" > command="-Q co" > failonerror="true" /> > ><javac fork="true" > memorymaximumsize="1024M" > failonerror="true" > includes="**\*.java" >srcdir="C:/cvstemp/@{modul}" >destdir="C:/dist/@{modul}" >... >/> > ></sequential> > > >Regards, Gilbert > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > >-- >View this message in context: >http://www.nabble.com/filelist-task-tf4478783.html#a12772081 >Sent from the Ant - Users mailing list archive at Nabble.com. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
