You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Patrick Huber (JIRA)" <ji...@codehaus.org> on 2007/02/28 17:00:43 UTC

[jira] Created: (CONTINUUM-1191) editProject: NoSuchMethodException:

editProject: NoSuchMethodException:
-----------------------------------

                 Key: CONTINUUM-1191
                 URL: http://jira.codehaus.org/browse/CONTINUUM-1191
             Project: Continuum
          Issue Type: Bug
          Components: XMLRPC Interface
    Affects Versions: 1.0.3
            Reporter: Patrick Huber



I'm writing a small application that's intended to consolidate all build goals and arguments for all our projects in continuum:

Client:
---
String address = "http://continuumhost:8000/continuum";
        
        ProjectsReader reader = new ProjectsReader(new URL(address));
        
        for (Project project : reader.readProjects()) {
//          reader.refreshProject(project);
          
          List<BuildDefinition> defs = project.getBuildDefinitions();
          if (defs != null && defs.size() == 1) {
            for (BuildDefinition def : defs) {
              def.setGoals("clean deploy site:site site:deploy eclipse:eclipse scm:checkin");
              def.setArguments("--batch-mode --non-recursive -Dincludes=\".project .classpath .settings\" -Dmessage=\"continuum checkin of generated eclipse files\"");
            }
          }
          else {
            System.out.println("Project " + project.getId() + " " + project.getName() + " has not exactly one build");
          }
          
          reader.editProject(project);
---

Exception:
---
Exception in thread "main" org.apache.xmlrpc.XmlRpcException: java.lang.NoSuchMethodException: org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.updatenullProject(java.util.Hashtable)
	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:102)
	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:69)
	at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:193)
	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
	at org.apache.maven.continuum.rpc.ProjectsReader.editProject(ProjectsReader.java:127)
	at SampleClient.main(SampleClient.java:55)
---

It doesn't matter wether or not "reader.refreshProject(project);" is active. Am I doing something wrong here or is this a bug? The documentation only shows how to read a project...

-- 
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

        

[jira] Reopened: (CONTINUUM-1191) editProject: NoSuchMethodException:

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse reopened CONTINUUM-1191:
-----------------------------------------


> editProject: NoSuchMethodException:
> -----------------------------------
>
>                 Key: CONTINUUM-1191
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1191
>             Project: Continuum
>          Issue Type: Bug
>          Components: XMLRPC Interface
>    Affects Versions: 1.0.3
>            Reporter: Patrick Huber
>            Assignee: Emmanuel Venisse
>             Fix For: 1.1-beta-1
>
>
> I'm writing a small application that's intended to consolidate all build goals and arguments for all our projects in continuum:
> Client:
> ---
> String address = "http://continuumhost:8000/continuum";
>         
>         ProjectsReader reader = new ProjectsReader(new URL(address));
>         
>         for (Project project : reader.readProjects()) {
> //          reader.refreshProject(project);
>           
>           List<BuildDefinition> defs = project.getBuildDefinitions();
>           if (defs != null && defs.size() == 1) {
>             for (BuildDefinition def : defs) {
>               def.setGoals("clean deploy site:site site:deploy eclipse:eclipse scm:checkin");
>               def.setArguments("--batch-mode --non-recursive -Dincludes=\".project .classpath .settings\" -Dmessage=\"continuum checkin of generated eclipse files\"");
>             }
>           }
>           else {
>             System.out.println("Project " + project.getId() + " " + project.getName() + " has not exactly one build");
>           }
>           
>           reader.editProject(project);
> ---
> Exception:
> ---
> Exception in thread "main" org.apache.xmlrpc.XmlRpcException: java.lang.NoSuchMethodException: org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.updatenullProject(java.util.Hashtable)
> 	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:102)
> 	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:69)
> 	at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:193)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
> 	at org.apache.maven.continuum.rpc.ProjectsReader.editProject(ProjectsReader.java:127)
> 	at SampleClient.main(SampleClient.java:55)
> ---
> It doesn't matter wether or not "reader.refreshProject(project);" is active. Am I doing something wrong here or is this a bug? The documentation only shows how to read a project...

-- 
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

        

[jira] Updated: (CONTINUUM-1191) editProject: NoSuchMethodException:

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse updated CONTINUUM-1191:
----------------------------------------

    Fix Version/s:     (was: 1.1-beta-1)
                   1.1-beta-2

