Gentoo Archives: gentoo-java

From: Joshua Nichols <nichoj@g.o>
To: gentoo-java@l.g.o
Subject: [gentoo-java] Updated java-1.5-fixer
Date: Thu, 13 Apr 2006 05:25:43
Message-Id: 443DE0E7.2070401@gentoo.org
Hey folks,

I finally broke down and did some work on java-1.5-fixer, so that it
should handle most situations. This version currently available here
[1]. Normally, java-1.5-fixer gets installed by
dev-java/java-config-wrapper, but I haven't updated it yet...

Improvements:

* Checks dependencies of ant are explicitly checked
  * If packages with jars that have 1.5 bytecode are found, they are all
unmerged, then remerged
* jars to check are now deteremined from package.env files (ie
/usr/share/ant-core/package.env ), instead of just checking
/usr/share/*/lib/*.jar. This handles cases when jars are installed
somewhere else.
* Doesn't check jars that are known to have 1.5 bytecode. This currently
consists of a few jars from things available from java-experimental and
chewi-overlay.
* Overall implementation should be a bit cleaner than it was.

This might not seem like much, but it should drastically improve the
effectiveness of the script.

So... give it a try, and let me know if there are problems.

[1]
http://www.gentooexperimental.org/svn/java/java-config-wrapper/trunk/src/shell/java-1.5-fixer

- Josh
-- 
gentoo-java@g.o mailing list