You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jeff Trent <jt...@structsoft.com> on 2001/05/22 16:16:17 UTC

How can I get Ant to use jikes for javac tags instead of sun's javac?

I'd like:
    <javac srcdir="src" destdir="${deploy.home}/WEB-INF/classes"
           classpath="${deploy.home}/WEB-INF/classes"
           debug="on" optimize="off" deprecation="off"/>

to use jikes instead.  Has anyone done this?

RE: How can I get Ant to use jikes for javac tags instead of sun's javac?

Posted by Martin van den Bemt <mv...@mvdb.com>.
Hi, it's a bit off topic here, but an answer anyway..

Snapshot from the documentation :

It is possible to use different compilers. This can be selected with the
"build.compiler" property. There are four choices:
classic (the standard compiler of JDK 1.1/1.2)
modern (the new compiler of JDK 1.3)
jikes (the Jikes compiler)
jvc (the Command-Line Compiler from Microsoft's SDK for Java / Visual J++)


-----Original Message-----
From: Jeff Trent [mailto:jtrent@structsoft.com]
Sent: Tuesday, May 22, 2001 4:16 PM
To: tomcat-user@jakarta.apache.org
Subject: How can I get Ant to use jikes for javac tags instead of sun's
javac?


I'd like:
    <javac srcdir="src" destdir="${deploy.home}/WEB-INF/classes"
           classpath="${deploy.home}/WEB-INF/classes"
           debug="on" optimize="off" deprecation="off"/>

to use jikes instead.  Has anyone done this?