BuildEngine can't be set inactive in v7.0.1
Trying to set a build engine inactive using the following snippet:
IBuildEngine buildEngine = buildClient.getBuildEngine(buildengine.getId(),monitor);
IBuildEngine toBEdeactivateWorkingCopy = (IBuildEngine) buildEngine.getWorkingCopy();
toBEdeactivateWorkingCopy.setActive(false);
buildClient.save(toBEdeactivateWorkingCopy, monitor);
Although the setActive doesn't report any issues, the build engine continues to stay active after the code executes.
Any ideas?