Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » [solved] On demand triggering of validation
[solved] On demand triggering of validation [message #1228957] Wed, 08 January 2014 12:18 Go to next message
Lars Martin is currently offline Lars MartinFriend
Messages: 24
Registered: July 2009
Junior Member
Hi,

is there any chance to trigger validation / checks manually? We have a huge set of custom validations where we have to check data on remote systems like databases or web servers. Due to high net latency and low speed of remote system the costs for a clean/full build increases massively. Is there any "best practice" - any starting point?

Thanks in advance, Lars M.

[Updated on: Sat, 25 January 2014 18:28]

Report message to a moderator

Re: On demand triggering of validation [message #1228962 is a reply to message #1228957] Wed, 08 January 2014 12:27 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13669
Registered: July 2009
Senior Member
Hi,

this is what

@Check(CheckType.EXPENSIVE)

is made for.

you can call the validator on a file manually by rightclick validate in an open editor (*there might be more than one in context menu so you have to pick the right one*)

of course you could come up with something that does the check on a whole folder or even a project... but this you would have to do yourself.


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: On demand triggering of validation [message #1235932 is a reply to message #1228962] Sat, 25 January 2014 18:29 Go to previous message
Lars Martin is currently offline Lars MartinFriend
Messages: 24
Registered: July 2009
Junior Member
Thanks Christian for the hint. Works like a charm. Regards, L.
Previous Topic:Manipulate getExportedObjects from third party DSL
Next Topic:XtextCON
Goto Forum:
  


Current Time: Sun Dec 06 02:05:32 GMT 2020

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

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

Back to the top