[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: The evils of /usr/share/java/repository



Ben Burton wrote:


Currently the java libraries I package are in the form of:

/usr/share/java/foo-version.jar
/usr/share/java/foo.jar -> foo-version.jar


This is the most sensible choice - it works well for /lib, /usr/lib
so it should would well for jars.

The other problem with just having a repository directory is that
java's versioning mechanism is at the jar level.  You can't ask
a class file for it's version, so I can see repositories becoming
a nightmare mixture of new, aging and old classfiles.  Old classes
may never get deleted from it?!?!? (OK if everything is a deb....).

cheers




--
Greg Wilkins<gregw@mortbay.com>          GB  Phone: +44-(0)7092063462
Mort Bay Consulting Australia and UK.    Mbl Phone: +61-(0)4 17786631
http://www.mortbay.com                   AU  Phone: +61-(0)2 98107029



Reply to: