users@jaxb.java.net

Re: JAXB & xjc version determination

From: Ryan Shoemaker - JavaSoft East <Ryan.Shoemaker_at_Sun.COM>
Date: Wed, 16 Mar 2005 16:38:47 -0500

Bhende, Arundhati wrote:
> Thanks.
>
> I am not clear about answer for 2. If I have the jar files that begin with jaxb - like mentioned below, but nothing else in a directory and need to find out which version of JAXB those files come from, how can I use "xjc -version" to determine that?
>

You have to run the compiler. If you don't have the xjc scripts, then you
can just run "java -jar" like I've shown below:

LORAX [15] [ 4:35PM] [/d/files/ws/jaxb-sources/jaxb-ri/dist/lib] => java -jar jaxb-xjc.jar -version
xjc version "1.0.4-11/12/2004 10:30 AM(ryans)-fcs"
JavaTM Architecture for XML Binding(JAXB) Reference Implementation, (build 1.0.4-11/12/2004 10:30 AM(ryans)-fcs)

In this case, I have an old internal build of JAXB 1.0.4.

--Ryan