continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r582786 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
Date Mon, 08 Oct 2007 11:40:24 GMT
Author: evenisse
Date: Mon Oct  8 04:40:24 2007
New Revision: 582786

URL: http://svn.apache.org/viewvc?rev=582786&view=rev
Log:
Print the right message when the project shoudn't build.

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java?rev=582786&r1=582785&r2=582786&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
Mon Oct  8 04:40:24 2007
@@ -129,7 +129,6 @@
 
             if ( !shouldBuild( context ) )
             {
-                getLogger().info( "No changes, not building" );
                 return;
             }
 
@@ -536,7 +535,15 @@
             }
         }
 
-        getLogger().info( "Changes found, building" );
+        if ( shouldBuild )
+        {
+            getLogger().info( "Changes found, building" );
+        }
+        else
+        {
+            getLogger().info( "No changes, not building" );
+
+        }
         return shouldBuild;
     }
 



Mime
View raw message