Hi All!
I want to include nested <arg> elements in my custom task:
<taskdef name="mytask" classname="common.ant.MyVeryOwnTask" classpath="lib/common.jar"/>
<target name="main"> <mytask> <arg line="foo"> <arg line="bar"> </mytask> </target>
I understand this means I need an add method in my Task subclass: public void add(Arg arg) {} What class matches <arg> elements?
Within this add method, can I just get the arg value or is there something else related to Ant that needs to be done?
Any help would be most appreciated!
Rob :)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]