Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Bug in


I found a problem when implementing a new Makefile generator. In your code calls the custom Makefile generator: 

(in incrementalBuild)

MultiStatus result = generator.generateMakefiles(delta);
if (result.getCode() == IStatus.WARNING || result.getCode() == IStatus.INFO) {

Is there any reason why there is no check for an error code??? I mean something like that:

if (result.getCode() == IStatus.ERROR)

Currently, there is no way to tell the framework that an error occured during Makefile generation and that the build process should be stopped. The only way this is possible is, to pass back 'null' as the result and force an exception in the code above, but this is surely really hacky.

Any comments?

Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren!

Back to the top