tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: can not build tests
Date Tue, 21 Feb 2006 06:03:42 GMT
Really [OT] for this list, but what you want is:
  ant run-tester

"Amila Suriarachchi" <amilasuriarachchi@gmail.com> wrote in message 
news:60708f4b0602202114j2580f92dxc19a3bc58cbf9600@mail.gmail.com...
hi,
following is the error I got
Buildfile: build.xml

test:
     [echo] Target: Catalina - Test ...

test:
     [echo] Target: Catalina - Test ...

flags:

flags.display:
     [echo] --- Build environment for Catalina ---
     [echo] If ${property_name} is displayed, then the property is not set)
     [echo] --- Build options ---
     [echo] full.dist=${full.dist}
     [echo] build.sysclasspath=${build.sysclasspath}
     [echo] compile.debug=on
     [echo] compile.deprecation=off
     [echo] compile.optimize=off
     [echo] --- Ant Flags ---
     [echo] <style> task available (required)=true
     [echo] --- JDK ---
     [echo] jdk.1.2.present=true
     [echo] jdk.1.3.present=true
     [echo] jdk.1.4.present=true
     [echo] --- Source Dependencies ---
     [echo] jtc.home.present=true
     [echo] --- Required Libraries ---
     [echo] beanutils.present=true
     [echo] collections.present=true
     [echo] digester.present=true
     [echo] jaxp.present=true
     [echo] jndi.present=true
     [echo] logging.present=true
     [echo] regexp.present=${regexp.present}
     [echo] --- Optional Libraries ---
     [echo] dbcp.present=true
     [echo] fileupload.present=true
     [echo] jaas.present=true
     [echo] javamail.present=${javamail.present}
     [echo] jmx.present=true
     [echo] jsse.present=true
     [echo] jta.present=${jta.present}
     [echo] junit.present=true
     [echo] lang.present=${lang.present}
     [echo] launcher.present=true
     [echo] launcher.bootstrap.present=true
     [echo] ldap.present=true
     [echo] modeler.present=true
     [echo] pool.present=true
     [echo] --- Required JARs ---
     [echo] jndi.jar.present(except JDK 1.3+)=${jndi.jar.present}
     [echo] regexp.jar.present=${regexp.jar.present}
     [echo] servlet-api.jar.present=true
     [echo] xerces2.jars.present(except JDK 1.4+)=true
     [echo] --- Optional JARs ---
     [echo] dbcp.jar.present=true
     [echo] fileupload.jar.present=true
     [echo] jaas.jar.present=${jaas.jar.present}
     [echo] javamail.jar.present=${javamail.jar.present}
     [echo] jmx.jar.present=true
     [echo] jta.jar.present=${jta.jar.present}
     [echo] junit.jar.present=true
     [echo] modeler.jar.present=true
     [echo] pool.jar.present=true
     [echo] --- Conditional compilation flags ---
     [echo] compile.dbcp=true
     [echo] compile.jaas=true
     [echo] compile.javamail=${compile.javamail}
     [echo] compile.jmx=true
     [echo] compile.jndi=true
     [echo] compile.jsse=true
     [echo] compile.jta=${compile.jta}
     [echo] compile.junit=true
     [echo] compile.ldap=true
     [echo] compile.ssi=true
     [echo] --- Distribution flags ---
     [echo] copy.dbcp.jar=true
     [echo] copy.jmx.jar=true
     [echo] copy.launcher.jars=true
     [echo] copy.logging.jar=true
     [echo] copy.modeler.jar=true
     [echo] copy.pool.jar=true

build-prepare:

copy-fileupload.jar:

copy-launcher.jars:

copy-modeler.jar:

build-static:
     [echo]  ==============building-static contents ======

build-tomcat-util:
     [echo]  --tomcat-util.home /home/amila/projects/apache-
tomcat-5.5.15-src/build/../connectors/util
     [echo]  tomcat-util.build
/home/amila/projects/apache-tomcat-5.5.15-src/build/build


detect:

build-prepare:

tomcat-util.jar:
     [echo] ----- Java-utils -----
     [echo] -- puretls.present = ${puretls.present}
     [echo] -- jsse.present = true /home/amila/share/java/jsse-1.0.3
