tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Downey <steve.dow...@netfolio.com>
Subject RE: [GUMP] Build Failure - Tomcat 3.x
Date Tue, 24 Apr 2001 14:41:14 GMT
Index: ErrorHandler.java
===================================================================
RCS file:
/home/cvspublic/jakarta-tomcat/src/share/org/apache/tomcat/modules/generator
s/ErrorHandler.java,v
retrieving revision 1.10
diff -u -r1.10 ErrorHandler.java
--- ErrorHandler.java   2001/04/23 01:21:58     1.10
+++ ErrorHandler.java   2001/04/24 14:40:58
@@ -173,7 +173,9 @@
            errorServlet=getHandlerForPath( cm, ctx, errorPath );

            String cpath=ctx.getPath();
-           if( cpath="/")  cpath="";
+            if( cpath.equals("/") ) {
+                cpath="";
+            }

            // Make sure Jsps will work - needed if the error page is a jsp
            if ( null!=errorPath && errorPath.startsWith("/") ) {
@@ -290,7 +292,9 @@
            errorServlet=getHandlerForPath( cm, ctx, errorPath );

            String cpath=ctx.getPath();
-           if( cpath="/")  cpath="";
+            if( cpath.equals("/") ) {
+                cpath="";
+            }

            // Make sure Jsps will work - needed if the error page is a jsp
            if ( null!=errorPath && errorPath.startsWith("/") ) {

-----Original Message-----
From: Craig McClanahan [mailto:craigmcc@apache.org]
Sent: Tuesday, April 24, 2001 8:45 AM
To: tomcat-dev@jakarta.apache.org
Subject: [GUMP] Build Failure - Tomcat 3.x


----------------------------------------------------
This email is autogenerated from the output from:
<http://jakarta.apache.org/builds/gump/2001-04-24/jakarta-tomcat.html>
----------------------------------------------------

Buildfile: build.xml

detect:

msg.jdk12:
     [echo] Detected JDK1.2

msg.jsse:
     [echo] Detected JSSE

init:

prepare:
    [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat/build/tomcat
    [mkdir] Created dir:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/classes
    [mkdir] Created dir:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/conf
    [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat/build/tomcat/src
    [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib
    [mkdir] Created dir:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/apps
    [mkdir] Created dir:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/container
    [mkdir] Created dir:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/common
    [mkdir] Created dir:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/logs
    [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat/build/tomcat/bin
    [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat/build/tomcat/doc
    [mkdir] Created dir:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/webapps
    [mkdir] Created dir:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/native
     [copy] Copying 10 files to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/bin
     [copy] Copying 19 files to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/conf
     [copy] Copying 42 files to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/doc
     [copy] Copying 89 files to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/native
     [copy] Copying 1 file to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat
     [copy] Copying 7 files to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/bin
     [copy] Could not find file
/home/rubys/jakarta/jakarta-ant/dist/lib/jaxp.jar to copy.
     [copy] Could not find file
/home/rubys/jakarta/jakarta-ant/dist/lib/parser.jar to copy.
     [copy] Copying 1 file to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/container
     [copy] Copying 1 file to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/container
     [copy] Copying 1 file to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/container
     [copy] Copying 1 file to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/apps
     [copy] Copying 1 file to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/common
     [copy] Copying 1 file to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/common

tomcat_util:
    [javac] Compiling 83 source files to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
      [jar] Building jar:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/common/core_util.jar
      [jar] Building jar:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/container/tomcat_util.ja
r

tomcat.jar:
    [javac] Compiling 1 source file to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/classes
      [jar] Building jar:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/tomcat.jar

stop-tomcat.jar:
    [javac] Compiling 1 source file to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/classes
     [copy] Copying 4 files to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/classes/org/apache/tomcat/re
sources
      [jar] Building jar:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/stop-tomcat.jar

tomcat_core:
    [javac] Compiling 10 source files to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/classes
      [jar] Building jar:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/common/tomcat_core.jar

jasper:
    [javac] Compiling 82 source files to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/classes
     [copy] Copying 8 files to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/classes/org/apache/jasper
      [jar] Building jar:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/common/jasper-runtime.ja
r
      [jar] Building jar:
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/lib/container/jasper.jar

tomcat_modules:
    [javac] Compiling 39 source files to
/home/rubys/jakarta/jakarta-tomcat/build/tomcat/classes
    [javac]
/home/rubys/jakarta/jakarta-tomcat/src/share/org/apache/tomcat/modules/gener
ators/ErrorHandler.java:176: incompatible types
    [javac] found   : java.lang.String
    [javac] required: boolean
    [javac] 	    if( cpath="/")  cpath="";
    [javac]                 ^
    [javac]
/home/rubys/jakarta/jakarta-tomcat/src/share/org/apache/tomcat/modules/gener
ators/ErrorHandler.java:293: incompatible types
    [javac] found   : java.lang.String
    [javac] required: boolean
    [javac] 	    if( cpath="/")  cpath="";
    [javac]                 ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 2 errors

BUILD FAILED

/home/rubys/jakarta/jakarta-tomcat/build.xml:315: Compile failed, messages
should have been provided.

Total time: 49 seconds
<><><><><><><><><><><><><><><><><><><><><>This
electronic mail transmission
may contain confidential information and is intended only for the person(s)
named.  Any use, copying or disclosure by any other person is strictly
prohibited.  If you have received this transmission in error, please notify
the sender via e-mail. <><><><><><><><><><><><><><><><><><><><><>

Mime
View raw message