You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ct...@apache.org on 2009/01/15 08:20:59 UTC
svn commit: r734620 -
/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
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 )