continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r734620 - /continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Thu, 15 Jan 2009 07:20:59 GMT
Author: ctan
Date: Wed Jan 14 23:20:59 2009
New Revision: 734620

URL: http://svn.apache.org/viewvc?rev=734620&view=rev
Log:
fix release by checking-out source code when in distributed builds mode

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

Modified: continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=734620&r1=734619&r2=734620&view=diff
==============================================================================
--- continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Wed Jan 14 23:20:59 2009
@@ -1499,17 +1499,14 @@
 
         context.put( AbstractContinuumAction.KEY_PROJECT_GROUP_ID, new Integer( projectGroup.getId()
) );
         
-     // used by BuildManager to determine on which build queue will the project be put
+        // used by BuildManager to determine on which build queue will the project be put
         context.put( AbstractContinuumAction.KEY_BUILD_DEFINITION, ( BuildDefinition ) project.getBuildDefinitions().get(
0 ) );
 
         executeAction( "validate-project", context );
 
         executeAction( "store-project", context );
 
-        if ( !configurationService.isDistributedBuildEnabled() )
-        {
-            executeAction( "add-project-to-checkout-queue", context );
-        }
+        executeAction( "add-project-to-checkout-queue", context );
 
         executeAction( "add-assignable-roles", context );
 
@@ -1760,10 +1757,8 @@
                 // used by BuildManager to determine on which build queue will the project
be put
                 context.put( AbstractContinuumAction.KEY_BUILD_DEFINITION, defaultBuildDefinition
);
 
-                if ( !configurationService.isDistributedBuildEnabled() )
-                {
-                    executeAction( "add-project-to-checkout-queue", context );
-                }
+                executeAction( "add-project-to-checkout-queue", context );
+
             }
         }
         catch ( BuildDefinitionServiceException e )



Mime
View raw message