[ 
http://jira.codehaus.org/browse/CONTINUUM-2146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=190855#action_190855
 ] 

Bernhard Trummer commented on CONTINUUM-2146:
---------------------------------------------

Sorry, I don't have the full code anymore.
But it just was a proper new ContinuumXmlRpcClient() together with the code 
snippet of this bug's description.
Put a static void main() around and it should be runnable. :-)

> Local repository not set in project group when adding via the XMLRPC interface
> ------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-2146
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2146
>             Project: Continuum
>          Issue Type: Bug
>          Components: XMLRPC Interface
>    Affects Versions: 1.2.3
>         Environment: Linux, Sun Java SDK 1.5.0_16
>            Reporter: Bernhard Trummer
>            Priority: Minor
>             Fix For: 1.x
>
>         Attachments: project-groups.png
>
>
> I created a project group via the web interface and another one via the 
> XMLRPC interface with the following code snippet:
> {code}
> LocalRepository repository = client.getLocalRepository(1); // = DEFAULT
> ProjectGroupSummary summary = new ProjectGroupSummary();
> summary.setName("created-via-api");
> summary.setGroupId("group.created.api");
> summary.setLocalRepository(repository);
> client.addProjectGroup(summary);
> {code}
> The difference is that the API-created one doesn't get the local repository 
> set as shown in the attached screenshot.

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

        

Reply via email to