> editProject: NoSuchMethodException:
> -----------------------------------
>
>                 Key: CONTINUUM-1191
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1191
>             Project: Continuum
>          Issue Type: Bug
>          Components: XMLRPC Interface
>    Affects Versions: 1.0.3
>            Reporter: Patrick Huber
>             Fix For: 1.1-beta-2
>
>
> I'm writing a small application that's intended to consolidate all build goals and arguments for all our projects in continuum:
> Client:
> ---
> String address = "http://continuumhost:8000/continuum";
>         
>         ProjectsReader reader = new ProjectsReader(new URL(address));
>         
>         for (Project project : reader.readProjects()) {
> //          reader.refreshProject(project);
>           
>           List<BuildDefinition> defs = project.getBuildDefinitions();
>           if (defs != null && defs.size() == 1) {
>             for (BuildDefinition def : defs) {
>               def.setGoals("clean deploy site:site site:deploy eclipse:eclipse scm:checkin");
>               def.setArguments("--batch-mode --non-recursive -Dincludes=\".project .classpath .settings\" -Dmessage=\"continuum checkin of generated eclipse files\"");
>             }
>           }
>           else {
>             System.out.println("Project " + project.getId() + " " + project.getName() + " has not exactly one build");
>           }
>           
>           reader.editProject(project);
> ---
> Exception:
> ---
> Exception in thread "main" org.apache.xmlrpc.XmlRpcException: java.lang.NoSuchMethodException: org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.updatenullProject(java.util.Hashtable)
> 	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:102)
> 	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:69)
> 	at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:193)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
> 	at org.apache.maven.continuum.rpc.ProjectsReader.editProject(ProjectsReader.java:127)
> 	at SampleClient.main(SampleClient.java:55)
> ---
> It doesn't matter wether or not "reader.refreshProject(project);" is active. Am I doing something wrong here or is this a bug? The documentation only shows how to read a project...

-- 
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

        

[jira] Closed: (CONTINUUM-1191) editProject: NoSuchMethodException:

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse closed CONTINUUM-1191.
---------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.1-beta-2)
                   1.1-beta-1

> editProject: NoSuchMethodException:
> -----------------------------------
>
>                 Key: CONTINUUM-1191
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1191
>             Project: Continuum
>          Issue Type: Bug
>          Components: XMLRPC Interface
>    Affects Versions: 1.0.3
>            Reporter: Patrick Huber
>            Assignee: Emmanuel Venisse
>             Fix For: 1.1-beta-1
>
>
> I'm writing a small application that's intended to consolidate all build goals and arguments for all our projects in continuum:
> Client:
> ---
> String address = "http://continuumhost:8000/continuum";
>         
>         ProjectsReader reader = new ProjectsReader(new URL(address));
>         
>         for (Project project : reader.readProjects()) {
> //          reader.refreshProject(project);
>           
>           List<BuildDefinition> defs = project.getBuildDefinitions();
>           if (defs != null && defs.size() == 1) {
>             for (BuildDefinition def : defs) {
>               def.setGoals("clean deploy site:site site:deploy eclipse:eclipse scm:checkin");
>               def.setArguments("--batch-mode --non-recursive -Dincludes=\".project .classpath .settings\" -Dmessage=\"continuum checkin of generated eclipse files\"");
>             }
>           }
>           else {
>             System.out.println("Project " + project.getId() + " " + project.getName() + " has not exactly one build");
>           }
>           
>           reader.editProject(project);
> ---
> Exception:
> ---
> Exception in thread "main" org.apache.xmlrpc.XmlRpcException: java.lang.NoSuchMethodException: org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.updatenullProject(java.util.Hashtable)
> 	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:102)
> 	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:69)
> 	at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:193)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
> 	at org.apache.maven.continuum.rpc.ProjectsReader.editProject(ProjectsReader.java:127)
> 	at SampleClient.main(SampleClient.java:55)
> ---
> It doesn't matter wether or not "reader.refreshProject(project);" is active. Am I doing something wrong here or is this a bug? The documentation only shows how to read a project...

-- 
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

        

[jira] Closed: (CONTINUUM-1191) editProject: NoSuchMethodException:

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse closed CONTINUUM-1191.
---------------------------------------

      Assignee: Emmanuel Venisse
    Resolution: Fixed

Now, the projec can be edited

