Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Evl validation without GUI
Evl validation without GUI [message #1784089] Thu, 22 March 2018 11:45 Go to next message
Nicola Serreli is currently offline Nicola SerreliFriend
Messages: 26
Registered: July 2009
Junior Member
Hello,

I'm using EVL to validate an EMF model.
I notice that it requires always a display, so it is a problem to run an evl validation from command line (if there is no display available).

As far as I can see, there is no distinction between "GUI" plugins and "GUI-free" plugins.
This implies also that the minimum eclipse RCP with evl plugins, must also contains eclipse plugins to provide GUI support.

There is any planning about split "GUI" and "not-GUI-related" code in two distinct set of plugins?
Or at least a way to make the GUI dependency optional.

Best regards
Nicola
Re: Evl validation without GUI [message #1784090 is a reply to message #1784089] Thu, 22 March 2018 11:58 Go to previous messageGo to next message
Simos Gerasimou is currently offline Simos GerasimouFriend
Messages: 3
Registered: March 2017
Junior Member
Hi Nicola,

You can validate the EMF model by programmatically running the EVL script.
Please take a look at the standalone examples of Epsilon (https://git.eclipse.org/c/epsilon/org.eclipse.epsilon.git/plain/examples/org.eclipse.epsilon.examples.standalone/src/org/eclipse/epsilon/examples/standalone)

Does this help?

Regards,
Simos

[Updated on: Thu, 22 March 2018 12:18]

Report message to a moderator

Re: Evl validation without GUI [message #1784095 is a reply to message #1784089] Thu, 22 March 2018 12:54 Go to previous messageGo to next message
Nicola Serreli is currently offline Nicola SerreliFriend
Messages: 26
Registered: July 2009
Junior Member
Hi Simos,

currently, I'm using EvlValidation ( https://git.eclipse.org/c/epsilon/org.eclipse.epsilon.git/plain/plugins/org.eclipse.epsilon.evl.emf.validation/src/org/eclipse/epsilon/evl/emf/validation/EvlValidator.java ) to validate an EMF model.

But its manifest (https://git.eclipse.org/c/epsilon/org.eclipse.epsilon.git/plain/plugins/org.eclipse.epsilon.evl.emf.validation/META-INF/MANIFEST.MF) requires the org.eclipse.ui.ide plugin.


I will check how replace the EvlValidation class/plugin with the standalone example.
Thank you,

Nicola
Re: Evl validation without GUI [message #1786489 is a reply to message #1784095] Fri, 04 May 2018 10:08 Go to previous message
Horacio Hoyos is currently offline Horacio HoyosFriend
Messages: 242
Registered: October 2009
Location: Mexico
Senior Member

Hi Nicola,

EvlValidation is intended to be used to respond to Validate commands on the right click menu of Emf Models currently opened in an Emf Editor (e.g. the RefelectiveEmdModelEditor). Hence, it depends on an Eclipse instance and that is why you get the UI dependency. For standalone (i.e no Eclipse IDE) you should use the information in the link provided by Simos.

Cheers,


Horacio Hoyos Rodriguez
Kinori Tech
Need professional support for Epsilon, EMF?
Go to: https://kinori.tech
Previous Topic:Accessing enum outside Metamodel
Next Topic:Using negative roles on EPL
Goto Forum:
  


Current Time: Thu Apr 25 16:17:42 GMT 2024

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

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

Back to the top