continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r587199 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/MavenTwoBuildExecutor.java
Date Mon, 22 Oct 2007 19:01:44 GMT
Author: evenisse
Date: Mon Oct 22 12:01:41 2007
New Revision: 587199

URL: http://svn.apache.org/viewvc?rev=587199&view=rev
Log:
Move log in the right place

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/MavenTwoBuildExecutor.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/MavenTwoBuildExecutor.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/MavenTwoBuildExecutor.java?rev=587199&r1=587198&r2=587199&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/MavenTwoBuildExecutor.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/execution/maven/m2/MavenTwoBuildExecutor.java
Mon Oct 22 12:01:41 2007
@@ -291,7 +291,6 @@
 
     public void backupTestFiles( Project project, int buildId )
     {
-        getLogger().info( "Backup surefire files." );
         File backupDirectory = null;
         try
         {
@@ -317,6 +316,10 @@
         scanner.scan();
 
         String[] testResultFiles = scanner.getIncludedFiles();
+        if ( testResultFiles.length > 0 )
+        {
+            getLogger().info( "Backup surefire files." );
+        }
         for ( String testResultFile : testResultFiles )
         {
             File xmlFile = new File( workingDir, testResultFile );



Mime
View raw message