> editProject: NoSuchMethodException:
> -----------------------------------
>
>                 Key: CONTINUUM-1191
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1191
>             Project: Continuum
>          Issue Type: Bug
>          Components: XMLRPC Interface
>    Affects Versions: 1.0.3
>            Reporter: Patrick Huber
>            Assignee: Emmanuel Venisse
>             Fix For: 1.1-beta-2
>
>
> I'm writing a small application that's intended to consolidate all build goals and arguments for all our projects in continuum:
> Client:
> ---
> String address = "http://continuumhost:8000/continuum";
>         
>         ProjectsReader reader = new ProjectsReader(new URL(address));
>         
>         for (Project project : reader.readProjects()) {
> //          reader.refreshProject(project);
>           
>           List<BuildDefinition> defs = project.getBuildDefinitions();
>           if (defs != null && defs.size() == 1) {
>             for (BuildDefinition def : defs) {
>               def.setGoals("clean deploy site:site site:deploy eclipse:eclipse scm:checkin");
>               def.setArguments("--batch-mode --non-recursive -Dincludes=\".project .classpath .settings\" -Dmessage=\"continuum checkin of generated eclipse files\"");
>             }
>           }
>           else {
>             System.out.println("Project " + project.getId() + " " + project.getName() + " has not exactly one build");
>           }
>           
>           reader.editProject(project);
> ---
> Exception:
> ---
> Exception in thread "main" org.apache.xmlrpc.XmlRpcException: java.lang.NoSuchMethodException: org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.updatenullProject(java.util.Hashtable)
> 	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:102)
> 	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:69)
> 	at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:193)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
> 	at org.apache.maven.continuum.rpc.ProjectsReader.editProject(ProjectsReader.java:127)
> 	at SampleClient.main(SampleClient.java:55)
> ---
> It doesn't matter wether or not "reader.refreshProject(project);" is active. Am I doing something wrong here or is this a bug? The documentation only shows how to read a project...

-- 
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

        

[jira] Updated: (CONTINUUM-1191) editProject: NoSuchMethodException:

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse updated CONTINUUM-1191:
----------------------------------------

    Fix Version/s:     (was: 1.1-alpha-2)
                   1.1-alpha-3

> editProject: NoSuchMethodException:
> -----------------------------------
>
>                 Key: CONTINUUM-1191
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1191
>             Project: Continuum
>          Issue Type: Bug
>          Components: XMLRPC Interface
>    Affects Versions: 1.0.3
>            Reporter: Patrick Huber
>             Fix For: 1.1-alpha-3
>
>
> I'm writing a small application that's intended to consolidate all build goals and arguments for all our projects in continuum:
> Client:
> ---
> String address = "http://continuumhost:8000/continuum";
>         
>         ProjectsReader reader = new ProjectsReader(new URL(address));
>         
>         for (Project project : reader.readProjects()) {
> //          reader.refreshProject(project);
>           
>           List<BuildDefinition> defs = project.getBuildDefinitions();
>           if (defs != null && defs.size() == 1) {
>             for (BuildDefinition def : defs) {
>               def.setGoals("clean deploy site:site site:deploy eclipse:eclipse scm:checkin");
>               def.setArguments("--batch-mode --non-recursive -Dincludes=\".project .classpath .settings\" -Dmessage=\"continuum checkin of generated eclipse files\"");
>             }
>           }
>           else {
>             System.out.println("Project " + project.getId() + " " + project.getName() + " has not exactly one build");
>           }
>           
>           reader.editProject(project);
> ---
> Exception:
> ---
> Exception in thread "main" org.apache.xmlrpc.XmlRpcException: java.lang.NoSuchMethodException: org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.updatenullProject(java.util.Hashtable)
> 	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:102)
> 	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:69)
> 	at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:193)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
> 	at org.apache.maven.continuum.rpc.ProjectsReader.editProject(ProjectsReader.java:127)
> 	at SampleClient.main(SampleClient.java:55)
> ---
> It doesn't matter wether or not "reader.refreshProject(project);" is active. Am I doing something wrong here or is this a bug? The documentation only shows how to read a project...

-- 
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

        

[jira] Updated: (CONTINUUM-1191) editProject: NoSuchMethodException:

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse McConnell updated CONTINUUM-1191:
---------------------------------------

      Description: 
I'm writing a small application that's intended to consolidate all build goals and arguments for all our projects in continuum:

