continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-544) there is no xmlrpc client code for contacting the server.
Date Fri, 27 Jan 2006 21:42:08 GMT
    [ http://jira.codehaus.org/browse/CONTINUUM-544?page=comments#action_57142 ] 

Henri Yandell commented on CONTINUUM-544:
-----------------------------------------

Here's some sample code for using Milos' client:

{{monospaced}}
import java.net.URL;
import org.codehaus.mevenide.continuum.rpc.ProjectsReader;
import org.apache.maven.continuum.model.project.Project;

public class Test {

    public static void main(String[] args) throws Exception {
        ProjectsReader rdr = new ProjectsReader(new URL(args[0]));
        Project[] projects = rdr.readProjects();
        for(int i=0; i<projects.length; i++) {
            if( projects[i].getId() == 10 ) {
                projects[i].setVersion("1.1");
                rdr.updateProject(projects[i]);
                rdr.buildProject(projects[i]);
            }
        }
    }

}       
{{monospaced}}

> there is no xmlrpc client code for contacting the server.
> ---------------------------------------------------------
>
>          Key: CONTINUUM-544
>          URL: http://jira.codehaus.org/browse/CONTINUUM-544
>      Project: Continuum
>         Type: New Feature

>   Components: XMLRPC Interface
>     Reporter: Milos Kleint
>      Fix For: 1.1
>  Attachments: continuum-rpc-client.zip
>
>
> sibmitting a simple library for client code interaction, currently used at mevenide

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message