views:

229

answers:

0

I'm currently trying to create a tool that uses the cruise control api for builds.

I've managed to create a real time log of builds, however i'm struggling with adding a new project to the server through the use of the api.

I'm trying to use something along these lines:

RemoteCruiseManagerFactory factory = new RemoteCruiseManagerFactory();
ICruiseManager mgr = factory.GetCruiseManager("<url of cruise manager");

mgr.AddProject(<project name>);

I've tried to add the project through an xml file AND through direct xml itself to no avail. Which makes me wonder if i have not set up the project correctly.

I wondered if others have faced this problem? And which tags are manditory for the project (ie, should i include the config version and cruise control tags instead of just the tags for the project?)