continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r578038 - /maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
Date Fri, 21 Sep 2007 10:09:40 GMT
Author: evenisse
Date: Fri Sep 21 03:09:38 2007
New Revision: 578038

URL: http://svn.apache.org/viewvc?rev=578038&view=rev
Log:
Fix method name

Modified:
    maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java

Modified: maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java?rev=578038&r1=578037&r2=578038&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
(original)
+++ maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
Fri Sep 21 03:09:38 2007
@@ -21,6 +21,7 @@
 
 import org.apache.maven.continuum.Continuum;
 import org.apache.maven.continuum.ContinuumException;
+import org.apache.maven.continuum.execution.ContinuumBuildExecutorConstants;
 import org.apache.maven.continuum.project.ContinuumProjectState;
 import org.apache.maven.continuum.project.builder.ContinuumProjectBuildingResult;
 import org.apache.maven.continuum.security.ContinuumRoleConstants;
@@ -432,7 +433,7 @@
         ProjectSummary ps = getProjectSummary( projectId );
         checkBuildProjectInGroupAuthorization( ps.getProjectGroup().getName() );
 
-        continuum.buildProject( projectId, buildDefintionId );
+        continuum.buildProjectWithBuildDefinition( projectId, buildDefintionId );
         return 0;
     }
 
@@ -554,7 +555,8 @@
     {
         checkAddProjectGroupAuthorization();
 
-        int projectId = continuum.addProject( populateProject( project ), "ant" );
+        int projectId =
+            continuum.addProject( populateProject( project ), ContinuumBuildExecutorConstants.ANT_BUILD_EXECUTOR
);
         return getProjectSummary( projectId );
     }
 
@@ -563,7 +565,8 @@
     {
         checkAddProjectGroupAuthorization();
 
-        int projectId = continuum.addProject( populateProject( project ), "ant", projectGroupId
);
+        int projectId = continuum.addProject( populateProject( project ),
+                                              ContinuumBuildExecutorConstants.ANT_BUILD_EXECUTOR,
projectGroupId );
         return getProjectSummary( projectId );
     }
 
@@ -576,7 +579,8 @@
     {
         checkAddProjectGroupAuthorization();
 
-        int projectId = continuum.addProject( populateProject( project ), "shell" );
+        int projectId =
+            continuum.addProject( populateProject( project ), ContinuumBuildExecutorConstants.SHELL_BUILD_EXECUTOR
);
         return getProjectSummary( projectId );
     }
 
@@ -585,7 +589,8 @@
     {
         checkAddProjectGroupAuthorization();
 
-        int projectId = continuum.addProject( populateProject( project ), "shell", projectGroupId
);
+        int projectId = continuum.addProject( populateProject( project ),
+                                              ContinuumBuildExecutorConstants.SHELL_BUILD_EXECUTOR,
projectGroupId );
         return getProjectSummary( projectId );
     }
 



Mime
View raw message