continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r673533 - /continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Wed, 02 Jul 2008 22:47:58 GMT
Author: olamy
Date: Wed Jul  2 15:47:58 2008
New Revision: 673533

URL: http://svn.apache.org/viewvc?rev=673533&view=rev
Log:
fix empty projet name in the checkout queue

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=673533&r1=673532&r2=673533&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 Jul  2 15:47:58 2008
@@ -1825,6 +1825,7 @@
             projectGroup.addProject( project );
         }
 
+
         try
         {
             store.updateProjectGroup( projectGroup );
@@ -1851,7 +1852,10 @@
                     project.setScmPassword( scmPassword );
                     context.put( AbstractContinuumAction.KEY_SCM_PASSWORD, scmPassword );
                 }
-                context.put( AbstractContinuumAction.KEY_PROJECT, project );
+                // FIXME
+                // olamy  : read again the project to have values because store.updateProjectGroup(
projectGroup ); 
+                // remove object data -> we don't display the project name in the build
queue
+                context.put( AbstractContinuumAction.KEY_PROJECT, store.getProject( project.getId()
)  );
                 executeAction( "add-project-to-checkout-queue", context );
             }
         }



Mime
View raw message