[Spread-users] ANT build.xml not working for spread.3.17.1

Daniel L. Rall dlr at finemaltcoding.com
Tue Oct 21 15:38:33 EDT 2003


Juan Bocanegra wrote:
> I was trying to use the ANT build.xml file (in \spread-src\java\) as a 
> lazy man’s way of compiling and realized there’s line in the build.xml 
> file that doesn’t belong. The line with “jikes” (i can’t remember the 
> exact line since I already deleted it).

You're referring to line 15, which defaults the Java compiler to jikes -- a 
C++ implementation originally from one of IBM's open source initiatives -- 
rather than using the slower default of javac:

         <property name="build.compiler" value="jikes"/>

You can override this by specifying a "-Dbuild.compiler=modern" on the command 
line to the "ant" script before listing any build targets (e.g. "jar").

If that line is giving you trouble, Jikes must either not be installed on your 
machine, or not be in your PATH environment variable.

> Anyway, ANT is not longer supporting code for the jikes compiler as of ANT 1.2.

This is inaccurate.  Alternate compilers have been supported for years now.

> I think the current version is a beta of 1.6 or so.

Yes, Ant 1.6 b2 was tagged recently.


- Dan





More information about the Spread-users mailing list