Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Exposing headless build results

I'm working on issue *300554* <https://bugs.eclipse.org/bugs/show_bug.cgi?id=300554> CDT headless build extension to report build success/failure by headless build application exit code. 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);

Is it possible (and what's the procedure is) to change platform API to add build which returns build result?

May be you guys can suggest other ways to workaround this platform API limitation to return build result?

Dmitry


Back to the top