Hi,
I found some solution about my problem.
When I try to change the content of
META-INF/services/com.sun.tools.xjc.Pluginm delete the line of
blabla.code_inject.PluginImpl, so it contains only the line
mycodeinjector.PluginImpl
It worked.
But still I wonder why when both lines are given to this file, both
can't be called? Should all the content from the same package?
Regards,
Heru
-----Original Message-----
From: Salim Heru Martinus (IFAG COM BTS MT SD)
Sent: Friday, November 10, 2006 3:09 PM
To: users_at_jaxb.dev.java.net
Subject: RE: Re: JAXB Plugin
>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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net