continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r578044 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Fri, 21 Sep 2007 10:11:27 GMT
Author: evenisse
Date: Fri Sep 21 03:11:27 2007
New Revision: 578044

URL: http://svn.apache.org/viewvc?rev=578044&view=rev
Log:
Fix forced build when build def types are empty after a migration

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

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=578044&r1=578043&r2=578044&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Fri Sep 21 03:11:27 2007
@@ -940,7 +940,8 @@
 
             for ( BuildDefinition bd : bds )
             {
-                if ( project.getExecutorId().equals( bd.getType() ) )
+                if ( project.getExecutorId().equals( bd.getType() ) || ( StringUtils.isEmpty(
bd.getType() ) &&
+                    ContinuumBuildExecutorConstants.MAVEN_TWO_BUILD_EXECUTOR.equals( project.getExecutorId()
) ) )
                 {
                     buildDefId = bd.getId();
                     break;



Mime
View raw message