/lib/jsse.jar
     [echo] -- commons-logging = true
     [echo] -- jmx = true /home/amila/share/java/mx4j-3.0.1/lib/mx4j.jar
     [echo] -- modeler = true /home/amila/share/java/commons-modeler-1.1
/commons-modeler.jar
     [echo] -- skip.digester = ${skip.digester}
     [echo] -- JDK14 = true
     [echo] -- JDK15 = true
     [echo] -- tomcat-jini-jar = /home/amila/projects/apache-
tomcat-5.5.15-src/build/../connectors/jk/build/lib/tomcat-jni.jar
    [javac] Compiling 94 source files to /home/amila/projects/apache-
tomcat-5.5.15-src/connectors/util/build/classes
    [javac] 
/home/amila/projects/apache-tomcat-5.5.15-src/connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java:26:
package org.apache.tomcat.jni does not exist
    [javac] import org.apache.tomcat.jni.OS;
    [javac]                              ^
    [javac] 
/home/amila/projects/apache-tomcat-5.5.15-src/connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java:27:
package org.apache.tomcat.jni does not exist
    [javac] import org.apache.tomcat.jni.Address;
    [javac]                              ^
    [javac] 
/home/amila/projects/apache-tomcat-5.5.15-src/connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java:28:
package org.apache.tomcat.jni does not exist
    [javac] import org.apache.tomcat.jni.Error;
    [javac]                              ^
    [javac] 
/home/amila/projects/apache-tomcat-5.5.15-src/connectors/util/java/org/apache/tomcat/util/net/AprEndpoint.java:29:
package org.apache.tomcat.jni does not exist

then I put the following two properties to the point where build test target
call for
test target of the container/catalina/build.xml
<property name="tomcat-util.build" value="${tomcat.build}" />
       <property name="tomcat-util.lib" value="${tomcat.build}/server/lib"
/>
then it gave following error


Buildfile: build.xml

test:
     [echo] Target: Catalina - Test ...

test:
     [echo] Target: Catalina - Test ...

flags:

flags.display:
     [echo] --- Build environment for Catalina ---
     [echo] If ${property_name} is displayed, then the property is not set)
     [echo] --- Build options ---
     [echo] full.dist=${full.dist}
     [echo] build.sysclasspath=${build.sysclasspath}
     [echo] compile.debug=on
     [echo] compile.deprecation=off
     [echo] compile.optimize=off
     [echo] --- Ant Flags ---
     [echo] <style> task available (required)=true
     [echo] --- JDK ---
     [echo] jdk.1.2.present=true
     [echo] jdk.1.3.present=true
     [echo] jdk.1.4.present=true
     [echo] --- Source Dependencies ---
     [echo] jtc.home.present=true
     [echo] --- Required Libraries ---
     [echo] beanutils.present=true
     [echo] collections.present=true
     [echo] digester.present=true
     [echo] jaxp.present=true
     [echo] jndi.present=true
     [echo] logging.present=true
     [echo] regexp.present=${regexp.present}
     [echo] --- Optional Libraries ---
     [echo] dbcp.present=true
     [echo] fileupload.present=true
     [echo] jaas.present=true
     [echo] javamail.present=${javamail.present}
     [echo] jmx.present=true
     [echo] jsse.present=true
     [echo] jta.present=${jta.present}
     [echo] junit.present=true
     [echo] lang.present=${lang.present}
     [echo] launcher.present=true
     [echo] launcher.bootstrap.present=true
     [echo] ldap.present=true
     [echo] modeler.present=true
     [echo] pool.present=true
     [echo] --- Required JARs ---
     [echo] jndi.jar.present(except JDK 1.3+)=${jndi.jar.present}
     [echo] regexp.jar.present=${regexp.jar.present}
     [echo] servlet-api.jar.present=true
     [echo] xerces2.jars.present(except JDK 1.4+)=true
     [echo] --- Optional JARs ---
     [echo] dbcp.jar.present=true
     [echo] fileupload.jar.present=true
     [echo] jaas.jar.present=${jaas.jar.present}
     [echo] javamail.jar.present=${javamail.jar.present}
     [echo] jmx.jar.present=true
     [echo] jta.jar.present=${jta.jar.present}
     [echo] junit.jar.present=true
     [echo] modeler.jar.present=true
     [echo] pool.jar.present=true
     [echo] --- Conditional compilation flags ---
     [echo] compile.dbcp=true
     [echo] compile.jaas=true
     [echo] compile.javamail=${compile.javamail}
     [echo] compile.jmx=true
     [echo] compile.jndi=true
     [echo] compile.jsse=true
     [echo] compile.jta=${compile.jta}
     [echo] compile.junit=true
     [echo] compile.ldap=true
     [echo] compile.ssi=true
     [echo] --- Distribution flags ---
     [echo] copy.dbcp.jar=true
     [echo] copy.jmx.jar=true
     [echo] copy.launcher.jars=true
     [echo] copy.logging.jar=true
     [echo] copy.modeler.jar=true
     [echo] copy.pool.jar=true

