continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: Add / remove ProjectNotifiers using XML-RPC in Continuum 1.0.3
Date Tue, 23 Oct 2007 11:17:22 GMT
I don't think it's possible. Some features was missing in 1.0.3.
You can checkout the code of 1.0.3 and create a patch.

Emmanuel

Banck, Arent-Jan a écrit :
> Hi,
> I am trying to use the XML-RPC API to manage the notifiers for a
> project, but am unsuccessful doing so. 
> When adding notifiers in the web-ui, and iterating over the
> projects/notifiers, list of notifiers length is always zero.
> I am using SampleClient.java as basis, code snippet:
>             projects = pr.readProjects();
>             for ( int i = 0; i < projects.length; i++ )
>             {
>                 System.out.println( projects[i] + " - Name=" +
> projects[i].getName() );
> 
>                 List notifiers = projects[i].getNotifiers();           
>                 System.out.println(notifiers.size()); // Always zero
> 
> When trying to add a notifier by creating a new one and adding it by:
>     projects[i].addNotifier(newNotifier);
> the notifier doesn't seem to get added.
>  
> Am I missing something here, what to do to get this working?
>  
> Thanks,
>  
> Arent-Jan
> 


Mime
View raw message