Woh..
Ant seems to have most of what we are looking for..
Your suggestion works.. small change was the name of the attribute was
classname instead of class
<typedef name="TejaExecutor"
classname="com.tejasoft.ant.TejaGlobalExecutor">
<classpath>
<path refid="cp.teja.ant"/>
</classpath>
</typedef>
<TejaExecutor id="ant.executor"/>
This takes care of it.
Stefan, when we supply it as ANT_ARGS, we used 'ant.executor.class' instead
of 'ant.executor' .. Not sure why such difference..
Stefan, is this approach works with all other ANT_ARGS, such as -listener
etc.. if yes, could you let me know how to find the respective id name.
Trying to get to know org.apache.tools.ant.Main better.
Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
--
View this message in context:
http://old.nabble.com/Feature-Request---Executor-setting-though-the-script-tp26208582p26226565.html
Sent from the Ant - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]