continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r386666 - /maven/continuum/branches/continuum-1.0.x/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
Date Fri, 17 Mar 2006 16:00:50 GMT
Author: evenisse
Date: Fri Mar 17 08:00:50 2006
New Revision: 386666

URL: http://svn.apache.org/viewcvs?rev=386666&view=rev
Log:
Fix message when no change

Modified:
    maven/continuum/branches/continuum-1.0.x/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java

Modified: maven/continuum/branches/continuum-1.0.x/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/continuum-1.0.x/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java?rev=386666&r1=386665&r2=386666&view=diff
==============================================================================
--- maven/continuum/branches/continuum-1.0.x/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
(original)
+++ maven/continuum/branches/continuum-1.0.x/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java
Fri Mar 17 08:00:50 2006
@@ -241,7 +241,14 @@
                     project.getState() != ContinuumProjectState.NEW &&
                     project.getState() != ContinuumProjectState.CHECKEDOUT )
                 {
-                    getLogger().info( "The project was not built because all changes are
unknown." );
+                    if ( changes.size() > 0 )
+                    {
+                        getLogger().info( "The project was not built because all changes
are unknown." );
+                    }
+                    else
+                    {
+                        getLogger().info( "The project was not built because there are no
changes." );
+                    }
 
                     project.setState( project.getOldState() );
 



Mime
View raw message