Wednesday, June 20, 2012

Creating JAXB classes through ANT Build script

It's just a matter of two steps.....
1) first need to create taskdefination of xjc class of sun.
2) Then need to generate the source code from schema  by creating a task in ant file.
     After generating source code need to do compile task in ant.

Finally JAXB classes are ready.....


Step one:

creating a taskdef of xjc



Step Two: