WARNING: Full plugin rewrite! Version 3.0 of the Cactus plugin now relies on the newest Cactus/Ant integration which has completely changed since version 2.0 (and 2.1-SNAPSHOT, which by the way has never been released, and never will). Thanks to the new Cactus/Ant, some features have also been added. The plugin now uses the new <cactifywar> and <cactus> Ant tasks (see http://jakarta.apache.org/cactus/integration/ant/index.html for more details).

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113436 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
vmassol committed 2003-05-23 21:05:56 +00:00
1 parent fa22f63625
commit eef02557cb
16 files changed
+527 -224

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
# Please specify your path to your container
cactus.home.tomcat4x = C:/Apps/jakarta-tomcat-4.1.24
cactus.home.resin2x = C:/Apps/resin-2.1.6
+9 -1
View File
@@ -12,7 +12,7 @@
<!-- The version of the project under development, e.g.
1.1, 1.2, 2.0-dev -->
<currentVersion>1.0-SNAPSHOT</currentVersion>
<currentVersion>3.0-SNAPSHOT</currentVersion>
<!-- details about the organization that 'owns' the project -->
<organization>
@@ -64,4 +64,12 @@
<sourceDirectory>src/java</sourceDirectory>
</build>
<reports>
<report>maven-cactus-plugin</report>
<report>maven-changelog-plugin</report>
<report>maven-file-activity-plugin</report>
<report>maven-developer-activity-plugin</report>
<report>maven-tasklist-plugin</report>
</reports>
</project>
@@ -70,9 +70,10 @@ import org.apache.cactus.WebResponse;
*
* @author <a href="mailto:nick@eblox.com">Nciholas Lesiecki</a>
*
* @version $Id: TestSampleBodyTag.java,v 1.1 2003/03/22 16:39:09 vmassol Exp $
* @version $Id: TestSampleBodyTag.java,v 1.2 2003/05/23 21:05:56 vmassol Exp $
*/
public class TestSampleBodyTag extends JspTestCase {
public class TestSampleBodyTag extends JspTestCase
{
private SampleBodyTag tag;
private BodyContent tagContent;
@@ -91,7 +92,8 @@ public class TestSampleBodyTag extends JspTestCase {
*
* @param theArgs the arguments. Not used
*/
public static void main(String[] theArgs) {
public static void main(String[] theArgs)
{
junit.swingui.TestRunner.main(
new String[] { TestSampleBodyTag.class.getName() });
}
@@ -100,7 +102,8 @@ public class TestSampleBodyTag extends JspTestCase {
* @return a test suite (<code>TestSuite</code>) that includes all methods
* starting with "test"
*/
public static Test suite() {
public static Test suite()
{
// All methods starting with "test" will be executed in the test suite.
return new TestSuite(TestSampleBodyTag.class);
}
@@ -109,7 +112,8 @@ public class TestSampleBodyTag extends JspTestCase {
* In addition to creating the tag instance and adding the pageContext to
* it, this method creates a BodyContent object and passes it to the tag.
*/
public void setUp() {
public void setUp()
{
this.tag = new SampleBodyTag();
this.tag.setPageContext(this.pageContext);