continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r554649 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Mon, 09 Jul 2007 13:46:27 GMT
Author: evenisse
Date: Mon Jul  9 06:46:26 2007
New Revision: 554649

URL: http://svn.apache.org/viewvc?view=rev&rev=554649
Log:
[CONTINUUM-1340] Attach correctly Ant/Shell projects to the default project group and fix
role assignation
Submitted by: Olivier Lamy

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?view=diff&rev=554649&r1=554648&r2=554649
==============================================================================
--- 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
Mon Jul  9 06:46:26 2007
@@ -1272,11 +1272,15 @@
 
         context.put( AbstractContinuumAction.KEY_UNVALIDATED_PROJECT_GROUP, projectGroup
);
 
+        context.put( AbstractContinuumAction.KEY_PROJECT_GROUP_ID, new Integer( projectGroup.getId()
) );
+
         executeAction( "validate-project", context );
 
         executeAction( "store-project", context );
 
         executeAction( "add-project-to-checkout-queue", context );
+
+        executeAction( "add-assignable-roles", context );
 
         return ( (Integer) context.get( AbstractContinuumAction.KEY_PROJECT_ID ) ).intValue();
     }



Mime
View raw message