Does Ant work with IBM's Jikes java compiler ? Pho
Regards,
Pho
timothy zimmerman
Ranch Hand
Joined: Jun 26, 2001
Posts: 149
posted
0
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
posted
0
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.