Peter Michaels wrote:
> Hi,
>
> I am trying to create a plugin that will overwrite the default
> @XmlAccessorType. I am running into a problem of running the plugin
> from the command line. This is my command string, but each time jaxb
> reports that the parameter can't be found:
>
> xjc -cp c:\temp\xjcplugin.jar -force-annot -d generated -p
> com.company.project -xmlschema c:\temp\fts.xml
Can you paste the error message?
Also try setting the system property to get the debug output:
java -Dcom.sun.tools.xjc.Options.findServices=true -jar jaxb-xjc.jar
...options...
> I've tried using JAXB 2.0 and 2.1.2 but no luck. I also can't seem to
> get any of the other plugins to run in this way, I've tried camelcase.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com