[jdom-interest] Determining which version of JDOM from command line
Jason Hunter
jhunter at collab.net
Fri Sep 7 14:55:44 PDT 2001
Yeah, that's the problem with version reporting schemes: they're never
there in the first version.
The alternative is to compare the class list with the CHANGES.txt file
list of when classes were added/removed. You can even automate that. I
did that for servlets in com.oreilly.servlet.VersionDetector so my
servlets can know the level of their server by looking for
classes/methods in their environment.
-jh-
"Gordon, Simon" wrote:
>
> Only works for Beta 7. Beta 6 gives:-
>
> C:\>java -jar \jdom-b6\build\jdom.jar
> Failed to load Main-Class manifest attribute from
> \jdom-b6\build\jdom.jar
>
> -----Original Message-----
> From: Jason Hunter [mailto:jhunter at collab.net]
> Sent: Thursday, September 06, 2001 10:50 AM
> To: Aspi D. Engineer
> Cc: jdom-interest at jdom.org
> Subject: Re: [jdom-interest] Determining which version of JDOM from
> command line
>
> java -jar jdom.jar
>
> Slick, eh?
>
> -jh-
>
> "Aspi D. Engineer" wrote:
> >
> > Hi,
> >
> > Neophyte question:
> > Is there any way to figure out which version of JDOM is currently
> > installed/used from the command line? I am looking for something
> equivalent
> > to "java -version"
> >
> > Thanks
> > Aspi Engineer
> >
> > _______________________________________________
> > To control your jdom-interest membership:
> >
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
> t.com
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
> t.com
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list