ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <>
Subject Re: build.xml snippet used from code
Date Mon, 18 Aug 2003 10:15:50 GMT
Hi Dominique

what engine are you talking about in ant? Do you mean the xml parser in 
ant itself and its ability to read build files? Or is there another task 
out there?


On 08/14/2003 04:36 PM Dominique Devienne wrote:
> I personally find JAXB both cumbersome (need to write a schema) and too
> heavyweight (Tons of JARs to compile schema, then requires a runtime) for
> this kind of things.
> Especially when you are in the Context of Ant which has a simple and
> inflexible but well known and documented engine to do that already.
> Which is why I find all XML binding APIs (JAXB, Castor, etc...) and XML to
> Java APIs like Commons Digester too heavyweight in this context.
> --DD
>>-----Original Message-----
>>From: Adam Hardy []
>>Sent: Thursday, August 14, 2003 6:32 AM
>>To: Ant Users List
>>Subject: Re: build.xml snippet used from code
>>You might get somewhere with JAXB, if you have objects and properties
>>that you want to turn into java objects to manipulate at run-time.
>>JAXB has 2 phases - the first phase requires you to run a generator to
>>create the corresponding java classes from you xml schema.
>>the 2nd phase is where you can create objects from those classes by
>>reading in xml - marshalling and unmarshalling.
>>Is that where you are aiming at?
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

ant 1.6alpha + java 1.4.2 on Linux 2.4.20 RH9

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

View raw message