xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GOMEZ Henri" <hgo...@slib.fr>
Subject RE: version numbers in jars
Date Thu, 21 Feb 2002 18:27:13 GMT
>Alas, this doesn't work in Windows environments....

Yes, that's sad, fortunatly you could still do a copy ;)

copy c:\java\log4j-1.1.3.jar c:\java\log4j.jar 
 
log4j 1.2 is out :
 
del c:\java\log4j.jar 
copy c:\java\log4j-1.2.jar c:\java\log4j.jar 

dir c:\java\log4j*.jar let you determine which
.jar is in use ;)

>> -----Original Message-----
>> From: GOMEZ Henri [mailto:hgomez@slib.fr]
>> Sent: Thursday, February 21, 2002 11:46 AM
>> To: general@xml.apache.org
>> 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:     webmaster@xml.apache.org
>> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
>> For additional commands, e-mail: general-help@xml.apache.org
>> 
>
>---------------------------------------------------------------------
>In case of troubles, e-mail:     webmaster@xml.apache.org
>To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
>For additional commands, e-mail: general-help@xml.apache.org
>
>

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message