good idea! just tried it and unfortunately, i get this when i use "modern" or "javac1.4":
[javac] Modern compiler is not available - using classic compiler BUILD FAILED t:\config\Build.xml:53: Cannot use classic compiler, as it is not available A common solution is to set the environment variable JAVA_HOME to your jdk directory. it kindof looks like the problem is that the taskdefs.compilers package doesn't yet have a Javac14.java file yet. hmmm... so i just figured out a workaround... by setting fork=true on javac, it works. this must mean that the use of the "internal" compiler (within the same vm) isn't yet supported for jdk 1.4. which is fine... although rough on those of us who have slow machines... but it would be nice if it were documented somewhere more prominently. a nice big red "Note: ..." at the top of the javac taskdef would be perfect until internal compiling is supported on jdk 1.4. jon --- [EMAIL PROTECTED] wrote: > Could it not be because the classic compiler (and hence the --classic > option) is removed from JDK 1.4 ? > > With hope > Max > ----- Original Message ----- > From: "Jonathan Locke" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 15, 2002 7:27 PM > Subject: jdk 1.4 classic > > > > > > ant rocks! and love the new logo. > > > > having this little problem with jdk 1.4 though... > > > > t:\config\Build.xml:53: Cannot use classic compiler, as it is not > available A > > common solution is to set the environment variable JAVA_HOME to your jdk > > directory. > > > > my JAVA_HOME directory IS properly set. > > > > my wild guess is that jdk1.4 changed some internal detail of how > > javac is invoked that ant was depending on. > > > > anyone else seeing this problem? > > > > thanks! > > > > jon > > > > > > __________________________________________________ > > Do You Yahoo!? > > Got something to say? Say it better with Yahoo! Video Mail > > http://mail.yahoo.com > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>