Costin Manolache wrote:
Nicola Ken Barozzi wrote:
Nicola - you can just use taskdef with a resource parameter and define all the cents at once.
Yup, but you still have to do it.
I want to simply make the user add a <centipede/> tag in the buildfile, but since it's not loaded, it cannot load others the way you say... catch22.
<project xmlns:cent="... " > <cent:centipeded/> ...
Sounds simple enough.
Or: <antlib name="org.krysalis.cents..."/> <centipede>
One line (or ns ) describing the fact that the build file is using centipede is not too much to ask.
As always, actual code clears things: the above mechanisms seem just fine +1
Thanks for taking time to explain it to this point :-)
BTW, centipede can define aditional antlibs if it wants ( I think it would
be better to require the user to declare all libs it uses - like in XSTL or JSP - but it's your choice on what centipede does ).
Yes. We do it with <importcent/>, except the core tasks we load with <centipede/>
--
Nicola Ken Barozzi [EMAIL PROTECTED]
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
