continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r756489 - /continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Fri, 20 Mar 2009 14:47:35 GMT
Author: ctan
Date: Fri Mar 20 14:47:35 2009
New Revision: 756489

URL: http://svn.apache.org/viewvc?rev=756489&view=rev
Log:
[CONTINUUM-2124] create project scm root when adding ant/shell projects

Submitted By: Jose Morales Martinez

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=756489&r1=756488&r2=756489&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
Fri Mar 20 14:47:35 2009
@@ -1466,6 +1466,9 @@
 
         Map context = new HashMap();
 
+        String scmUrl = project.getScmUrl();
+        createProjectScmRoot( projectGroup, scmUrl );
+
         // ----------------------------------------------------------------------
         //
         // ----------------------------------------------------------------------
@@ -1690,7 +1693,7 @@
                 context = new HashMap();
 
                 // CONTINUUM-1953 olamy : attached buildDefs from template here
-                // if no group creation 
+                // if no group creation
                 if ( !projectGroupCreation && buildDefintionTemplateId > 0 )
                 {
                     buildDefinitionService.addTemplateInProject( buildDefintionTemplateId,
@@ -1716,7 +1719,7 @@
                     context.put( AbstractContinuumAction.KEY_SCM_PASSWORD, scmPassword );
                 }
                 // FIXME
-                // olamy  : read again the project to have values because store.updateProjectGroup(
projectGroup ); 
+                // 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, projectDao.getProject(
project.getId() ) );
 



Mime
View raw message