[jdom-interest] jdom.jar file naming convention

James Duncan Davidson james.davidson at eng.sun.com
Mon Jun 26 18:00:34 PDT 2000


on 2000/06/23 10:40, Patrick Dowler at Patrick.Dowler at nrc.ca wrote:

> Since you can't leave both in there (who knows which one gets read first)
> the name hardly matters and a name collision from jdom.jar is actually a good
> thing... 
> 
> "overwrite jdom.jar? (y/n)"

The problem with this is "Do I currently have b5 or b6 in my directory?" --
Unwrapping the jar to find out sucks.

> When I make jar files that are non-application packages, I usually
> put a Version.class in there with a main method. Then people
> can do "java -jar myjarfile.jar" and see the version message. This
> mostly negates the need for a version number in the file name.

Interesting solution... But I really like having the ability to look at the
filesystem and tell without having to pop open a command line.

.duncan




More information about the jdom-interest mailing list