users@jaxb.java.net

Re: simple question

From: jason white <jason_white_01_at_hotmail.com>
Date: Mon, 20 Mar 2006 15:40:07 +0000

I do have this working, now i need xjc to find my jar file at all. I put it
in my classpath and also have called it with the full path...not sure why
it's not finding it...

-jason


jason white wrote:
                 Kohsuke,

Not sure how to accomplish this on Windows:

$ export XJC_OPTS="-Dcom.sun.tools.xjc.Options.findServices=true"
$ xjc.sh -cp xjchibernate.jar -help

Any help would be appreciated.

What Alexi explained would work globally, or you can start a command prompt
and then:

C:\jaxb>set XJC_OPTS="-Dcom.sun.tools.xjc.Options.findServices=true"
C:\jaxb>xjc.bat -cp xjchibernate.jar -help