Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
bootclasspath prepend and js14 java generics

bootclasspath prepend and js14 java generics

2003-03-31       - By Hanasaki JiJi
Reply:     1     2  

The JSR 14 download uses the following line, in a batch file, to
substitute in a different javac .class file when compiling.

how can ant be made to use the new compiler of jsr14 for all <javac
tags?  This wont be an issue after j2se1.5 is released.  Ant allows
specification of wich compiler via build.compiler property but there is
no value for 1.5 or the early release patch for jsr14

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

--
=================================================================
= Management is doing things right; leadership is doing the     =
=       right things.    - Peter Drucker                        =
=_______________________________________________________________=
=     http://www.sun.com/service/sunps/jdc/javacenter.pdf       =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=================================================================



©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.