File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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
    
    1
Hi!
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
 
 
subject: which jar to donwload for XJC Ant Task