You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gregory Rouchotas <gr...@communicata.co.uk> on 2000/07/11 17:12:37 UTC
Compilation Error
Hello,
I am trying to compile tomcat 3.1 on solaris 2.7
I run the build.sh and it start compiling but at the end I get the following.
Can anyone help? Thanks in advance,
gregory
[jakarta-tomcat]:PROD>./build.sh
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:
tomcat:
BUILD FAILED
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Exception.java:42)
at java.lang.RuntimeException.<init>(RuntimeException.java:47)
at java.lang.IndexOutOfBoundsException.<init>(IndexOutOfBoundsException.java:44)
at java.lang.StringIndexOutOfBoundsException.<init>(StringIndexOutOfBoundsException.java:57)
at java.lang.String.substring(Compiled Code)
at org.apache.tools.ant.taskdefs.Rmic.shouldCompile(Compiled Code)
at org.apache.tools.ant.taskdefs.Rmic.execute(Compiled Code)
at org.apache.tools.ant.Target.execute(Compiled Code)
at org.apache.tools.ant.Project.runTarget(Project.java:708)
at org.apache.tools.ant.Project.executeTarget(Compiled Code)
at org.apache.tools.ant.Project.executeTargets(Compiled Code)
at org.apache.tools.ant.Main.runBuild(Compiled Code)
at org.apache.tools.ant.Main.main(Main.java:107)
Total time: 1 seconds
You have new mail in /var/mail/greg
[jakarta-tomcat]:PROD>./build.sh clean
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:
clean:
[Deltree] Deleting: /disk1/users/greg/sysadmin/tomcat/build/tomcat
[Deltree] Deleting: /disk1/users/greg/sysadmin/tomcat/dist/tomcat
BUILD SUCCESSFUL
Total time: 10 seconds
[jakarta-tomcat]:PROD>./build.sh
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: /disk1/users/greg/sysadmin/tomcat/build/tomcat
[Mkdir] Created dir: /disk1/users/greg/sysadmin/tomcat/build/tomcat/classes
[Mkdir] Created dir: /disk1/users/greg/sysadmin/tomcat/build/tomcat/conf
[Mkdir] Created dir: /disk1/users/greg/sysadmin/tomcat/build/tomcat/src
[Mkdir] Created dir: /disk1/users/greg/sysadmin/tomcat/build/tomcat/lib
[Mkdir] Created dir: /disk1/users/greg/sysadmin/tomcat/build/tomcat/logs
[Mkdir] Created dir: /disk1/users/greg/sysadmin/tomcat/build/tomcat/bin
[Mkdir] Created dir: /disk1/users/greg/sysadmin/tomcat/build/tomcat/doc
[Mkdir] Created dir: /disk1/users/greg/sysadmin/tomcat/build/tomcat/webapps
[Copydir] Copying 9 files to /disk1/users/greg/sysadmin/tomcat/build/tomcat/bin
[Copydir] Copying 14 files to /disk1/users/greg/sysadmin/tomcat/build/tomcat/conf
[Copydir] Copying 25 files to /disk1/users/greg/sysadmin/tomcat/build/tomcat/doc
[Mkdir] Created dir: /disk1/users/greg/sysadmin/tomcat/build/tomcat/lib/test
[Mkdir] Created dir: /disk1/users/greg/sysadmin/tomcat/build/tomcat/lib/test/Golden
[Copydir] Copying 34 files to /disk1/users/greg/sysadmin/tomcat/build/tomcat/lib/test/Golden
[Copydir] Copying 3 files to /disk1/users/greg/sysadmin/tomcat/build/tomcat/bin
tomcat:
[Javac] Compiling 260 source files to /disk1/users/greg/sysadmin/tomcat/build/tomcat/classes
[Javac] Note: /disk1/users/greg/sysadmin/tomcat/jakarta-tomcat/src/share/org/apache/tomcat/util/xml/XmlMapper.java uses or overrides a deprecated API. Recompile with "-deprecation" 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 24 support files to /disk1/users/greg/sysadmin/tomcat/build/tomcat/classes
[Javac] Compiling 82 source files to /disk1/users/greg/sysadmin/tomcat/build/tomcat/classes
[Javac] Note: 5 files use or override a deprecated API. Recompile with "-deprecation" 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 /disk1/users/greg/sysadmin/tomcat/build/tomcat/classes
BUILD FAILED
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(RuntimeException.java:47)
at java.lang.IndexOutOfBoundsException.<init>(IndexOutOfBoundsException.java:44)
at java.lang.StringIndexOutOfBoundsException.<init>(StringIndexOutOfBoundsException.java:57)
at java.lang.String.substring(Compiled Code)
at org.apache.tools.ant.taskdefs.Rmic.shouldCompile(Compiled Code)
at org.apache.tools.ant.taskdefs.Rmic.execute(Compiled Code)
at org.apache.tools.ant.Target.execute(Compiled Code)
at org.apache.tools.ant.Project.runTarget(Project.java:708)
at org.apache.tools.ant.Project.executeTarget(Compiled Code)
at org.apache.tools.ant.Project.executeTargets(Compiled Code)
at org.apache.tools.ant.Main.runBuild(Compiled Code)
at org.apache.tools.ant.Main.main(Main.java:107)
Total time: 35 seconds
[jakarta-tomcat]:PROD>