SOLUTION: ANT 1.5.1 usage with JSR14 Java Generics (ok its a temp
patch)
SOLUTION: ANT 1.5.1 usage with JSR14 Java Generics (ok its a temp
patch)
2003-03-31 - By Hanasaki JiJi
OK! here are the steps
1. install the jsr14 beta and make sure it works with the makefile provided by sun 2. rename the distributed 1.4.1 compiler from "javac" to "javac.orig" 3. copy the JSR1.4 javac script over the j2se1.4.1 javac compiler 4. edit the copied batch file as below <replace "javac" with "javac.orig"> <=== NOTE: THE ANT <javac TASK IN BUILD.XML FILES WILL NEED TO HAVE FORK = "TRUE"
*** DON'T FORGET TO MAKE BACKUPS FIRST *** INCASE SOMETHING GOES WRONG ====>
===================== ORIGINAL FROM JSR14 BETA =========== exec ${J2SE14}/bin/javac -J-Xbootclasspath/p:${JSR14DISTR}/javac.jar -bootclasspath ${JSR14DISTR}/collect.jar:${J2SE14}/jre/lib/rt.jar -source 1.5 "$@"