users@jaxb.java.net

Re: simple question

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 16 Mar 2006 14:46:26 -0800

jason white wrote:
> so...I call xjc via "xjc -p com.whatever this.xsd"
>
> how should I call it now with my plugin?
>
> Here is how I am calling unsuccessfully:
>
> xjc -classpath jaxb-xjc.jar:xjchibernate.jar -Xhibernate-java test.xsd
>
> also tried: xjc -classpath jaxb-xjc.jar:xjchibernate.jar decodes.xsd (this
> generated code but didn't use my plugin)

For now, try:

java -jar jaxb.xjc:jar:xjchibernate.jar com.sun.tools.xjc.Driver
-Xhibernate-java test.xsd ..

(all in one line)
-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com