tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1177729 - in /tomcat/maven-plugin/trunk: pom.xml tomcat-maven-plugin-it/src/main/java/org/codehaus/mojo/tomcat/it/AbstractWarProjectIT.java tomcat6-maven-plugin/pom.xml
Date Fri, 30 Sep 2011 16:47:40 GMT
Author: olamy
Date: Fri Sep 30 16:47:39 2011
New Revision: 1177729

URL: http://svn.apache.org/viewvc?rev=1177729&view=rev
Log:
add some properties for it tests debugging

Modified:
    tomcat/maven-plugin/trunk/pom.xml
    tomcat/maven-plugin/trunk/tomcat-maven-plugin-it/src/main/java/org/codehaus/mojo/tomcat/it/AbstractWarProjectIT.java
    tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml

Modified: tomcat/maven-plugin/trunk/pom.xml
URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/pom.xml?rev=1177729&r1=1177728&r2=1177729&view=diff
==============================================================================
--- tomcat/maven-plugin/trunk/pom.xml (original)
+++ tomcat/maven-plugin/trunk/pom.xml Fri Sep 30 16:47:39 2011
@@ -50,10 +50,13 @@
     <failsafe.version>2.9</failsafe.version>
     <junit.version>4.9</junit.version>
     <it.sleep.time>2000</it.sleep.time>
+    <verifier.debug>false</verifier.debug>
+    <verifier.debugJvm>false</verifier.debugJvm>
     <maven.resources.escapeString>\</maven.resources.escapeString>
     <distributionReleaseUrl>scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</distributionReleaseUrl>
     <distributionSnapshotsUrl>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</distributionSnapshotsUrl>
     <distributionSiteUrl>scp://people.apache.org/www/tomcat.apache.org/maven-plugin-${project.version}</distributionSiteUrl>
+
   </properties>
 
   <prerequisites>

Modified: tomcat/maven-plugin/trunk/tomcat-maven-plugin-it/src/main/java/org/codehaus/mojo/tomcat/it/AbstractWarProjectIT.java
URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat-maven-plugin-it/src/main/java/org/codehaus/mojo/tomcat/it/AbstractWarProjectIT.java?rev=1177729&r1=1177728&r2=1177729&view=diff
==============================================================================
--- tomcat/maven-plugin/trunk/tomcat-maven-plugin-it/src/main/java/org/codehaus/mojo/tomcat/it/AbstractWarProjectIT.java
(original)
+++ tomcat/maven-plugin/trunk/tomcat-maven-plugin-it/src/main/java/org/codehaus/mojo/tomcat/it/AbstractWarProjectIT.java
Fri Sep 30 16:47:39 2011
@@ -92,6 +92,10 @@ public abstract class AbstractWarProject
         webappHome = ResourceExtractor.simpleExtractResources( getClass(), "/" + getWarArtifactId()
);
         verifier = new Verifier( webappHome.getAbsolutePath() );
 
+        verifier.setDebug( Boolean.getBoolean( "verifier.debug" ) );
+        verifier.setDebugJvm( Boolean.getBoolean( "verifier.debugJvm" ) );
+        verifier.displayStreamBuffers();
+
         verifier.deleteArtifact( "org.codehaus.mojo.tomcat.it", getWarArtifactId(), "1.0-SNAPSHOT",
"war" );
     }
 
@@ -128,11 +132,11 @@ public abstract class AbstractWarProject
         thread.start();
 
         LOG.info( "Executing verify on " + webappHome.getAbsolutePath() );
+        /*
         Map<String, String> map = new HashMap<String, String>();
         map.put( "@project.version@", System.getProperty( "mojoVersion" ) );
         System.out.println( " webappHome: " + webappHome );
-        verifier.filterFile( "pom.xml", "pom.xml", "UTF-8", map );
-        verifier.displayStreamBuffers();
+        verifier.filterFile( "pom.xml", "pom.xml", "UTF-8", map );*/
         verifier.executeGoal( "verify" );
 
         thread.join();

Modified: tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml
URL: http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml?rev=1177729&r1=1177728&r2=1177729&view=diff
==============================================================================
--- tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml (original)
+++ tomcat/maven-plugin/trunk/tomcat6-maven-plugin/pom.xml Fri Sep 30 16:47:39 2011
@@ -227,6 +227,8 @@
                 <configuration>
                   <systemPropertyVariables>
                     <mojoVersion>${project.version}</mojoVersion>
+                    <verifier.debug>${verifier.debug}</verifier.debug>
+                    <verifier.debugJvm>${verifier.debugJvm}</verifier.debugJvm>
                   </systemPropertyVariables>
                 </configuration>
               </execution>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message