A big +1 to adding version numbers to jar names

In Windows, I never preset my classpath: I have a simple batch file for each
project/codebase which uses the jars in the lib in my development tree to
set the correct and minimum classpath for my current work.
Otherwise, you'd have to update all code simultaneously when you need to
change one.
Never looked back, had a continual nightmare with fixed classpaths.



-----Original Message-----
From: Glen Daniels [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 5:03 PM
To: '[EMAIL PROTECTED]'
Subject: RE: version numbers in jars



Alas, this doesn't work in Windows environments....

> -----Original Message-----
> From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 21, 2002 11:46 AM
> To: [EMAIL PROTECTED]
> Subject: RE: version numbers in jars
>
>
> >Oh, I misunderstood what you were wanting.
> >
> >A big -1 to naming all jars with version #s.  I can't think of
> >a bigger pain in the keister than having to revamp my
> >classpath settings every time a library revs.
>
> Easy, just use symlinks :)
>
> ln -s /usr/share/java/log4j-1.1.3.jar /usr/share/java/log4j.jar
>
> log4j 1.2 is out :
>
> rm -f usr/share/java/log4j.jar
> ln -s /usr/share/java/log4j-1.2.jar /usr/share/java/log4j.jar
>
> Apps will use in CLASSPATH /usr/share/java/log4j.jar :)
>
> >I could see heading down a road where all the Apache jars do
> >programatic(sp?) version information the same way, but I would
> >rather not make that via the filename.
>
> For example exolab use this naming :
>
> castor-0.9.3.9.jar
> tyrex-0.9.7.0.jar
> ...
>
>
>
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     [EMAIL PROTECTED]
> To unsubscribe, e-mail:          [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

---------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to