wood burning stoves 2.0*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes which jar to donwload for XJC Ant Task Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "which jar to donwload for XJC Ant Task" Watch "which jar to donwload for XJC Ant Task" New topic

which jar to donwload for XJC Ant Task

Kamal Tripathi
Ranch Hand

Joined: Oct 02, 2008
Posts: 86
I have some examples to try hands on wherein ANT is being used for generating jars.

Currently it is not able to execute since I guess the ant task class file com.sun.tools.xjc.XJCTask is not shipped with J2SE/J2EE jars (Source)

Does anyone know which jar file should I download to generate schema. I want to run ant task specifically because I want to generate source and specifically analyze it to understand more about JAXB. Thanks.

Kamal Tripathi
SCJP 1.4 90%, SCWCD5 94%, Next SCDJWS--> In Naescent stage. Researching abt exam and material itself.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
The XJC Ant task can be found in the jaxb-xjc.jar JAR which is enclosed in the latest version of the JAXB binary distribution.
Best wishes!

My free books and tutorials: http://www.slideshare.net/krizsan
It is sorta covered in the JavaRanch Style Guide.
subject: which jar to donwload for XJC Ant Task
Similar Threads
Compiling BPLE
Help! Wsdl2Java Can't parse a Coldfusion WSDL?
How can I jar file and batch file to treat as a exe file?
generated WSDL through wsgen and REPLACE_WITH_ACTUAL_URL
how to get file names in jar