You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Patrick (Gus) Heck" <pa...@olin.edu> on 2002/07/01 20:00:49 UTC
Not building under java 1.1.8
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Not building under java 1.1.8
Posted by Bruce Atherton <br...@callenish.com>.
At 02:00 PM 7/1/2002 -0400, Patrick (Gus) Heck wrote:
>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.
This was the problem I mentioned in a previous message
(http://marc.theaimsgroup.com/?l=ant-dev&m=102529281225967&w=2). It should
now be fixed in the 1.5 branch (my first commit). Try it and report back if
you still have problems.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>