Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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());

0 votes



One answer

Permanent link
Has there been any follow up on this?  The pattern described also does not work for me.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,954

Question asked: Jan 09 '15, 1:59 a.m.

Question was seen: 3,896 times

Last updated: Sep 28 '15, 6:59 p.m.

Confirmation Cancel Confirm