Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Exposing build results
Exposing build results [message #531775] Thu, 06 May 2010 07:17
Dmitry is currently offline DmitryFriend
Messages: 1
Registered: July 2009
Junior Member
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?
Previous Topic:Tutorial for creating custom "Run Configuration"
Next Topic:JVM crashes while executing native code (DLL)
Goto Forum:
  


Current Time: Wed Nov 26 10:21:15 GMT 2014

Powered by FUDForum. Page generated in 0.01768 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software