Version Info Was: RE: [jdom-interest] org.jdom.IllegalAddException: The attribute already has an existi ng parent "transaction"
wkrick at eio-online.com
Tue Feb 24 13:22:48 PST 2004
If I recall, suggested some time ago that the JDOM jars should be made
"executable" with a trivial main() method in one of the classes that can pop
up a window with version info when the jar is double clicked. I can't
remember what the response was.
I've seen this done in other libraries. Usually, they add a class called
something like Version or VersionInfo that includes the main() method that
is launched by double clicking the jdom jar.
It's fairly easy to implement. It should probably use AWT rather than swing
to be compatible with the most versions of Java. It should read the version
info that it displays from a properties file in the jar, possibly from the
I'd even be willing to write it and contribute it if no-one else wants to do
> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Jason Hunter
> Sent: Monday, February 23, 2004 5:37 PM
> To: Pandia, Rajesh
> Cc: 'jdom-interest at jdom.org'
> Subject: Re: [jdom-interest] org.jdom.IllegalAddException: The attribute
> already has an existi ng parent "transaction"
> Pandia, Rajesh wrote:
> > How do I know what JDOM version is installed on my machine by just
> > looking at the JAR files ?
> The manifest file within the JAR lists the version. The .class files
> also have their specific CVS version within them, available if you run
> "strings" on them.
More information about the jdom-interest