ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@binarix.com>
Subject Jikes dramas
Date Mon, 20 Aug 2001 10:53:24 GMT
The environment is Ant 1.4Beta2, RedHat Linux 7.0, Sun JDK 1.3.1, jikes
1.14 installed from the RPM and is in the path.

When I do this:

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

in my build file, I'm getting this (ant -v):

-----------------------------------------------------
    [javac] Compiling 1 source file
    [javac] Using jikes compiler
    [javac] Compilation args: jikes -classpath
/usr/local/ant/lib/optional.jar:/usr/local/ant/lib/jaxp.jar:/usr/local/ant/lib/crimson.jar:/usr/local/ant/lib/ant.jar:/usr/local/jdk/jre/lib/rt.jar:/usr/local/servletapi/lib/servlet.jar:/usr/local/jaf/activation.jar:/usr/local/javamail/mail.jar:/usr/local/jaxp/jaxp.jar:/usr/local/jaxp/crimson.jar:/usr/local/xalan/bin/xalan.jar:/usr/local/xalan/bin/xalanj1compat.jar:/usr/local/jboss/client/ejb.jar:/usr/local/jboss/client/jboss-client.jar:/usr/local/jboss/client/jbosssx-client.jar:/usr/local/jboss/client/jbossmq-client.jar:/usr/local/jboss/lib/jdbc2_0-stdext.jar:/usr/share/pgsql/jdbc.jar:/usr/local/binarix/lib/binarix.jar:/usr/local/jdk/lib/tools.jar:/usr/local/jdk1.3.1/jre/lib/rt.jar:/home/groups/devel/sites/binarix/doc/test
    [javac] File to be compiled:
    /home/groups/devel/sites/binarix/doc/test/SiteMenu.java


BUILD FAILED

/home/groups/devel/sites/binarix/build.xml:218: Compile failed, messages
should have been provided.
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:506)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:164)
        at org.apache.tools.ant.Target.performTasks(Target.java:182)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:256)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:120)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:164)
        at org.apache.tools.ant.Target.performTasks(Target.java:182)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

Total time: 24 seconds
-----------------------------------------------------

Jikes does work fine on its own and called form make. Straight javac
works OK. I have the same problem if I attempt to compile any other
project with jikes, not just my own stuff.

If I set JIKES_HOME (as per manual), jikes doesn't even get called.

I had all this working fine with one of the early Ant 1.4 alpha CVS
snapshots. Any clues?

Bojan

Mime
View raw message