vmassol 2003/07/01 14:04:52 Modified: src/plugins-build/cactus plugin.jelly src/plugins-build/cactus/xdocs changes.xml Removed: src/plugins-build/cactus LICENSE.txt Log: Add all user jars that have been marked to be included in the cactus test (with the <code><cactus.bundle>true</cactus.bundle></code> property in dependencies). For example, DBUnit would be a jar you would include in a Cactus test but not in a runtime war. Revision Changes Path 1.22 +10 -1 maven/src/plugins-build/cactus/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /home/cvs/maven/src/plugins-build/cactus/plugin.jelly,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- plugin.jelly 12 Jun 2003 12:28:48 -0000 1.21 +++ plugin.jelly 1 Jul 2003 21:04:52 -0000 1.22 @@ -164,7 +164,16 @@ the CactifyWarTask only adds the pure Cactus jars but not related jars such as HttpUnit jars --> <lib file="${plugin.getDependencyPath('httpunit:httpunit')}"/> - + + <!-- Add all user jars that have been marked to be included in the cactus + test. For example, DBUnit would be a jar you would include in a + Cactus test but not in a runtime war --> + <j:forEach var="dep" items="${pom.dependencies}"> + <j:if test="${dep.getProperty('cactus.bundle')=='true'}"> + <lib file="${maven.repo.local}/${dep.artifactDirectory}/jars/${dep.artifact}"/> + </j:if> + </j:forEach> + </cactifywar> </goal> 1.11 +7 -0 maven/src/plugins-build/cactus/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/maven/src/plugins-build/cactus/xdocs/changes.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- changes.xml 19 Jun 2003 20:27:00 -0000 1.10 +++ changes.xml 1 Jul 2003 21:04:52 -0000 1.11 @@ -8,6 +8,13 @@ <body> <release version="3.0" date="in CVS"> + <action dev="vmassol" type="add"> + Add all user jars that have been marked to be included in the cactus + test (with the + <code><cactus.bundle>true</cactus.bundle></code> property + in dependencies). For example, DBUnit would be a jar you would + include in a Cactus test but not in a runtime war. + </action> <action dev="vmassol" type="fix"> Updated to Cactus/Ant of 19th of June 2003 which fixes a bug preventing JBoss to start correctly on unix machines (caused by
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]