You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Ronald Haring <ro...@siennax.com> on 2000/07/12 16:53:20 UTC
errors building tomcat
Hi all,
I've just downloaded and tried to make a tomcat version using
build (or build dist, yes I've read the README), but I get the following
errors.
Can some-one give me a hand?
Gr
Ronald
--------------------------------------------
ELBONICS (el bon' iks) n. The actions of two people maneuvering for one
armrest in a movie theater.
E:\jakarta-tomcat>build dist
Buildfile: build.xml
[Chmod] The src attribute is deprecated. Please use the file attribute.
[Chmod] The src attribute is deprecated. Please use the file attribute.
[Chmod] The src attribute is deprecated. Please use the file attribute.
[Chmod] The src attribute is deprecated. Please use the file attribute.
[Chmod] The src attribute is deprecated. Please use the file attribute.
[Chmod] The src attribute is deprecated. Please use the file attribute.
[Chmod] The src attribute is deprecated. Please use the file attribute.
[Chmod] The src attribute is deprecated. Please use the file attribute.
[Chmod] The src attribute is deprecated. Please use the file attribute.
[Chmod] The src attribute is deprecated. Please use the file attribute.
[Chmod] The src attribute is deprecated. Please use the file attribute.
init:
prepare:
[Mkdir] Created dir: E:\build\tomcat
[Mkdir] Created dir: E:\build\tomcat\classes
[Mkdir] Created dir: E:\build\tomcat\conf
[Mkdir] Created dir: E:\build\tomcat\src
[Mkdir] Created dir: E:\build\tomcat\lib
[Mkdir] Created dir: E:\build\tomcat\logs
[Mkdir] Created dir: E:\build\tomcat\bin
[Mkdir] Created dir: E:\build\tomcat\doc
[Mkdir] Created dir: E:\build\tomcat\webapps
[Copydir] Copying 9 files to E:\build\tomcat\bin
[Copydir] Copying 14 files to E:\build\tomcat\conf
[Copydir] Copying 25 files to E:\build\tomcat\doc
[Mkdir] Created dir: E:\build\tomcat\lib\test
[Mkdir] Created dir: E:\build\tomcat\lib\test\Golden
[Copydir] Copying 34 files to E:\build\tomcat\lib\test\Golden
[Copydir] Copying 3 files to E:\build\tomcat\bin
tomcat:
[Javac] Compiling 260 source files to E:\build\tomcat\classes
[Javac] Note:
E:\jakarta-tomcat\src\share\org\apache\tomcat\util\xml\XmlMapp
er.java uses or overrides a deprecated API. Recompile with "-deprecation"
for d
etails.
[Javac] 1 warning
[Javac] The implicit copying of support files by javac has been
deprecated.
Use the copydir task to copy support files explicitly.
[Javac] Copying 24 support files to E:\build\tomcat\classes
[Javac] Compiling 82 source files to E:\build\tomcat\classes
[Javac] Note: 5 files use or override a deprecated API. Recompile with
"-de
precation" for details.
[Javac] 1 warning
[Javac] The implicit copying of support files by javac has been
deprecated.
Use the copydir task to copy support files explicitly.
[Javac] Copying 11 support files to E:\build\tomcat\classes
BUILD FAILED
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java, Compiled Code)
at org.apache.tools.ant.taskdefs.Rmic.shouldCompile(Rmic.java,
Compiled
Code)
at org.apache.tools.ant.taskdefs.Rmic.execute(Rmic.java, Compiled
Code)
at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
at org.apache.tools.ant.Project.runTarget(Project.java:708)
at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled
Cod
e)
at org.apache.tools.ant.Project.executeTargets(Project.java,
Compiled Co
de)
at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
at org.apache.tools.ant.Main.main(Main.java:107)
Total time: 1 minutes 46 seconds