- you are not using <subant> - <antcall> does not support nested <filelist>s, but that is written in the manual.
Jan > -----Original Message----- > From: Howard M. Lewis Ship [mailto:[EMAIL PROTECTED] > Sent: Friday, May 21, 2004 2:26 PM > To: [EMAIL PROTECTED] > Subject: Help with subant > > > Anyone have some pointers on using subant to b > uild projects? > > I've been getting results that don't match the documentation > (or the code, for that matter): > > <macrodef name="reinvoke-ant"> > <attribute name="target" description="Target to > achieve in each module."/> > <element name="parameters" > description="Parameters passed to the subant task."/> > > <sequential> > <antcall target="@{target}" inheritall="false"> > <filelist refid="${project.modules}"/> > @{parameters} > </antcall> > </sequential> > > </macrodef> > > <target name="clean"> > > <reinvoke-ant target="clean"/> > <antcall target="common.clean"/> > > </target> > > Buildfile: build.xml > > clean: > > BUILD FAILED > C:\workspace\jakarta-hivemind\common\project.xml:27: > Following error occured while executing this > line > C:\workspace\jakarta-hivemind\common\project.xml:15: The > <antcall> type doesn't support the nested > "filelist" element. > > Total time: 0 seconds > -- > Howard M. Lewis Ship > Independent J2EE / Open-Source Java Consultant > Creator, Jakarta Tapestry > Creator, Jakarta HiveMind > http://howardlewisship.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
