It's all about the answers!

Ask a question

Is it possible to remove build definition supported by build engine ?


Dashrath Kale (1542723) | asked Jan 09 '15, 1:59 a.m.
Using RTC (version 4.0.1) Plain Java API's  , the code to remove the build definition from the supported build definition list of the build engines as shown below is not working as expected i.e. build definition is not getting removed from the supported list of build definitions for the build engine.

Code to remove the build definition:
buildEngine_WorkingCopy.getSupportedBuildDefinitions().remove(buildDefinition);
ClientFactory.getTeamBuildClient(repo).save(buildEngine_WorkingCopy, new NullProgressMonitor());

But the add method to add the build definition to the supported build definition list is working fine as shown below:

Code to add the build definition:

buildEngine_WorkingCopy.getSupportedBuildDefinitions().add(buildDefinition);
ClientFactory.getTeamBuildClient(repo).save(buildEngine_WorkingCopy, new NullProgressMonitor());

One answer



permanent link
Andrew Izu (11) | answered Sep 28 '15, 6:59 p.m.
Has there been any follow up on this?  The pattern described also does not work for me.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.