users@jaxb.java.net

RE: Re: JAXB & xjc version determination

From: Vallamshettla, Anand <Anand.Vallamshettla_at_tgslc.org>
Date: Wed, 16 Mar 2005 16:16:56 -0600

Arundhati,

  If you are talking about manually determining the version of jaxb
jars; you might find this useful.

   Each jar file has Manifest.mf file under META-INF dir. Just open that
file, you will see information as follows

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.2
Created-By: 1.4.1_02-b06 (Sun Microsystems Inc.)
Specification-Title: Java Architecture for XML Binding
Specification-Version: 1.0
Specification-Vendor: Sun Microsystems, Inc.
Implementation-Title: JAXB Reference Implementation
Implementation-Version: 1.0.4
Implementation-Vendor: Sun Microsystems, Inc.
Implementation-Vendor-Id: com.sun
Extension-Name: com.sun.xml.bind


Anand.

-----Original Message-----
From: Ryan Shoemaker - JavaSoft East [mailto:Ryan.Shoemaker_at_Sun.COM]
Sent: Wednesday, March 16, 2005 3:39 PM
To: users_at_jaxb.dev.java.net
Subject: Re: JAXB & xjc version determination

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



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net