This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes IBM's JIKES compiler with Ant Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "IBM Watch "IBM New topic

IBM's JIKES compiler with Ant

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 776

Does Ant work with IBM's Jikes java compiler ?


timothy zimmerman
Ranch Hand

Joined: Jun 26, 2001
Posts: 149
I believe it does. In fact, jikes is one of the compilers mentioned in the description of the javac task. To change the compiler you can set the bulid.compiler property or specify the compiler in the javac task itself.
[ August 07, 2002: Message edited by: timothy zimmerman ]
Steve Loughran
Ranch Hand

Joined: Aug 06, 2002
Posts: 37
Jikes is fantastic with ant; it really compiles fast and the new 1.16 version even understands the assert keyword of java1.4
to turn jikes on you can do it in the <javac> task or with
<property name="build.compiler" value="jikes" />
I dont like doing either as it hard codes your build file to use jikes everywhere; not everyone on the team has jikes and it is another support call when it breaks.
So instead I load in a properties file at the start of the build
<property file="" />
and in that file on *my* system, have
as one of the settings. Using a property file for per-user customisation of the build is a powerful technique you can use with all your projects, as it gives you great flexibility.
I agree. Here's the link:
subject: IBM's JIKES compiler with Ant
jQuery in Action, 3rd edition