ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship" <hlshipli...@comcast.net>
Subject RE: Help with subant
Date Mon, 24 May 2004 15:18:06 GMT
Brain dead, me. Got <antcall> and <subant> confused.

--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com


> -----Original Message-----
> From: Howard M. Lewis Ship [mailto:hlship@comcast.net] 
> Sent: Friday, May 21, 2004 8:26 AM
> 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
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message