|Exposing build results [message #531775]
||Thu, 06 May 2010 07:17
Registered: July 2009
I'm working on CDT headless build extension to report build success/failure by headless build application exit code (headless build - is CDT's Eclipse application to build project by means of eclipse but without GUI, helpful for automated builds).|
But I faced that IProject doesn't return exit code, and in Project.internalBuild() result, returned by BuildManager
result = workspace.getBuildManager().build(...) is not exposed. Moreover, in BuildManager.basicBuild() this result is always setup with code indicating that there was a build error:
MultiStatus status = new MultiStatus(ResourcesPlugin.PI_RESOURCES, IResourceStatus.INTERNAL_ERROR, Messages.events_errors, null);
My questions are:
1. Is it possible to change platform API to add build which returns build result.
2. Are there other ways to workaround this platform API limitation to return build result?
Powered by FUDForum
. Page generated in 0.04386 seconds