You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Upayavira <uv...@upaya.co.uk> on 2003/10/08 20:48:52 UTC
Questions: A Cocoon Ant task
I am attempting to craft an Ant task for Apache Cocoon's command line
interface.
Cocoon's CLI can be configured with an XML xconf file. I want to move
this configuration information into the Ant build script itself.
Is there any way I can share the code to interpret this XML
configuration information between Cocoon and Ant? In Cocoon's CLI I use
a DOM to parse the XML, but in Ant I seem to have to create objects for
nested elements, and have Ant handle it using introspection.
Is there any other way, or do I just have to accept that I've got to
maintain two sets of code - one for use from the command line, and one
from Ant?
I hope I'm clear enough.
Thanks for any help.
Regards,
Upayavira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org