ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arvid.Amund...@sas.no
Subject RE: Using Jikes
Date Wed, 04 Apr 2001 09:12:55 GMT
try this:

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


    <path id="jikespath">
        <pathelement path="${inpath}" />
    </path>

	<javac srcdir="${src}" destdir="${build}" includes="\*.java"
                    depend="true" debug="${debug}" optimize="${optimize}">
                <classpath refid="jikespath" />
...

In some build.bat og from comandline:
...
SET JIKESPATH=%JAVA_HOME%\jre\lib\rt.jar;%JAVA_HOME%\lib\dt.jar

if "%1" == "fast" ant -Dinpath="%JIKESPATH%" -Dfast=true -Ddebug="off"
-Doptimize="off" -quiet

...

I hope this made things a bit clearer

	Mvh. Arvid

Scandinavian IT Group
OSLVG-T/ Arvid Amundsen
* Office:	+47 6481 8278
* Mobile:	+47 911 3 66 99
* e-mail:	arvid.amundsen@sas.no


-----Original Message-----
From: Robin Ziolkowski [mailto:c-robin.ziolkowski@wcom.com]
Sent: Wednesday, April 04, 2001 01:51
To: 'Ant-User
Subject: Using Jikes


Can anyone tell me if there is a JIKES_HOME environment variable, similar to
the
JAVA_HOME environment variable, that needs to be set so that ant knows were
Jikes lives.  I have the property "build.compiler" set to "Jikes"

Every time I try to compile using Jikes I get a Nested Exception from ant.
I
think this is because it can't find Jikes.

Regards,
Robin
voice:719.535.6928
email: robin.ziolkowski@wcom.com
Access Server Development Team  < http://accessserverdev.wcomnet.com >
  _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
  _/MCIWorldcom Site Controller Development _/ < http://scdev.mcit.com>
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

 


Mime
View raw message