Hi!!
I'm generating java classess from xsd file using jaxb.
Is it possible to turn off annotations?
I don't want em to be in generated classess.
Or maybe there is another tool that can do that?
Please help me...

Signature
Pozdro, Wojtas
franco - 18 Sep 2007 02:43 GMT
> Hi!!
>
[quoted text clipped - 9 lines]
>
> Pozdro, Wojtas
is there a way to specify <=java4 compatibility? i don't know much
about jaxb, but if there is jaxb pre-java5 then annotations don't
exist.
Roedy Green - 18 Sep 2007 03:58 GMT
On Mon, 17 Sep 2007 15:48:36 +0200, "Wojtas"
<wkrugiolka@poczta.onet.pl> wrote, quoted or indirectly quoted someone
who said :
>Or maybe there is another tool that can do that?
You could remove them with a regex and Funduc Search/Replace.
see http://mindprod.com/jgloss/searchreplace.html

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Tim Hallwyl - 18 Sep 2007 20:23 GMT
Wojtas skrev:
> Hi!!
>
[quoted text clipped - 5 lines]
>
> Please help me...
I believe JAXB 1.0 can be used with JRE 1.4, thus without annotations.
JAXB 2.0 without annotations? No. But then again take a look at:
http://forums.java.net/jive/thread.jspa?threadID=411