ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Rickard <>
Subject Problem with Java 1.3 on AIX 4.3.3
Date Fri, 02 Mar 2001 22:27:55 GMT
Hi -
    I'm a newbie to this list and ant, just trying to get my first setup
on an AIX 4.3.3 test environment.  I have built two versions of ant-1.2
on my box, using the two available JDK's I have installed there.  The
version built with IBM JDK 1.1.8 works just fine.
    I built another version for Java 1.3.0(as some new development code
I'm working on requires the newer api), with which I am having troubles,
and I am slightly confused.  When I built with Java 1.3, I had to edit
ant's default 'build.xml' file to set the compiler type to 'modern' to
keep the build process from issuing bogus commands to the 1.3 javac.  I
have seen in the FAQ's some older entries regarding the 'modern'
compiler not being implemented yet, but this info looked old, and from
searching the current posts on the archive, it seems I should be able to
use this. Also, if the modern compiler does not work, could someone
explain to me how ant-1.2 was able to use it without problems while
building itself?
    I have verified that my path and classpath contain all necessary
items, and that my JAVA_HOME is set to the 1.30 user environment.  Here
is the output from my shell commands:

/home/srmmlm/sourcetree/srm4.6/java>echo $JAVA_HOME
/home/srmmlm/sourcetree/srm4.6/java>java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build ca130-20001124 (JIT
enabled: jitc))
/home/srmmlm/sourcetree/srm4.6/java>ant -buildfile srm4.6_build_j1.3.xml
Ant version 1.2 compiled on March 2 2001

Buildfile: srm4.6_build_j1.3.xml
Detected Java Version: 1.3
Detected OS: AIX
Project base dir set to: /home/srmmlm/sourcetree/srm4.6/java
Build sequence for target `dist' is [prepare, compile, dist]
Complete build sequence is [prepare, compile, dist, clean]
    [javac] Compiling 410 source files to
    [javac] Modern compiler is not available - using classic compiler
    [javac] Using classic compiler

I'm going to also try downloading an alpha release, and see if this
helps.  If that should be the solution, my apologies for the waste of
Any suggestions would be greatly appreciated - thanks in advance!

Scott Rickard
Lexington, Ky

View raw message