vmassol 2002/11/12 06:10:57
Modified: src/plugins-build/cactus plugin.jelly plugin.properties
src/plugins-build/cactus/xdocs changes.xml features.xml
Log:
Added include/exclude for Cactus tests, in addition to the automatic discovery. This
allows to skip long-running tests during debug periods for example.
Revision Changes Path
1.18 +4 -1 jakarta-turbine-maven/src/plugins-build/cactus/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/cactus/plugin.jelly,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- plugin.jelly 12 Nov 2002 13:45:31 -0000 1.17
+++ plugin.jelly 12 Nov 2002 14:10:57 -0000 1.18
@@ -182,7 +182,10 @@
</path>
<cactus:scanner var="cactusScanner" classpathref="cactus.scanner.classpath">
- <fileset dir="${maven.cactus.classes.dir}" includes="**/*.class"/>
+ <fileset dir="${maven.cactus.classes.dir}" includes="**/*.class">
+ <include name="${maven.cactus.test.fileset.include}"/>
+ <exclude name="${maven.cactus.test.fileset.exclude}"/>
+ </fileset>
</cactus:scanner>
</goal>
1.8 +4 -0 jakarta-turbine-maven/src/plugins-build/cactus/plugin.properties
Index: plugin.properties
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/plugins-build/cactus/plugin.properties,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- plugin.properties 12 Nov 2002 13:45:31 -0000 1.7
+++ plugin.properties 12 Nov 2002 14:10:57 -0000 1.8
@@ -65,3 +65,7 @@
# Location of junit excluded.properties file to use when using the Swing
# Test Runner
maven.cactus.testrunner.swing.excluded = ${plugin.dir}/conf/excluded.properties
+
+# Include/Exclude for Cactus tests
+maven.cactus.test.fileset.include=**/*.*
+maven.cactus.test.fileset.exclude=
1.14 +4 -0 jakarta-turbine-maven/src/plugins-build/cactus/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/plugins-build/cactus/xdocs/changes.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- changes.xml 12 Nov 2002 13:45:31 -0000 1.13
+++ changes.xml 12 Nov 2002 14:10:57 -0000 1.14
@@ -8,6 +8,10 @@
<body>
<release version="1.1" date="in CVS">
+ <action dev="vmassol" type="add">
+ Ability to exclude Cactus tests (for long running tests for example,
+ in debug period).
+ </action>
<action dev="vmassol" type="update">
The <code>web.xml</code> elements required for Cactus are now
automatically added to the user project <code>web.xml</code>.
1.7 +4 -0
jakarta-turbine-maven/src/plugins-build/cactus/xdocs/features.xml
Index: features.xml
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/plugins-build/cactus/xdocs/features.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- features.xml 12 Nov 2002 13:45:31 -0000 1.6
+++ features.xml 12 Nov 2002 14:10:57 -0000 1.7
@@ -41,6 +41,10 @@
Automatically merge the <code>web.xml</code> elements needed by
Cactus to the user project <code>web.xml</code> file.
</li>
+ <li>
+ Ability to exclude Cactus tests (for long running tests for example,
+ in debug period).
+ </li>
</ul>
</section>
</body>
--
To unsubscribe, e-mail: <mailto:turbine-maven-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-dev-help@;jakarta.apache.org>