Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Validation with StandaloneSetup
Validation with StandaloneSetup [message #637502] Fri, 05 November 2010 21:06 Go to next message
Michael Zeising is currently offline Michael ZeisingFriend
Messages: 11
Registered: March 2010
Junior Member
Hi there,

is it possible to trigger the Java validation when using the StandaloneSetup so that it runs the checks and stores the errors and warnings as Diagnostics in the EMF Resource?

Thanks,
Michael
Re: Validation with StandaloneSetup [message #637530 is a reply to message #637502] Sat, 06 November 2010 09:40 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Michael,

that's not possible but you may use the IResourceValidator (since Xtet
1.0) to obtain all errors and warnings from the resource and the java
validator.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 05.11.10 22:06, schrieb Michael Zeising:
> Hi there,
>
> is it possible to trigger the Java validation when using the
> StandaloneSetup so that it runs the checks and stores the errors and
> warnings as Diagnostics in the EMF Resource?
>
> Thanks,
> Michael
Previous Topic:Injecting a model into a .xmi is very slow
Next Topic:How to make formatter ignore part of the code?
Goto Forum:
  


Current Time: Thu Apr 18 09:46:23 GMT 2024

Powered by FUDForum. Page generated in 0.01948 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top