continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r489020 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Wed, 20 Dec 2006 10:34:11 GMT
Author: evenisse
Date: Wed Dec 20 02:34:10 2006
New Revision: 489020

URL: http://svn.apache.org/viewvc?view=rev&rev=489020
Log:
[CONTINUUM-1025] Add Project Group Actions in Project Group page when no project are added
Submitted by: Maria Odea Ching

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=489020&r1=489019&r2=489020
==============================================================================
--- 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
Wed Dec 20 02:34:10 2006
@@ -281,6 +281,10 @@
                                               e );
             }
 
+            Map context = new HashMap();
+            context.put( AbstractContinuumAction.KEY_PROJECT_GROUP_ID, new Integer( new_pg.getId()
) );
+            executeAction( "add-assignable-roles", context );
+
             getLogger().info( "Added new project group: " + new_pg.getName() );
         }
         else



Mime
View raw message