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

Juan Bocanegra juanb96 at yahoo.com
Tue Oct 21 15:56:41 EDT 2003


You're right about the jikes compiler, I was looking at something else
when I said it wasn't supported, mainly
\ant\apache-ant-1.5.4\docs\manual\api\org\apache\tools\ant\taskdefs\Jike
s.html
which mentiones that some jikes class is not supported as of ANT 1.2--
big difference. Juan


-----Original Message-----
From: spread-users-admin at lists.spread.org
[mailto:spread-users-admin at lists.spread.org] On Behalf Of Daniel L. Rall
Sent: Tuesday, October 21, 2003 3:39 PM
To: Juan Bocanegra
Cc: spread-users at lists.spread.org
Subject: Re: [Spread-users] ANT build.xml not working for spread.3.17.1

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


_______________________________________________
Spread-users mailing list
Spread-users at lists.spread.org
http://lists.spread.org/mailman/listinfo/spread-users





More information about the Spread-users mailing list