From bbb2d1061ec59022ae82f7400d5fd7ce29f639c8 Mon Sep 17 00:00:00 2001
From: epugh
Date: Mon, 7 Jul 2003 19:44:27 +0000
Subject: [PATCH] Added ability to pass to ant cactus task a tmpDir for Tomcat
4.x and 5.x. Allows you to put the cactus tomcat container anywhere you
want. Defaults to the system directory however.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113609 13f79535-47bb-0310-9956-ffa450edef68
---
cactus/plugin.jelly | 17 +++++++++++++++--
cactus/plugin.properties | 8 ++++++++
cactus/xdocs/changes.xml | 4 ++++
cactus/xdocs/properties.xml | 20 ++++++++++++++++++++
4 files changed, 47 insertions(+), 2 deletions(-)
diff --git a/cactus/plugin.jelly b/cactus/plugin.jelly
index 3e144cf5..566462e0 100644
--- a/cactus/plugin.jelly
+++ b/cactus/plugin.jelly
@@ -254,7 +254,10 @@
todir="${cactus.reports.dir}/tomcat4x">
-
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cactus/plugin.properties b/cactus/plugin.properties
index 296f6263..e82e3e22 100644
--- a/cactus/plugin.properties
+++ b/cactus/plugin.properties
@@ -70,6 +70,10 @@ cactus.jboss3x.config.name = default
#cactus.tomcat4x.conf.includes =
#cactus.tomcat4x.conf.excludes =
+# (optional). Tomcat 4.x directory to which the container will be installed for the tests.
+# By default the system temporary directory is used
+#cactus.tomcat4x.tmpdir =
+
# (optional). Tomcat 5.x configuration file if you don't want to use the
# cactus-provided one
#cactus.tomcat5x.config =
@@ -80,3 +84,7 @@ cactus.jboss3x.config.name = default
#cactus.tomcat5x.conf.dir =
#cactus.tomcat5x.conf.includes =
#cactus.tomcat5x.conf.excludes =
+
+# (optional). Tomcat 5.x directory to which the container will be installed for the tests.
+# By default the system temporary directory is used
+#cactus.tomcat5x.tmpdir =
\ No newline at end of file
diff --git a/cactus/xdocs/changes.xml b/cactus/xdocs/changes.xml
index e4d68d37..e93e769d 100644
--- a/cactus/xdocs/changes.xml
+++ b/cactus/xdocs/changes.xml
@@ -8,6 +8,10 @@
+
+ Ability to optionally specify for Tomcat 4x and 5x a directory to which
+ the container will be installed for the tests.
+
Add all user jars that have been marked to be included in the cactus
test (with the
diff --git a/cactus/xdocs/properties.xml b/cactus/xdocs/properties.xml
index 3ef4dff5..b954510f 100644
--- a/cactus/xdocs/properties.xml
+++ b/cactus/xdocs/properties.xml
@@ -239,6 +239,16 @@
+
+ | cactus.tomcat4x.tmpdir |
+ Yes |
+
+
+ Directory to which the container will be installed for the tests.
+ By default the system temporary directory is used.
+
+ |
+
@@ -291,6 +301,16 @@
+
+ | cactus.tomcat5x.tmpdir |
+ Yes |
+
+
+ Directory to which the container will be installed for the tests.
+ By default the system temporary directory is used.
+
+ |
+