>Is your JAR file in the XJC classpath?
I have added this line to my build file
<pathelement path="C:\UserData\salimher\testJava\plugin\plugin.jar"/>
Is that the XJC classpath?
Still doesn't work.
So here is part of the build file
<taskdef name="xjc" classname="com.sun.tools.xjc.XJCTask">
<classpath>
<pathelement
path="C:\UserData\salimher\JAXB\jaxb-ri\lib\jaxb-xjc.jar"/>
<pathelement
path="C:\UserData\salimher\testJava\plugin\plugin.jar"/>
</classpath>
</taskdef>
I didn't change this at all before the adding of -inject-code (only the
-Xinject-code), and after it. I kept it.
Regards,
Heru