continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject svn commit: r179820 - /maven/continuum/trunk/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java
Date Fri, 03 Jun 2005 15:40:27 GMT
Author: trygvis
Date: Fri Jun  3 08:40:26 2005
New Revision: 179820

URL: http://svn.apache.org/viewcvs?rev=179820&view=rev
Log:
o Making the XML-RPC interface use Continuum instead of ContinuumCore directly.

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

Modified: maven/continuum/trunk/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java?rev=179820&r1=179819&r2=179820&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java
(original)
+++ maven/continuum/trunk/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java
Fri Jun  3 08:40:26 2005
@@ -42,7 +42,6 @@
 import org.apache.maven.continuum.project.AntProject;
 import org.apache.maven.continuum.project.MavenTwoProject;
 import org.apache.maven.continuum.project.builder.maven.MavenOneContinuumProjectBuilder;
-import org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder;
 import org.apache.maven.continuum.scm.CheckOutScmResult;
 import org.apache.maven.continuum.scm.UpdateScmResult;
 
@@ -93,9 +92,13 @@
     {
         try
         {
-            Collection projectIds = core.addProjectsFromUrl( url, MavenTwoContinuumProjectBuilder.ID
);
+            // TODO: Get the added projects and return the IDs
+            continuum.addMavenTwoProject( url );
 
-            return makeHashtable( "projectIds", xmlRpcHelper.collectionToVector( projectIds,
false ) );
+//            Collection projectIds = core.addProjectsFromUrl( url, MavenTwoContinuumProjectBuilder.ID
);
+
+//            return makeHashtable( "projectIds", xmlRpcHelper.collectionToVector( projectIds,
false ) );
+            return makeHashtable( "projectIds", xmlRpcHelper.collectionToVector( new Vector(),
false ) );
         }
         catch ( Throwable e )
         {



Mime
View raw message