ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick (Gus) Heck" <patrick.h...@olin.edu>
Subject please reccomend a jdk for testing 1.1 compatability on linux
Date Tue, 28 May 2002 17:01:22 GMT
What 1.1 jdks are currently used to test the back compatability of ant?

I am trying to follow the advice in ant_task_guidelines.html and test a 
task I plan on submitting under java 1.1, but I have tried two different 
1.1.8 jdks from blackdown.org, and I get the following when I try to 
compile a fresh checkout of the ANT_15_BRANCH:

[gus@kestrel gus]$ uname -mprv
2.4.17-rmap12f #2 Tue Feb 26 12:53:26 EST 2002 i686 unknown
[gus@kestrel projects]$ echo $ANT_HOME

[gus@kestrel projects]$ echo $JAVA_HOME
/home/gus11/jdk118_v1
[gus@kestrel projects]$ echo $PATH
/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/usr/X11R6/bin:.:/home/gus11/jdk118_v1/bin
[gus@kestrel projects]$ java -version
java version "1.1.8"
[gus@kestrel projects]$ cd jakarta-ant
[gus@kestrel jakarta-ant]$ free
total used free shared buffers cached
Mem: 256248 195836 60412 0 21624 120676
-/+ buffers/cache: 53536 202712
Swap: 530104 0 530104
[gus@kestrel jakarta-ant]$ build.sh
... Bootstrapping Ant Distribution
... Compiling Ant Classes
Note: 14 files use deprecated APIs. Recompile with "-deprecation" for 
details. 1 warning
... Copying Required Files
... Building Ant Distribution
Buildfile: build.xml

bootstrap:

prepare:

check_for_optional_packages:

build:
Created dir: /home/gus/projects/jakarta-ant/build/lib
Compiling 125 source files to /home/gus/projects/jakarta-ant/build/classes
Note: 4 files use deprecated APIs. Recompile with "-deprecation" for 
details.
1 warning
Copying 1 file to /home/gus/projects/jakarta-ant/build/classes
Copying 2 files to /home/gus/projects/jakarta-ant/build/classes
Copying 2 files to 
/home/gus/projects/jakarta-ant/build/classes/org/apache/tools/ant/taskdefs/optional/junit/xsl

jars:
Copying 2 files to /home/gus/projects/jakarta-ant/build
Building jar: /home/gus/projects/jakarta-ant/build/lib/ant.jar
Building jar: /home/gus/projects/jakarta-ant/build/lib/optional.jar

dist-lite:
Created dir: /home/gus/projects/jakarta-ant/bootstrap
Created dir: /home/gus/projects/jakarta-ant/bootstrap/bin
Created dir: /home/gus/projects/jakarta-ant/bootstrap/lib
Copying 2 files to /home/gus/projects/jakarta-ant/bootstrap/lib
Copying 9 files to /home/gus/projects/jakarta-ant/bootstrap/bin

BUILD SUCCESSFUL
Total time: 3 minutes 33 seconds
... Cleaning Up Build Directories
... Done Bootstrapping Ant Distribution
Buildfile: build.xml

prepare:

check_for_optional_packages:

build:
Created dir: /home/gus/projects/jakarta-ant/build/classes
Compiling 401 source files to /home/gus/projects/jakarta-ant/build/classes
java.lang.OutOfMemoryError:
at java.io.BufferedReader.<init>(BufferedReader.java)
at java.io.BufferedReader.<init>(BufferedReader.java)
at sun.tools.java.ScannerInputStream.<init>(ScannerInputStream.java)
at sun.tools.java.Scanner.useInputStream(Scanner.java)
at sun.tools.java.Scanner.<init>(Scanner.java)
at sun.tools.java.Parser.<init>(Parser.java)
at sun.tools.javac.BatchParser.<init>(BatchParser.java)
at sun.tools.javac.BatchEnvironment.parseFile(BatchEnvironment.java)
at sun.tools.javac.Main.compile(Main.java)
at org.apache.tools.ant.taskdefs.compilers.Javac12.execute(Javac12.java:106)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:818)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:660)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
at org.apache.tools.ant.Project.executeTargets(Project.java:1160)
at org.apache.tools.ant.Main.runBuild(Main.java:605)
at org.apache.tools.ant.Main.start(Main.java:195)
at org.apache.tools.ant.Main.main(Main.java:234)
error: An error has occurred in the compiler; please file a bug report 
(http://java.sun.com/cgi-bin/bugreport.cgi).
1 error

BUILD FAILED
/home/gus/projects/jakarta-ant/build.xml:557: Compile failed; see the 
compiler error output for details.

Total time: 4 minutes 34 seconds


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message