Author: ptahchiev Date: Wed Oct 31 06:33:07 2007 New Revision: 590663 URL: http://svn.apache.org/viewvc?rev=590663&view=rev Log: sample test cactus application for testing purposes
Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/.classpath jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/.project jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/bin/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/bin/org/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/bin/org/apache/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/bin/org/apache/cactus/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/bin/org/apache/cactus/servlet/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/bin/org/apache/cactus/servlet/SampleServlet.class (with props) jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/bin/org/apache/test/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/bin/org/apache/test/TestSampleServlet.class (with props) jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/build.properties jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/build.xml jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/kate jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/logs/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/logs/cargo.log jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/logs/output.log (with props) jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/pom.xml jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/project.xml jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/apache/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/apache/cactus/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/apache/cactus/servlet/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/apache/cactus/servlet/SampleServlet.java jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/apache/test/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/apache/test/TestSampleServlet.java jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/webapp/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/webapp/WEB-INF/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/webapp/WEB-INF/web.xml jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/.classpath jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/.project jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/build.properties jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/build.xml jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/out.txt jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/pom.xml jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/project.xml jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/testCactus-cactified.war (with props) jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/testCactus.war (with props) Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/.classpath URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/.classpath?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/.classpath (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/.classpath Wed Oct 31 06:33:07 2007 @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.2/servlet-api-2.2.jar"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="var" path="M2_REPO/org/apache/cactus/javaEE-14-uberjar/1.18-SNAPSHOT/javaEE-14-uberjar-1.18-SNAPSHOT.jar"/> + <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.2/junit-3.8.2.jar"/> + <classpathentry kind="output" path="bin"/> +</classpath> Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/.project URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/.project?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/.project (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/.project Wed Oct 31 06:33:07 2007 @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>TestCactus</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/bin/org/apache/cactus/servlet/SampleServlet.class URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/bin/org/apache/cactus/servlet/SampleServlet.class?rev=590663&view=auto ============================================================================== Binary file - no diff available. Propchange: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/bin/org/apache/cactus/servlet/SampleServlet.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/bin/org/apache/test/TestSampleServlet.class URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/bin/org/apache/test/TestSampleServlet.class?rev=590663&view=auto ============================================================================== Binary file - no diff available. Propchange: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/bin/org/apache/test/TestSampleServlet.class ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/build.properties URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/build.properties?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/build.properties (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/build.properties Wed Oct 31 06:33:07 2007 @@ -0,0 +1 @@ +cactus.home.tomcat4x=/home/peter/bin/apache/apache-tomcat-4.1.36 \ No newline at end of file Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/build.xml URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/build.xml?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/build.xml (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/build.xml Wed Oct 31 06:33:07 2007 @@ -0,0 +1,116 @@ +<project name="TestCactus" basedir="." default="all"> + + <target name="init" depends=""> + <property name="build.dir" location="${basedir}/build"/> + <property name="src.dir" location="${basedir}/src/main/java/"/> + <property name="test.war" value="testCactus.war"/> + <property name="test.war.cactified" value="testCactus-cactified.war"/> + <property name="test.reports.dir" location="reports/"/> + <property name="tomcat5x.home" location="C:\apache\tomcat\apache-tomcat-6.0.14\"/> + <property name="logs.dir" location="logs"/> + + <property name="maven.repo" location="C:\Documents and Settings\tahchiev\.m2\repository"/> + + <path id="compile.cp"> + <fileset dir="${maven.repo}/javax/servlet/servlet-api/2.5"> + <include name="servlet-api-2.5.jar"/> + </fileset> + </path> + + + <!-- HERE COMES THE CACTUS CLASSPATH--> + + + + <path id="cactus.classpath"> + <path refid="compile.cp"/> + <pathelement location="${maven.repo}/aspectj/aspectjrt/1.5.2a/aspectjrt-1.5.2a.jar"/> + <pathelement location="${maven.repo}/org/apache/cactus/javaEE-14-uberjar/1.18-SNAPSHOT/javaEE-14-uberjar-1.18-SNAPSHOT.jar"/> + <pathelement location="${maven.repo}/org/apache/cactus/integration-ant/1.18-SNAPSHOT/integration-ant-1.18-SNAPSHOT.jar"/> + <pathelement location="${maven.repo}/commons-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.jar"/> + <pathelement location="${maven.repo}/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"/> + <pathelement location="${maven.repo}/org/codehaus/cargo/cargo-core-uberjar/0.9/cargo-core-uberjar-0.9.jar"/> + <pathelement location="${maven.repo}/org/apache/cactus/integration-shared-api/1.18-SNAPSHOT/integration-shared-api-1.18-SNAPSHOT.jar"/> + <pathelement location="${maven.repo}/junit/junit/3.8.2/junit-3.8.2.jar"/> + <pathelement location="${maven.repo}/org/codehaus/cargo/cargo-ant/0.9/cargo-ant-0.9.jar"/> + </path> + + + <taskdef resource="cactus.tasks" + classpathref="cactus.classpath"> + </taskdef> + + <taskdef resource="cargo.tasks"> + <classpath> + <pathelement location="${mavn.repo}/org/codehaus/cargo/cargo-ant/0.9/cargo-ant-0.9.jar"/> + </classpath> + </taskdef> + + + </target> + + <target name="prepare" depends="init"> + <mkdir dir="${build.dir}"/> + <mkdir dir="${logs.dir}"/> + </target> + + <target name="compile" depends="init,prepare"> + <javac srcdir="${src.dir}" destdir="${build.dir}" classpathref="cactus.classpath"/> + </target> + + <target name="package" depends="init,prepare,compile"> + <war destfile="${test.war}" webxml="src/main/webapp/WEB-INF/web.xml"> + <classes dir="${build.dir}"/> + <fileset dir="${build.dir}"> + <include name="**/*.*"/> + </fileset> + </war> + </target> + + <target name="clean" depends="init"> + <delete dir="${build.dir}"/> + <delete file="testCactus.war"/> + <delete file="testCactus-cactified.war"/> + <delete dir="target"/> + </target> + + <target name="all" depends="init, compile, package"/> + + + <!-- NOW HERE COMES THE NEW CACTUS TASKS --> + + <target name="test.prepare" depends="init, compile, package"> + + <!-- Cactify the web-app archive --> + <cactifywar srcfile="testCactus.war" + destfile="${test.war.cactified}"/> + + </target> + + <target name="run.tests" depends="test.prepare"> + + <cactus warfile="${test.war.cactified}" + printsummary="yes"> + <classpath> + <path refid="cactus.classpath"/> + <pathelement location="${build.dir}"/> + </classpath> + <containerset> + <cargo containerId="tomcat5x" home="${tomcat5x.home}" output="${logs.dir}/output.log" + log="${logs.dir}/cargo.log"> + <configuration> + <property name="cargo.servlet.port" value="8080"/> + <property name="cargo.logging" value="high"/> + <deployable type="war" file="${test.war.cactified}"/> + </configuration> + </cargo> + </containerset> + <formatter type="xml"/> + <batchtest> + <fileset dir="${src.dir}"> + <include name="**/Test*.java"/> + </fileset> + </batchtest> + </cactus> + </target> +</project> Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/kate URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/kate?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/kate (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/kate Wed Oct 31 06:33:07 2007 @@ -0,0 +1 @@ +/usr/bin/starthidd.sh Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/logs/cargo.log URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/logs/cargo.log?rev=590663&view=auto ============================================================================== (empty) Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/logs/output.log URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/logs/output.log?rev=590663&view=auto ============================================================================== Binary file - no diff available. Propchange: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/logs/output.log ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/pom.xml URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/pom.xml?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/pom.xml (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/pom.xml Wed Oct 31 06:33:07 2007 @@ -0,0 +1,61 @@ +<?xml version="1.0"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.cactus</groupId> + <artifactId>test</artifactId> + <version>0.1-SNAPSHOT</version> + <packaging>war</packaging> + <build> + <plugins> + <plugin> + <groupId>org.apache.cactus.integration.m2</groupId> + <artifactId>cactus-m2-plugin</artifactId> + <version>1.0-SNAPSHOT</version> + <executions> + <execution> + <phase>compile</phase> + <goals> + <goal>cactifywar</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>2.3</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.2</version> + </dependency> + <dependency> + <groupId>org.apache.cactus</groupId> + <artifactId>javaEE-14-uberjar</artifactId> + <version>1.18-SNAPSHOT</version> + </dependency> + </dependencies> +</project> Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/project.xml URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/project.xml?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/project.xml (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/project.xml Wed Oct 31 06:33:07 2007 @@ -0,0 +1 @@ + Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/apache/cactus/servlet/SampleServlet.java URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/apache/cactus/servlet/SampleServlet.java?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/apache/cactus/servlet/SampleServlet.java (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/apache/cactus/servlet/SampleServlet.java Wed Oct 31 06:33:07 2007 @@ -0,0 +1,10 @@ +package org.apache.cactus.servlet; + +import javax.servlet.http.*; + +public class SampleServlet extends HttpServlet { + + public String getServletName() { + return "SampleServlet"; + } +} Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/apache/test/TestSampleServlet.java URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/apache/test/TestSampleServlet.java?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/apache/test/TestSampleServlet.java (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/java/org/apache/test/TestSampleServlet.java Wed Oct 31 06:33:07 2007 @@ -0,0 +1,14 @@ +package org.apache.test; + +import org.apache.cactus.ServletTestCase; +import org.apache.cactus.servlet.SampleServlet; + +public class TestSampleServlet extends ServletTestCase { + + public void testGetServletName() + { + SampleServlet servlet = new SampleServlet(); + assertEquals("SampleServlet", servlet.getServletName()); + } + +} Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/webapp/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/webapp/WEB-INF/web.xml?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/webapp/WEB-INF/web.xml (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/src/main/webapp/WEB-INF/web.xml Wed Oct 31 06:33:07 2007 @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> + +<!DOCTYPE web-app + PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" + "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> + +<web-app> + + <servlet> + <servlet-name>SampleServlet</servlet-name> + <servlet-class>org.apache.cactus.servlet.SampleServlet</servlet-class> + </servlet> + + <servlet> + <servlet-name>TestSampleServlet</servlet-name> + <servlet-class>org.apache.test.TestSampleServlet</servlet-class> + </servlet> + + <servlet-mapping> + <servlet-name>SampleServlet</servlet-name> + <url-pattern>/SampleServlet</url-pattern> + </servlet-mapping> + + <servlet-mapping> + <servlet-name>TestSampleServlet</servlet-name> + <url-pattern>/TestSampleServlet</url-pattern> + </servlet-mapping> + +</web-app> Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/.classpath URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/.classpath?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/.classpath (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/.classpath Wed Oct 31 06:33:07 2007 @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.2/servlet-api-2.2.jar"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="var" path="M2_REPO/org/apache/cactus/javaEE-14-uberjar/1.18-SNAPSHOT/javaEE-14-uberjar-1.18-SNAPSHOT.jar"/> + <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.2/junit-3.8.2.jar"/> + <classpathentry kind="output" path="bin"/> +</classpath> Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/.project URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/.project?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/.project (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/.project Wed Oct 31 06:33:07 2007 @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>TestCactus</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> +</projectDescription> Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/build.properties URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/build.properties?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/build.properties (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/build.properties Wed Oct 31 06:33:07 2007 @@ -0,0 +1 @@ +cactus.home.tomcat4x=/home/peter/bin/apache/apache-tomcat-4.1.36 \ No newline at end of file Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/build.xml URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/build.xml?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/build.xml (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/build.xml Wed Oct 31 06:33:07 2007 @@ -0,0 +1,116 @@ +<project name="TestCactus" basedir="." default="all"> + + <target name="init" depends=""> + <property name="build.dir" location="${basedir}/build"/> + <property name="src.dir" location="${basedir}/src"/> + <property name="test.war" value="testCactus.war"/> + <property name="test.war.cactified" value="testCactus-cactified.war"/> + <property name="test.reports.dir" location="reports/"/> + <property name="tomcat5x.home" location="/home/peter/bin/apache/jakarta-tomcat-5.0.28/"/> + <property name="logs.dir" location="logs"/> + + <property name="maven.repo" location="/home/peter/.m2/repository"/> + + <path id="compile.cp"> + <fileset dir="${maven.repo}/javax/servlet/servlet-api/2.5"> + <include name="servlet-api-2.5.jar"/> + </fileset> + </path> + + + <!-- HERE COMES THE CACTUS CLASSPATH--> + + + + <path id="cactus.classpath"> + <path refid="compile.cp"/> + <pathelement location="${maven.repo}/aspectj/aspectjrt/1.5.2a/aspectjrt-1.5.2a.jar"/> + <pathelement location="${maven.repo}/org/apache/cactus/javaEE-14-uberjar/1.18-SNAPSHOT/javaEE-14-uberjar-1.18-SNAPSHOT.jar"/> + <pathelement location="${maven.repo}/org/apache/cactus/integration-ant/1.18-SNAPSHOT/integration-ant-1.18-SNAPSHOT.jar"/> + <pathelement location="${maven.repo}/commons-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.jar"/> + <pathelement location="${maven.repo}/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar"/> + <pathelement location="${maven.repo}/org/codehaus/cargo/cargo-core-uberjar/0.9/cargo-core-uberjar-0.9.jar"/> + <pathelement location="${maven.repo}/org/apache/cactus/integration-shared-api/1.18-SNAPSHOT/integration-shared-api-1.18-SNAPSHOT.jar"/> + <pathelement location="${maven.repo}/junit/junit/3.8.2/junit-3.8.2.jar"/> + <pathelement location="${maven.repo}/org/codehaus/cargo/cargo-ant/0.9/cargo-ant-0.9.jar"/> + </path> + + + <taskdef resource="cactus.tasks" + classpathref="cactus.classpath"> + </taskdef> + + <taskdef resource="cargo.tasks"> + <classpath> + <pathelement location="${mavn.repo}/org/codehaus/cargo/cargo-ant/0.9/cargo-ant-0.9.jar"/> + </classpath> + </taskdef> + + + </target> + + <target name="prepare" depends="init"> + <mkdir dir="${build.dir}"/> + <mkdir dir="${logs.dir}"/> + </target> + + <target name="compile" depends="init,prepare"> + <javac srcdir="${src.dir}" destdir="${build.dir}" classpathref="cactus.classpath"/> + </target> + + <target name="package" depends="init,prepare,compile"> + <war destfile="${test.war}" webxml="metadata/web.xml"> + <classes dir="${build.dir}"/> + <fileset dir="${build.dir}"> + <include name="**/*.*"/> + </fileset> + </war> + </target> + + <target name="clean" depends="init"> + <delete dir="${build.dir}"/> + <delete file="testCactus.war"/> + <delete file="testCactus-cactified.war"/> + <delete dir="target"/> + </target> + + <target name="all" depends="init, compile, package"/> + + + <!-- NOW HERE COMES THE NEW CACTUS TASKS --> + + <target name="test.prepare" depends="init, compile, package"> + + <!-- Cactify the web-app archive --> + <cactifywar srcfile="testCactus.war" + destfile="${test.war.cactified}"/> + + </target> + + <target name="run.tests" depends="test.prepare"> + + <cactus warfile="${test.war.cactified}" + printsummary="yes"> + <classpath> + <path refid="cactus.classpath"/> + <pathelement location="${build.dir}"/> + </classpath> + <containerset> + <cargo containerId="tomcat5x" home="${tomcat5x.home}" output="${logs.dir}/output.log" + log="${logs.dir}/cargo.log"> + <configuration> + <property name="cargo.servlet.port" value="8080"/> + <property name="cargo.logging" value="high"/> + <deployable type="war" file="${test.war.cactified}"/> + </configuration> + </cargo> + </containerset> + <formatter type="xml"/> + <batchtest> + <fileset dir="${src.dir}"> + <include name="**/Test*.java"/> + </fileset> + </batchtest> + </cactus> + </target> +</project> \ No newline at end of file Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/out.txt URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/out.txt?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/out.txt (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/out.txt Wed Oct 31 06:33:07 2007 @@ -0,0 +1,112 @@ +Apache Ant version 1.7.1alpha compiled on September 8 2007 +Buildfile: build.xml +Detected Java version: 1.5 in: /usr/local/jdk1.5.0_12/jre +Detected OS: Linux +parsing buildfile /home/peter/bin/workspace/TestCactus/build.xml with URI = file:/home/peter/bin/workspace/TestCactus/build.xml +Project base dir set to: /home/peter/bin/workspace/TestCactus +Build sequence for target(s) `run.tests' is [init, prepare, compile, package, test.prepare, run.tests] +Complete build sequence is [init, prepare, compile, package, test.prepare, run.tests, clean, all, ] + +init: +parsing buildfile jar:file:/home/peter/bin/apache/apache-ant-svn/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/home/peter/bin/apache/apache-ant-svn/lib/ant.jar!/org/apache/tools/ant/antlib.xml +Property "mavn.repo" has not been set +dropping /home/peter/bin/workspace/TestCactus/${mavn.repo}/org/codehaus/cargo/cargo-ant/0.9/cargo-ant-0.9.jar from path as it doesn't exist + [taskdef] Could not load definitions from resource cargo.tasks. It could not be found. + +prepare: + [mkdir] Skipping /home/peter/bin/workspace/TestCactus/build because it already exists. + [mkdir] Skipping /home/peter/bin/workspace/TestCactus/logs because it already exists. + +compile: + [javac] org/apache/cactus/servlet/SampleServlet.java omitted as /home/peter/bin/workspace/TestCactus/build/org/apache/cactus/servlet/SampleServlet.class is up to date. + [javac] org/apache/test/TestSampleServlet.java omitted as /home/peter/bin/workspace/TestCactus/build/org/apache/test/TestSampleServlet.class is up to date. + +package: + [war] web.xml omitted as /home/peter/bin/workspace/TestCactus/testCactus.war:WEB-INF/web.xml is up to date. + [war] omitted as /home/peter/bin/workspace/TestCactus/testCactus.war:WEB-INF/classes/ is up to date. + [war] org omitted as /home/peter/bin/workspace/TestCactus/testCactus.war:WEB-INF/classes/org/ is up to date. + [war] org/apache omitted as /home/peter/bin/workspace/TestCactus/testCactus.war:WEB-INF/classes/org/apache/ is up to date. + [war] org/apache/cactus omitted as /home/peter/bin/workspace/TestCactus/testCactus.war:WEB-INF/classes/org/apache/cactus/ is up to date. + [war] org/apache/cactus/servlet omitted as /home/peter/bin/workspace/TestCactus/testCactus.war:WEB-INF/classes/org/apache/cactus/servlet/ is up to date. + [war] org/apache/test omitted as /home/peter/bin/workspace/TestCactus/testCactus.war:WEB-INF/classes/org/apache/test/ is up to date. + [war] org/apache/cactus/servlet/SampleServlet.class omitted as /home/peter/bin/workspace/TestCactus/testCactus.war:WEB-INF/classes/org/apache/cactus/servlet/SampleServlet.class is up to date. + [war] org/apache/test/TestSampleServlet.class omitted as /home/peter/bin/workspace/TestCactus/testCactus.war:WEB-INF/classes/org/apache/test/TestSampleServlet.class is up to date. + [war] org/apache/cactus/servlet/SampleServlet.class omitted as /home/peter/bin/workspace/TestCactus/testCactus.war:org/apache/cactus/servlet/SampleServlet.class is up to date. + [war] org/apache/test/TestSampleServlet.class omitted as /home/peter/bin/workspace/TestCactus/testCactus.war:org/apache/test/TestSampleServlet.class is up to date. + [war] No Implementation-Title set.No Implementation-Version set.No Implementation-Vendor set. + [war] Location: /home/peter/bin/workspace/TestCactus/build.xml:65: + +test.prepare: +[cactifywar] Analyzing war: /home/peter/bin/workspace/TestCactus/testCactus.war +[cactifywar] META-INF/ omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:META-INF/ is up to date. +[cactifywar] WEB-INF/ omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:WEB-INF/ is up to date. +[cactifywar] WEB-INF/classes/ omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:WEB-INF/classes/ is up to date. +[cactifywar] WEB-INF/classes/org/ omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:WEB-INF/classes/org/ is up to date. +[cactifywar] WEB-INF/classes/org/apache/ omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:WEB-INF/classes/org/apache/ is up to date. +[cactifywar] WEB-INF/classes/org/apache/cactus/ omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:WEB-INF/classes/org/apache/cactus/ is up to date. +[cactifywar] WEB-INF/classes/org/apache/cactus/servlet/ omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:WEB-INF/classes/org/apache/cactus/servlet/ is up to date. +[cactifywar] WEB-INF/classes/org/apache/test/ omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:WEB-INF/classes/org/apache/test/ is up to date. +[cactifywar] org/ omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:org/ is up to date. +[cactifywar] org/apache/ omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:org/apache/ is up to date. +[cactifywar] org/apache/cactus/ omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:org/apache/cactus/ is up to date. +[cactifywar] org/apache/cactus/servlet/ omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:org/apache/cactus/servlet/ is up to date. +[cactifywar] org/apache/test/ omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:org/apache/test/ is up to date. +[cactifywar] META-INF/MANIFEST.MF omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:META-INF/MANIFEST.MF is up to date. +[cactifywar] WEB-INF/classes/org/apache/cactus/servlet/SampleServlet.class omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:WEB-INF/classes/org/apache/cactus/servlet/SampleServlet.class is up to date. +[cactifywar] WEB-INF/classes/org/apache/test/TestSampleServlet.class omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:WEB-INF/classes/org/apache/test/TestSampleServlet.class is up to date. +[cactifywar] org/apache/cactus/servlet/SampleServlet.class omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:org/apache/cactus/servlet/SampleServlet.class is up to date. +[cactifywar] org/apache/test/TestSampleServlet.class omitted as /home/peter/bin/workspace/TestCactus/testCactus-cactified.war:org/apache/test/TestSampleServlet.class is up to date. +[cactifywar] jspRedirector.jsp added as jspRedirector.jsp is outdated. +[cactifywar] Building war: /home/peter/bin/workspace/TestCactus/testCactus-cactified.war +[cactifywar] adding directory META-INF/ +[cactifywar] adding entry META-INF/MANIFEST.MF +[cactifywar] adding directory WEB-INF/ +[cactifywar] adding directory WEB-INF/classes/ +[cactifywar] adding directory WEB-INF/classes/org/ +[cactifywar] adding directory WEB-INF/classes/org/apache/ +[cactifywar] adding directory WEB-INF/classes/org/apache/cactus/ +[cactifywar] adding directory WEB-INF/classes/org/apache/cactus/servlet/ +[cactifywar] adding directory WEB-INF/classes/org/apache/test/ +[cactifywar] adding directory org/ +[cactifywar] adding directory org/apache/ +[cactifywar] adding directory org/apache/cactus/ +[cactifywar] adding directory org/apache/cactus/servlet/ +[cactifywar] adding directory org/apache/test/ +[cactifywar] adding entry WEB-INF/classes/org/apache/cactus/servlet/SampleServlet.class +[cactifywar] adding entry WEB-INF/classes/org/apache/test/TestSampleServlet.class +[cactifywar] adding entry org/apache/cactus/servlet/SampleServlet.class +[cactifywar] adding entry org/apache/test/TestSampleServlet.class +[cactifywar] adding entry jspRedirector.jsp +[cactifywar] adding entry WEB-INF/web.xml +[cactifywar] adding directory WEB-INF/lib/ +[cactifywar] adding entry WEB-INF/lib/aspectjrt-1.5.2a.jar +[cactifywar] adding entry WEB-INF/lib/javaEE-14-uberjar-1.18-SNAPSHOT.jar +[cactifywar] adding entry WEB-INF/lib/commons-logging-1.0.4.jar +[cactifywar] adding entry WEB-INF/lib/commons-httpclient-2.0.2.jar +[cactifywar] adding entry WEB-INF/lib/junit-4.0.jar +[cactifywar] No Implementation-Title set.No Implementation-Version set.No Implementation-Vendor set. +[cactifywar] Location: /home/peter/bin/workspace/TestCactus/build.xml:89: + +run.tests: + [cactus] cactus tag is under major change consider to use cactustest instead + [cactus] No mapping of the filter redirector found + [cactus] Adding Cactus client system property [cactus.jspRedirectorName] with value [JspRedirector] + [cactus] Adding Cactus client system property [cactus.servletRedirectorName] with value [ServletRedirector] + [cactus] Adding Cactus server system property [cactus.contextURL] with value [null] + [cactus] ----------------------------------------------------------------- + [cactus] Running tests against Tomcat 5.0.28 @ http://localhost:8080 + [cactus] ----------------------------------------------------------------- + [cactus] Starting up container + [cactus] Deploying [testCactus-cactified.war] to [/tmp/cargo/conf/webapps]... + [cactus] Tomcat 5.0.28 starting... +Server [Apache-Coyote/1.1] started + [cactus] Server name retrieved from 'Server' HTTP header: [Apache-Coyote/1.1] + [cactus] Using System properties {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=/usr/local/jdk1.5.0_12/jre/lib/i386, java.vm.version=1.5.0_12-b04, ant.library.dir=/home/peter/bin/apache/apache-ant-svn/lib, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=:, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, user.country=US, sun.java.launcher=SUN_STANDARD, sun.os.patch.level=unknown, java.vm.specification.name=Java Virtual Machine Specification, user.dir=/home/peter/bin/workspace/TestCactus, java.runtime.version=1.5.0_12-b04, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, java.endorsed.dirs=/usr/local/jdk1.5.0_12/jre/lib/endorsed, os.arch=i386, cactus.jspRedirectorName=JspRedirector, java.io.tmpdir=/tmp, line.separator= + [cactus] , java.vm.specification.vendor=Sun Microsystems Inc., os.name=Linux, ant.home=/home/peter/bin/apache/apache-ant-svn, sun.jnu.encoding=ISO-8859-1, java.library.path=/usr/local/jdk1.5.0_12/jre/lib/i386/client:/usr/local/jdk1.5.0_12/jre/lib/i386:/usr/local/jdk1.5.0_12/jre/../lib/i386, java.specification.name=Java Platform API Specification, java.class.version=49.0, sun.management.compiler=HotSpot Client Compiler, os.version=2.6.21.5-smp, user.home=/home/peter, user.timezone=Europe/Sofia, java.awt.printerjob=sun.print.PSPrinterJob, file.encoding=ISO-8859-1, java.specification.version=1.5, java.class.path=/home/peter/bin/apache/apache-ant-svn/lib/ant-launcher.jar:/home/peter/bin/apache/apache-ant-svn/lib/ant-trax.jar:/home/peter/bin/apache/apache-ant-svn/lib/ant-jmf.jar:/home/peter/bin/apache/apache-ant-svn/lib/ant-swing.jar:/home/peter/bin/apache/apache-ant-svn/lib/xercesImpl.jar:/home/peter/bin/apache/apache-ant-svn/lib/ant-junit.jar:/home/peter/bin/apache/apache-an t-svn/lib/ant.jar:/home/peter/bin/apache/apache-ant-svn/lib/xml-apis.jar:/home/peter/bin/apache/apache-ant-svn/lib/ant-nodeps.jar:/home/peter/bin/apache/apache-ant-svn/lib/ant-testutil.jar:/home/peter/bin/apache/apache-ant-svn/lib/ant-launcher.jar:/usr/local/jdk1.5.0_12/lib/tools.jar, user.name=peter, cactus.servletRedirectorName=ServletRedirector, java.vm.specification.version=1.0, java.home=/usr/local/jdk1.5.0_12/jre, sun.arch.data.model=32, cactus.contextURL=http://localhost:8080/testCactus-cactified, user.language=en, java.specification.vendor=Sun Microsystems Inc., java.vm.info=mixed mode, sharing, java.version=1.5.0_12, java.ext.dirs=/usr/local/jdk1.5.0_12/jre/lib/ext, sun.boot.class.path=/usr/local/jdk1.5.0_12/jre/lib/rt.jar:/usr/local/jdk1.5.0_12/jre/lib/i18n.jar:/usr/local/jdk1.5.0_12/jre/lib/sunrsasign.jar:/usr/local/jdk1.5.0_12/jre/lib/jsse.jar:/usr/local/jdk1.5.0_12/jre/lib/jce.jar:/usr/local/jdk1.5.0_12/jre/lib/charsets.jar:/usr/local/jdk1.5.0_12/jre/classes, ja va.vendor=Sun Microsystems Inc., file.separator=/, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, sun.cpu.isalist=} + [cactus] Implicitly adding /home/peter/.m2/repository/junit/junit/4.0/junit-4.0.jar:/home/peter/bin/apache/apache-ant-svn/lib/ant-launcher.jar:/home/peter/bin/apache/apache-ant-svn/lib/ant.jar:/home/peter/bin/apache/apache-ant-svn/lib/ant-junit.jar:/home/peter/.m2/repository/aspectj/aspectjrt/1.5.2a/aspectjrt-1.5.2a.jar:/home/peter/.m2/repository/org/apache/cactus/javaEE-14-uberjar/1.18-SNAPSHOT/javaEE-14-uberjar-1.18-SNAPSHOT.jar:/home/peter/.m2/repository/org/apache/cactus/integration-ant/1.18-SNAPSHOT/integration-ant-1.18-SNAPSHOT.jar:/home/peter/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:/home/peter/.m2/repository/commons-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.jar to CLASSPATH + [cactus] Using CLASSPATH /home/peter/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/home/peter/.m2/repository/junit/junit/4.0/junit-4.0.jar:/home/peter/.m2/repository/aspectj/aspectjrt/1.5.2a/aspectjrt-1.5.2a.jar:/home/peter/.m2/repository/org/apache/cactus/javaEE-14-uberjar/1.18-SNAPSHOT/javaEE-14-uberjar-1.18-SNAPSHOT.jar:/home/peter/.m2/repository/org/apache/cactus/integration-ant/1.18-SNAPSHOT/integration-ant-1.18-SNAPSHOT.jar:/home/peter/.m2/repository/commons-httpclient/commons-httpclient/2.0.2/commons-httpclient-2.0.2.jar:/home/peter/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar:/home/peter/.m2/repository/org/codehaus/cargo/cargo-core-uberjar/0.9/cargo-core-uberjar-0.9.jar:/home/peter/.m2/repository/org/apache/cactus/integration-shared-api/1.18-SNAPSHOT/integration-shared-api-1.18-SNAPSHOT.jar:/home/peter/.m2/repository/org/codehaus/cargo/cargo-ant/0.9/cargo-ant-0.9.jar:/home/peter/bin/workspace/TestCactus/build:/ home/peter/bin/apache/apache-ant-svn/lib/ant-launcher.jar:/home/peter/bin/apache/apache-ant-svn/lib/ant.jar:/home/peter/bin/apache/apache-ant-svn/lib/ant-junit.jar + [cactus] Shutting down container + [cactus] Tomcat 5.0.28 is stopping... + [cactus] Tomcat 5.0.28 started on port [8080] + [cactus] Tomcat 5.0.28 is stopped + [cactus] Container shut down Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/pom.xml URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/pom.xml?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/pom.xml (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/pom.xml Wed Oct 31 06:33:07 2007 @@ -0,0 +1,89 @@ +<?xml version="1.0"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> +<project> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.cactus</groupId> + <artifactId>cactus</artifactId> + <version>1.18-SNAPSHOT</version> + </parent> + <name>Cactus Framework - Parent Project</name> + <description>Parent project for Cactus framework</description> + <packaging>pom</packaging> + <artifactId>framework</artifactId> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + </plugin> + </plugins> + </build> + + <dependencies> + <!-- TODO: add dependencies below to parent project and remove from here --> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + </dependency> +<!-- TODO: check if really necessary --> + <dependency> + <groupId>commons-httpclient</groupId> + <artifactId>commons-httpclient</artifactId> <!-- It seems to be neccessary --> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </dependency> + <dependency> + <groupId>mockobjects</groupId> + <artifactId>mockobjects-core</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>httpunit</groupId> + <artifactId>httpunit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.mortbay.jetty</groupId> + <artifactId>org.mortbay.jetty</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>httpunit</groupId> + <artifactId>httpunit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>aspectj</groupId> + <artifactId>aspectjrt</artifactId> + <version>1.5.2a</version> + </dependency> + </dependencies> + + <modules> + + <module>framework-12-13-14</module> + <module>framework-13-14</module> + <module>framework-wrappers</module> + <module>framework-uberjars</module> + </modules> +</project> Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/project.xml URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/project.xml?rev=590663&view=auto ============================================================================== --- jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/project.xml (added) +++ jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/project.xml Wed Oct 31 06:33:07 2007 @@ -0,0 +1 @@ + Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/testCactus-cactified.war URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/testCactus-cactified.war?rev=590663&view=auto ============================================================================== Binary file - no diff available. Propchange: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/testCactus-cactified.war ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/testCactus.war URL: http://svn.apache.org/viewvc/jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/testCactus.war?rev=590663&view=auto ============================================================================== Binary file - no diff available. Propchange: jakarta/cactus/branches/CACTUS_TRUNK_MAMOUTH/scratchpad/TestCactus/test/testCactus.war ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]