ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship" <hls...@comcast.net>
Subject Help with subant
Date Fri, 21 May 2004 12:25:50 GMT
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message