ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hanasaki JiJi <>
Subject how to pass -J option to <javac
Date Mon, 31 Mar 2003 17:45:43 GMT
any way to pass the option flag -J to the <javac task in ANT?

It is needed to use the beta of JSR14 java generics as shown in the 
below batch file for Unix that executes the new compiler.

exec ${J2SE14}/bin/javac -J-Xbootclasspath/p:${JSR14DISTR}/javac.jar 
-bootclasspath ${JSR14DISTR}/collect.jar:${J2SE14}/jre/lib/rt.jar 
-source 1.5 "$@"

View raw message