continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r581825 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/ExecuteBuilderContinuumAction.java
Date Thu, 04 Oct 2007 09:54:50 GMT
Author: evenisse
Date: Thu Oct  4 02:54:50 2007
New Revision: 581825

URL: http://svn.apache.org/viewvc?rev=581825&view=rev
Log:
[CONTINUUM-1509]Fix alwaysBuild feature when no files are modified

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/ExecuteBuilderContinuumAction.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/ExecuteBuilderContinuumAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/ExecuteBuilderContinuumAction.java?rev=581825&r1=581824&r2=581825&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/ExecuteBuilderContinuumAction.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/core/action/ExecuteBuilderContinuumAction.java
Thu Oct  4 02:54:50 2007
@@ -96,7 +96,8 @@
 
         if ( !isFirstRun && project.getOldState() != ContinuumProjectState.NEW &&
             project.getOldState() != ContinuumProjectState.CHECKEDOUT && scmResult.getChanges().size()
== 0 &&
-            !hasUpdatedDependencies && trigger != ContinuumProjectState.TRIGGER_FORCED
&& !isNew( project ) )
+            !hasUpdatedDependencies && trigger != ContinuumProjectState.TRIGGER_FORCED
&& !isNew( project ) &&
+            !buildDefinition.isAlwaysBuild() )
         {
             getLogger().info( "No files updated, not building. Project id '" + project.getId()
+ "'." );
 



Mime
View raw message