Client:
---
String address = "http://continuumhost:8000/continuum";
        
        ProjectsReader reader = new ProjectsReader(new URL(address));
        
        for (Project project : reader.readProjects()) {
//          reader.refreshProject(project);
          
          List<BuildDefinition> defs = project.getBuildDefinitions();
          if (defs != null && defs.size() == 1) {
            for (BuildDefinition def : defs) {
              def.setGoals("clean deploy site:site site:deploy eclipse:eclipse scm:checkin");
              def.setArguments("--batch-mode --non-recursive -Dincludes=\".project .classpath .settings\" -Dmessage=\"continuum checkin of generated eclipse files\"");
            }
          }
          else {
            System.out.println("Project " + project.getId() + " " + project.getName() + " has not exactly one build");
          }
          
          reader.editProject(project);
---

Exception:
---
Exception in thread "main" org.apache.xmlrpc.XmlRpcException: java.lang.NoSuchMethodException: org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.updatenullProject(java.util.Hashtable)
	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:102)
	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:69)
	at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:193)
	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
	at org.apache.maven.continuum.rpc.ProjectsReader.editProject(ProjectsReader.java:127)
	at SampleClient.main(SampleClient.java:55)
---

It doesn't matter wether or not "reader.refreshProject(project);" is active. Am I doing something wrong here or is this a bug? The documentation only shows how to read a project...

  was:

I'm writing a small application that's intended to consolidate all build goals and arguments for all our projects in continuum:

Client:
---
String address = "http://continuumhost:8000/continuum";
        
        ProjectsReader reader = new ProjectsReader(new URL(address));
        
        for (Project project : reader.readProjects()) {
//          reader.refreshProject(project);
          
          List<BuildDefinition> defs = project.getBuildDefinitions();
          if (defs != null && defs.size() == 1) {
            for (BuildDefinition def : defs) {
              def.setGoals("clean deploy site:site site:deploy eclipse:eclipse scm:checkin");
              def.setArguments("--batch-mode --non-recursive -Dincludes=\".project .classpath .settings\" -Dmessage=\"continuum checkin of generated eclipse files\"");
            }
          }
          else {
            System.out.println("Project " + project.getId() + " " + project.getName() + " has not exactly one build");
          }
          
          reader.editProject(project);
---

Exception:
---
Exception in thread "main" org.apache.xmlrpc.XmlRpcException: java.lang.NoSuchMethodException: org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.updatenullProject(java.util.Hashtable)
	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:102)
	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:69)
	at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:193)
	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
	at org.apache.maven.continuum.rpc.ProjectsReader.editProject(ProjectsReader.java:127)
	at SampleClient.main(SampleClient.java:55)
---

It doesn't matter wether or not "reader.refreshProject(project);" is active. Am I doing something wrong here or is this a bug? The documentation only shows how to read a project...

    Fix Version/s: 1.1-alpha-2

> editProject: NoSuchMethodException:
> -----------------------------------
>
>                 Key: CONTINUUM-1191
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1191
>             Project: Continuum
>          Issue Type: Bug
>          Components: XMLRPC Interface
>    Affects Versions: 1.0.3
>            Reporter: Patrick Huber
>             Fix For: 1.1-alpha-2
>
>
> I'm writing a small application that's intended to consolidate all build goals and arguments for all our projects in continuum:
> Client:
> ---
> String address = "http://continuumhost:8000/continuum";
>         
>         ProjectsReader reader = new ProjectsReader(new URL(address));
>         
>         for (Project project : reader.readProjects()) {
> //          reader.refreshProject(project);
>           
>           List<BuildDefinition> defs = project.getBuildDefinitions();
>           if (defs != null && defs.size() == 1) {
>             for (BuildDefinition def : defs) {
>               def.setGoals("clean deploy site:site site:deploy eclipse:eclipse scm:checkin");
>               def.setArguments("--batch-mode --non-recursive -Dincludes=\".project .classpath .settings\" -Dmessage=\"continuum checkin of generated eclipse files\"");
>             }
>           }
>           else {
>             System.out.println("Project " + project.getId() + " " + project.getName() + " has not exactly one build");
>           }
>           
>           reader.editProject(project);
> ---
> Exception:
> ---
> Exception in thread "main" org.apache.xmlrpc.XmlRpcException: java.lang.NoSuchMethodException: org.apache.maven.continuum.xmlrpc.DefaultContinuumXmlRpc.updatenullProject(java.util.Hashtable)
> 	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:102)
> 	at org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:69)
> 	at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:193)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:184)
> 	at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:177)
> 	at org.apache.maven.continuum.rpc.ProjectsReader.editProject(ProjectsReader.java:127)
> 	at SampleClient.main(SampleClient.java:55)
> ---
> It doesn't matter wether or not "reader.refreshProject(project);" is active. Am I doing something wrong here or is this a bug? The documentation only shows how to read a project...

-- 
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