File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IBM's JIKES compiler with Ant

 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Ant work with IBM's Jikes java compiler ?
Pho
 
timothy zimmerman
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic