ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
Subject Re: Ant's approach to mapping XML to Java objects
Date Thu, 19 Apr 2007 12:30:17 GMT
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

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.


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

View raw message