I'm developing an eclipse rcp. When i run a project, it is first builded and then launched. If the builder failed to compile the project, then i have to notify the user about that.

Which is the better way to know if there were errors during compilation?

thanks