JF1 wrote:
I am unfamiliar with using Ant at this time, and was reading in the
documentation for Jeewiz, that they take Ant's approach to mapping XML to
Java objects. Does anyone have a link or a book recommendation that could
expand on this for the uninitiated?
Cheers

1. The forthcoming Ant in Action book will explain the O/X mapping in detail; there's some slides here

http://svn.apache.org/viewvc/ant/core/trunk/docs/slides/extending_ant.odp?view=co

2. look at the "writing your own task" bit of the ant docs for details on it.


It's not that complex, and is designed for one-way XML to O mapping. Any setter method in a class is an attribute, if Ant can convert a java string to the specific type. Elements and nested text are trickier.

-steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to