Author Login
Post Reply
I'm getting strange errors and am not sure what the below code is doing
internally. I want to keep the targets in normal xml they can be invoked via
the Eclipse Ant view, but all the rest of the xml I would like to kill
forever.
Hence is there a way to declare a macrodef via AntBuilder?
...
<groovy>
ant.macrodef (name:'iterate') {
attribute(name:'target')
sequential {
...
}
}
</groovy>
<target name="compile" description="Compile all projects">
<iterate target="compile" />
</target>
--
Sent from the groovy - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email