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 Not building under java 1.1.8
Date Mon, 01 Jul 2002 18:00:49 GMT
It seems that a whole lot of ejb stuff is getting compiled when I do 
build.sh under 1.1.8. I am assuming that this stuff isn't supposed to 
work under 1.1, but if it is it is rife with Lists, ArrayLists, 
Iterators and JarOutputStreams.

So this either needs to be excluded from 1.1 builds or fixed to be 1.1 
compliant, but which is it really?

Gus

U jakarta-ant/xdocs/stylesheets/site.vsl
U jakarta-ant/xdocs/stylesheets/templates.vm
[gus11@kestrel projects]$ cp -r jakarta-ant/ jakarta-ant-pristine
[gus11@kestrel projects]$ cd jakarta-ant
[gus11@kestrel jakarta-ant]$ ls
ant.properties.sample  CVS            LICENSE.xerces       webpage
bootstrap.bat          docs           proposal             WHATSNEW
bootstrap.sh           docs.xml       README               whiteboard
build.bat              KEYS           ReleaseInstructions  xdocs
build.sh               lib            space
build.xml              LICENSE        spec
check.xml              LICENSE.junit  src
[gus11@kestrel jakarta-ant]$ java -version
java version "1.1.8"
[gus11@kestrel jakarta-ant]$ echo $ANT_HOME

[gus11@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/gus11/projects/jakarta-ant/build/lib
Compiling 125 source files to /home/gus11/projects/jakarta-ant/build/classes
/home/gus11/projects/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/BorlandDeploymentTool.java:67:

Class java.util.Iterator not found in import.
import java.util.Iterator;
       ^
/home/gus11/projects/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java:62:

Class java.util.List not found in import.
import java.util.List;
       ^
/home/gus11/projects/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java:63:

Class java.util.Iterator not found in import.
import java.util.Iterator;
       ^
/home/gus11/projects/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java:64:

Class java.util.ArrayList not found in import.
import java.util.ArrayList;
       ^
/home/gus11/projects/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java:65:

Class java.util.jar.JarOutputStream not found in import.
import java.util.jar.JarOutputStream;
       ^
/home/gus11/projects/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java:66:

Class java.util.jar.Manifest not found in import.
import java.util.jar.Manifest;
       ^
/home/gus11/projects/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java:59:

Class java.util.List not found in import.
import java.util.List;
       ^
/home/gus11/projects/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java:60:

Class java.util.ArrayList not found in import.
import java.util.ArrayList;
       ^
/home/gus11/projects/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java:61:

Class java.util.Iterator not found in import.
import java.util.Iterator;
       ^
/home/gus11/projects/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java:144:

Class java.util.List not found in type declaration.
        public List supportFileSets = new ArrayList();
                                    ^
/home/gus11/projects/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java:144:

Class java.util.ArrayList not found in type declaration.
        public List supportFileSets = new ArrayList();
                                          ^
Note: 4 files use deprecated APIs.  Recompile with "-deprecation" for 
details.
11 errors, 1 warning

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

Total time: 1 minute 27 seconds
... Failed Building Ant Distribution !
Bootstrap FAILED
[gus11@kestrel jakarta-ant]$


--
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