build-prepare:

copy-fileupload.jar:

copy-launcher.jars:

copy-modeler.jar:

build-static:
     [echo]  ==============building-static contents ======

build-tomcat-util:
     [echo]  --tomcat-util.home /home/amila/projects/apache-
tomcat-5.5.15-src/build/../connectors/util
     [echo]  tomcat-util.build
/home/amila/projects/apache-tomcat-5.5.15-src/build/build


detect:

build-prepare:

tomcat-util.jar:
     [echo] ----- Java-utils -----
     [echo] -- puretls.present = ${puretls.present}
     [echo] -- jsse.present = true /home/amila/share/java/jsse-1.0.3
/lib/jsse.jar
     [echo] -- commons-logging = true
     [echo] -- jmx = true /home/amila/share/java/mx4j-3.0.1/lib/mx4j.jar
     [echo] -- modeler = true /home/amila/share/java/commons-modeler-1.1
/commons-modeler.jar
     [echo] -- skip.digester = ${skip.digester}
     [echo] -- JDK14 = true
     [echo] -- JDK15 = true
     [echo] -- tomcat-jini-jar = /home/amila/projects/apache-
tomcat-5.5.15-src/build/../connectors/jk/build/lib/tomcat-jni.jar

build-main:

build-catalina-core:
    [javac] Compiling 318 source files to /home/amila/projects/apache-
tomcat-5.5.15-src/container/build/server/classes
    [javac] 
/home/amila/projects/apache-tomcat-5.5.15-src/container/catalina/src/share/org/apache/catalina/connector/Request.java:56:
package org.apache.coyote does not exist
    [javac] import org.apache.coyote.ActionCode;
    [javac]                          ^
    [javac] 
/home/amila/projects/apache-tomcat-5.5.15-src/container/catalina/src/share/org/apache/catalina/connector/Request.java:110:
package org.apache.coyote does not exist
    [javac]     protected org.apache.coyote.Request coyoteRequest;
    [javac]                                ^
    [javac] 
/home/amila/projects/apache-tomcat-5.5.15-src/container/catalina/src/share/org/apache/catalina/connector/Request.java:117:
package org.apache.coyote does not exist
    [javac]     public void
setCoyoteRequest(org.apache.coyote.RequestcoyoteRequest) {
    [javac]                                                   ^
    [javac] 
/home/amila/projects/apache-tomcat-5.5.15-src/container/catalina/src/share/org/apache/catalina/connector/Request.java:125:
package org.apache.coyote does not exist
    [javac]     public org.apache.coyote.Request getCoyoteRequest() {
    [javac]                             ^
    [javac] 
/home/amila/projects/apache-tomcat-5.5.15-src/container/catalina/src/share/org/apache/catalina/connector/InputBuffer.java:27:
package org.apache.coyote does not exist
    [javac] import org.apache.coyote.Request;
    [javac]                          ^
    [javac] 
/home/amila/projects/apache-tomcat-5.5.15-src/container/catalina/src/share/org/apache/catalina/connector/Connector.java:40:
package org.apache.coyote does not exist
    [javac] import org.apache.coyote.Adapter;

Actually I want to know following things
1. Are these ant scripts (parts to run test cases) are still valid?
2. if so how to run them?
3. what is the testing procedure follows when releasing a new tomcat build?

thankx,
amila.




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message