File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "IBM Watch "IBM New topic
Author

IBM's JIKES compiler with Ant

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 761

Does Ant work with IBM's Jikes java compiler ?
Pho


Regards,

Pho
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="build.properties" />
and in that file on *my* system, have
build.compiler=jikes
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: http://aspose.com/file-tools
 
subject: IBM's JIKES compiler with Ant