Using Ant to compile .dtd and .xjs with JAXB.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mark_Orr
Posted On:   Wednesday, August 29, 2001 07:20 AM


You may not be familiar with JAXB but it's giving me a probem which I can state in general form.




How do I express to Ant that in order to make one or more target files I need to exec a command that has two source files, not one?




In a normal there's only room for one (and also only one ).




In JAXB, to produce a class file from a DTD and a bind file (.xjs) you have to supply both files as inputs and it then produces one or more .java files.

Re: Using Ant to compile .dtd and .xjs with JAXB.

Posted By:   Erik_Hatcher  
Posted On:   Wednesday, August 29, 2001 06:24 PM

Looks like a candidate for a custom task. I'll give this issue some thought to see if it can be accomplished with some Ant trickery, but a custom task for something as important and JAXB seems like the real way to go.
About | Sitemap | Contact