Phase 1 (can be concurrent with Phase 2) Prereqs: everyone in java herd agrees on plan 1) bring over new java.eclass and jdk's and jre's - we should be able to just drop the in place of existing ones for stable and testing, but would need to do version bumps to make sure users get the new style env files. 2) bring over new java-config, javatoolkit - This seems to be backward compatible for most purposes. should check for old style configs and die bitterly if they are around NOTE: this may break a few packages. This happens because we've introduced wrapper scripts at /usr/bin/{java,javac,etc}. The problem is that some packages might try to be smart, and try to figure out JAVA_HOME from the location of java. ---------------------------------------- Phase 2 (can be concurrent with Phase 1): Prereqs: everyone in java herd agrees on plan 1) bring over new java-utils.eclass - ensure packages which use it will continue work - don't bring over (because they need stable java-config) get-source/target, or anything that uses them new is-vm-version-sufficient and anything that uses them dolauncher java-pkg_die java-pkg_need 2) add new skeleton implementations of new eclasses: java-ant, java-pkg-opt: - for now should both inherit java-pkg and java-utils - ant_src_unpack for java-ant, and make all ant-based ebuilds use it 3) Implement skelton ejavac and eant in java-utils - should only call ant/javac - push back -source/-target stuff till - Update all ebuilds to use these instead of javac/ant 4) migrate junit use flag to test use flag, and perform tests in src_test 5) remove jikes use flag - should also put java-pkg_filter-compiler on things that are known not to - filter jikes on things that are known not to like jikes ------------------------------------------- Phase 3 Prereqs: Phase 1 and 2, java-config and javatoolkit have been marked stable everywhere 1) Migrate everything from java-utils that was dropped during Phase 2 Migrate real implemenation of ejavac, ie add appropriate -source/-target Migrate dolauncher support Migrate java-pkg_need / virtuals 1) Migrate rewriting build.xml's to java-ant ------------------------------------------- Phase 4: Prereqs: Phase 3, a version of portage has been marked stable on all platforms that have and use java 1) Migrate merge-time vm switching 2) Migrate java-pkg_die ----------------------------------------