ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Mark Bram <>
Subject Include nested arg elements in my custom task
Date Thu, 01 Jul 2004 00:51:53 GMT
Hi All!

I want to include nested <arg> elements in my custom task:


<target name="main">
     <arg line="foo">
     <arg line="bar">

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!


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

View raw message