ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject AW: Looping antcalls
Date Fri, 10 Jan 2003 06:08:54 GMT
	<target name="HTML" depends="init">
	    <foreach list="${devguide},${xmleditor}" target="HTMLbuild"
param="docpath" />

Jan Matèrne

-----Urspr√ľngliche Nachricht-----
Von: Jerome Paul []
Gesendet am: Freitag, 10. Januar 2003 02:36
An: 'Ant Users List'
Betreff: Looping antcalls

  I'm using antcalls to call a target heres the code I'm using:

    <target name="HTML" depends="init">
        <echo message="Converting xml documents into html"/>
        <antcall target="HTMLbuild"><param name="docpath"
        <antcall target="HTMLbuild"><param name="docpath"

currently when I want to add another document I need to add another antcall
is there a way I can loop through a list in a property so that I only need
one generic antcall? That way when another person adds a document that they
want converted during the next build, they only have to modify a property
file and not the build file.

ideas welcome

Thanks in advance

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

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