Title: [2496] trunk/openejb1/maven.xml: More goals for testing
Revision
2496
Author
dblevins
Date
2006-02-23 02:54:26 -0500 (Thu, 23 Feb 2006)

Log Message

More goals for testing

Modified Paths


Diff

Modified: trunk/openejb1/maven.xml (2495 => 2496)

--- trunk/openejb1/maven.xml	2006-02-23 07:30:53 UTC (rev 2495)
+++ trunk/openejb1/maven.xml	2006-02-23 07:54:26 UTC (rev 2496)
@@ -565,18 +565,22 @@
       <!-- Download tomcat if it isn't in the repo -->
       <u:file var="fileAsFile" name="${tomcat.dist}"/>
       <j:if test="${!(fileAsFile.exists())}">
-	<mkdir dir="${maven.repo.local}/tomcat/distributions"/>
-	<get src="" dest="${tomcat.dist}"/>
+        <mkdir dir="${maven.repo.local}/tomcat/distributions"/>
+        <get src="" dest="${tomcat.dist}"/>
       </j:if>      
 
       <!-- Unzip if not unzipped -->
       <u:file var="fileAsFile" name="${tomcat.home}"/>
       <j:if test="${!(fileAsFile.exists())}">
-	<unjar src="" dest="${targetDir}"/>
-	<chmod dir="${tomcat.home}/bin" perm="u+x" includes="**/*.sh"/>
+        <unjar src="" dest="${targetDir}"/>
+        <chmod dir="${tomcat.home}/bin" perm="u+x" includes="**/*.sh"/>
       </j:if>      
     </goal>
 
+    <goal name="delete:tomcat">
+      <delete dir="${tomcat.home}"/>
+    </goal>
+
     <goal name="setup:tomcat-src">
       <j:set var="targetDir" value="${basedir}/src/"/>
 
@@ -586,8 +590,8 @@
       <!-- Download tomcat if it isn't in the repo -->
       <u:file var="fileAsFile" name="${tomcat.dist}"/>
       <j:if test="${!(fileAsFile.exists())}">
-	<mkdir dir="${maven.repo.local}/tomcat/distributions"/>
-	<get src="" dest="${tomcat.dist}"/>
+        <mkdir dir="${maven.repo.local}/tomcat/distributions"/>
+        <get src="" dest="${tomcat.dist}"/>
       </j:if>      
 
       <unjar src="" dest="${basedir}"/>
@@ -704,4 +708,51 @@
       </java>
       <attainGoal name="stop:tomcat"/>
     </goal>
+
+    <goal name="test:tomcat-all">
+      <attainGoal name="tomcat4"/>
+      <attainGoal name="test:tomcat"/>
+      <attainGoal name="delete:tomcat"/>
+      <attainGoal name="test:tomcat-webapp"/>
+      <attainGoal name="delete:tomcat"/>
+
+      <attainGoal name="tomcat50"/>
+      <attainGoal name="test:tomcat"/>
+      <attainGoal name="delete:tomcat"/>
+      <attainGoal name="test:tomcat-webapp"/>
+      <attainGoal name="delete:tomcat"/>
+
+      <attainGoal name="tomcat55"/>
+      <attainGoal name="test:tomcat"/>
+      <attainGoal name="delete:tomcat"/>
+      <attainGoal name="test:tomcat-webapp"/>
+      <attainGoal name="delete:tomcat"/>
+    </goal>
+
+    <goal name="test:all">
+      <attainGoal name="test:local"/>
+      <attainGoal name="test:remote"/>
+      <attainGoal name="test:http"/>
+      <attainGoal name="test:tomcat-all"/>
+    </goal>
+
+    <goal name="test:all-jdk1.4">
+      <attainGoal name="test:local"/>
+      <attainGoal name="test:remote"/>
+      <attainGoal name="test:http"/>
+
+      <attainGoal name="tomcat4"/>
+      <attainGoal name="test:tomcat"/>
+      <attainGoal name="delete:tomcat"/>
+      <attainGoal name="test:tomcat-webapp"/>
+      <attainGoal name="delete:tomcat"/>
+
+      <attainGoal name="tomcat50"/>
+      <attainGoal name="test:tomcat"/>
+      <attainGoal name="delete:tomcat"/>
+      <attainGoal name="test:tomcat-webapp"/>
+      <attainGoal name="delete:tomcat"/>
+
+    </goal>
+
 </project>

Reply via email to