Refresh problem markers after generating javafiles ? [message #1222027] |
Thu, 19 December 2013 09:36 |
Eclipse User |
|
|
|
Hi,
I have some xtext based emf models from which I create java code.
When I call the builders on Ctrl+S (Auto build activated) the builder is started.
But the builder results to manipulate java classes.
When I remove e.g. model elements I could run in an compile error, because I used generated
java classes, which are not available any more. That compile error is a legal situation and I expect it to be shown in problems view.
If I have the file open, where the error occurs, I have an error marker in the editor. But neither in navigator nor in problems view this error is visible. I have to Resave this java class to trigger a rebuild to make this error visible.
I've added project.getResource().refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor()) after running my builder, which doesn't have an influence.
Can you please tell me, what's a clean implementation for this problem?
Thanks in advance
Cheers
Markus
|
|
|
Powered by
FUDForum. Page generated in 0.03173 seconds