|Display EXPENSIVE checks when building [message #1793212]
||Wed, 01 August 2018 14:46
| Alexander Fichtinger
Registered: January 2013
I want to do the Xtext validation programatically. Therefore I perform the following code:
final IResourceValidator validator = eResource.getResourceServiceProvider().getResourceValidator();
return validator.validate(eResource, CheckMode.ALL, null);
This works fine for getting all validation issues.
The problem is, that the error markers are not shown.
I read in another forum topic that it should be sufficient if a project build just with the XtextBuilder is triggered.
So I've tried this:
project.build(IncrementalProjectBuilder.FULL_BUILD, XTEXT_BUILDER_ID, null, new NullProgressMonitor());
Unfortunately, the markers are not generated too.
The biggest problem for me is, that the markers for EXPENSIVE checks are not shown.
Is there a way to show the markers? Or could you give me a hint about what I'm doing wrong?
Thank you very much! =)
Powered by FUDForum
. Page generated in 0.02106 seconds