users@jaxb.java.net

RE: Re: JAXB Plugin

From: <HeruMartinus.Salim_at_infineon.com>
Date: Fri, 10 Nov 2006 15:09:15 +0100

>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