From adeae6bdc2c827eb4c186a6d77ab3a1be34e933b Mon Sep 17 00:00:00 2001 From: vmassol Date: Sat, 6 Sep 2003 09:38:25 +0000 Subject: [PATCH] - Added new cactus.tmp.dir optional property to specify a location where Cactus will put its temporary files (mostly where it setup containers for execution). Defaults to [java.io.tmpdir]/[containername]. - Generate the Cactus test reports in the Cactus reports directory instead of directly in the Maven build directory. This fixes bug MAVEN-669 and MAVEN-671. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113967 13f79535-47bb-0310-9956-ffa450edef68 --- cactus/plugin.jelly | 97 ++++++++++++++++++++++++++++++++----- cactus/plugin.properties | 3 ++ cactus/xdocs/changes.xml | 13 +++++ cactus/xdocs/properties.xml | 11 +++++ 4 files changed, 113 insertions(+), 11 deletions(-) diff --git a/cactus/plugin.jelly b/cactus/plugin.jelly index cb3fde64..814619ce 100644 --- a/cactus/plugin.jelly +++ b/cactus/plugin.jelly @@ -242,27 +242,43 @@ + + config="${cactus.jboss3x.config.name}"> + + + + + todir="${cactus.reports.dir}/orion1x"> + + + + + todir="${cactus.reports.dir}/orion2x"> + + + + + + + @@ -272,6 +288,9 @@ dir="${cactus.home.tomcat4x}" port="${cactus.port}" output="${cactus.reports.dir}/tomcat4x.out" todir="${cactus.reports.dir}/tomcat4x"> + + + @@ -289,6 +308,9 @@ dir="${cactus.home.tomcat5x}" port="${cactus.port}" output="${cactus.reports.dir}/tomcat5x.out" todir="${cactus.reports.dir}/tomcat5x"> + + + @@ -306,6 +328,9 @@ dir="${cactus.home.weblogic7x}" port="${cactus.port}" output="${cactus.reports.dir}/weblogic7x.out" todir="${cactus.reports.dir}/weblogic7x"> + + + @@ -325,7 +350,7 @@ for several containers --> - @@ -411,27 +436,43 @@ + + config="${cactus.jboss3x.config.name}"> + + + + + todir="${cactus.reports.dir}/orion1x"> + + + + + todir="${cactus.reports.dir}/orion2x"> + + + + + + + @@ -441,6 +482,9 @@ dir="${cactus.home.tomcat4x}" port="${cactus.port}" output="${cactus.reports.dir}/tomcat4x.out" todir="${cactus.reports.dir}/tomcat4x"> + + + @@ -458,6 +502,9 @@ dir="${cactus.home.tomcat5x}" port="${cactus.port}" output="${cactus.reports.dir}/tomcat5x.out" todir="${cactus.reports.dir}/tomcat5x"> + + + @@ -475,6 +522,9 @@ dir="${cactus.home.weblogic7x}" port="${cactus.port}" output="${cactus.reports.dir}/weblogic7x.out" todir="${cactus.reports.dir}/weblogic7x"> + + + @@ -520,27 +570,43 @@ + + config="${cactus.jboss3x.config.name}"> + + + + + todir="${cactus.reports.dir}/orion1x"> + + + + + todir="${cactus.reports.dir}/orion2x"> + + + + + + + @@ -550,6 +616,9 @@ dir="${cactus.home.tomcat4x}" port="${cactus.port}" output="${cactus.reports.dir}/tomcat4x.out" todir="${cactus.reports.dir}/tomcat4x"> + + + @@ -567,6 +636,9 @@ dir="${cactus.home.tomcat5x}" port="${cactus.port}" output="${cactus.reports.dir}/tomcat5x.out" todir="${cactus.reports.dir}/tomcat5x"> + + + @@ -584,6 +656,9 @@ dir="${cactus.home.weblogic7x}" port="${cactus.port}" output="${cactus.reports.dir}/weblogic7x.out" todir="${cactus.reports.dir}/weblogic7x"> + + + @@ -635,7 +710,7 @@ description="Generate a report from the test results"> + + Added new cactus.tmp.dir optional property to specify + a location where Cactus will put its temporary files (mostly where + it setup containers for execution). Defaults to + [java.io.tmpdir]/[containername]. + + + Generate the Cactus test reports in the Cactus reports directory + instead of directly in the Maven build directory. This fixes bug + MAVEN-669 + and + MAVEN-671. + Updated commons-httpclient dependency to 2.0 rc1, httpunit to 1.5.3 and nekohtml to 0.7.7. diff --git a/cactus/xdocs/properties.xml b/cactus/xdocs/properties.xml index 696c595f..2d80ff37 100644 --- a/cactus/xdocs/properties.xml +++ b/cactus/xdocs/properties.xml @@ -135,6 +135,17 @@

+ + maven.tmpdir.dir + Yes + +

+ Location where Cactus will put its temporary files (mostly where + it setups containers for execution). Default value is + [java.io.tmpdir]/[containername]. +

+ +