ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Help with subant
Date Mon, 24 May 2004 08:56:38 GMT
- 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:hlship@comcast.net]
> Sent: Friday, May 21, 2004 2:26 PM
> To: user@ant.apache.org
> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message