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.
SCJP 1.4 90%, SCWCD5 94%, Next SCDJWS--> In Naescent stage. Researching abt exam and material itself.
posted 4 years ago
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.