[fedora-java] db merging script

Anthony Green green at redhat.com
Tue Mar 22 22:46:20 UTC 2005


On Tue, 2005-03-22 at 16:41 -0600, Phil Muldoon wrote:
> I think it was Tom who suggested we should have some structure below the
> location of the db location to allow for name collisions. Will the:
> 
> (cd $DB.d; ls . | xargs gcj-dbtool -m $DB)
> 
> account for 
> 
> $DB.d/foo/foo.jar.so
> 
> and 
> 
> $DB.d/bar/bar.jar.so
> 
> and so on?

No, but I think we should be using versioned names so, in theory, there
should be no collisions.

# ls -l /usr/lib/gcj-4.0.0/classmap.db.d/
total 2832
-rw-r--r--  1 root root 1441792 Mar 22 14:19 jspapi-5.0.18.db
-rw-r--r--  1 root root 1441792 Mar 22 14:19 servletapi5-5.0.18.db

BTW, I also think we should prefix the libs with "lib" and make them versioned.

# ls -l /usr/lib/libjspapi-5.0.18.jar.so
-rw-r--r--  1 root root 300642 Mar 22 14:19 /usr/lib/libjspapi-5.0.18.jar.so

This will make them usable for explicit linking, and make up a little
bit for the fact that we don't have real so name versioning. 

AG





More information about the fedora-devel-java-list mailing list