users@jaxb.java.net

Re: simple question

From: jason white <jason_white_01_at_hotmail.com>
Date: Mon, 20 Mar 2006 14:06:08 +0000

Looks like xjc is not recognizing my jar? (in the same directory I am
executing from)

C:\jaxb-ri-20051223\bin>xjc -cp xjchibernate.jar -Xhibernate-java
decodes.xsd
Looking for META-INF/services/com.sun.tools.xjc.Plugin for add-ons
Checking
jar:file:/C:/jaxb-ri-20051223/lib/jaxb-xjc.jar!/META-INF/services/com.sun.tools.xjc.Plugin
for an add-on
Attempting to instanciate
com.sun.tools.xjc.addon.locator.SourceLocationAddOn
Attempting to instanciate
com.sun.tools.xjc.addon.sync.SynchronizedMethodAddOn
Attempting to instanciate com.sun.tools.xjc.addon.at_generated.PluginImpl
unrecognized parameter -Xhibernate-java

I also tried this by explicitly pathing to the jar in the command:

C:\jaxb-ri-20051223\bin>xjc -cp C:/jaxb-ri-20051223/xchibernate.jar
-Xhibernate-java decodes.xsd
Looking for META-INF/services/com.sun.tools.xjc.Plugin for add-ons
Checking
jar:file:/C:/jaxb-ri-20051223/lib/jaxb-xjc.jar!/META-INF/services/com.sun.tools.xjc.Plugin
for an add-o
Attempting to instanciate
com.sun.tools.xjc.addon.locator.SourceLocationAddOn
Attempting to instanciate
com.sun.tools.xjc.addon.sync.SynchronizedMethodAddOn
Attempting to instanciate com.sun.tools.xjc.addon.at_generated.PluginImpl
unrecognized parameter -Xhibernate-java