Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » run haetae
run haetae [message #1740285] Thu, 11 August 2016 08:27 Go to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
How can I use haetae for static analysis of ETL ?
Can it fully detect errors for both declarative and imperative part of ETL?
Re: run haetae [message #1740304 is a reply to message #1740285] Thu, 11 August 2016 11:34 Go to previous messageGo to next message
Ran Wei is currently offline Ran WeiFriend
Messages: 75
Registered: September 2012
Location: York, UK
Member
Hi, Yes, Haetae is compatible with ETL, it is able to detect errors for both declarative and imperative parts of ETL. However, I would recommend to be cautious about the use of Any type - for best results, it is recommended to assign a variable (of any type) with the values that conform to the same type throughout the entire program.

If any problems please let me know.

Cheers,
Will


Research Associate
Department of Computer Science
University of York
Re: run haetae [message #1740456 is a reply to message #1740304] Sat, 13 August 2016 08:58 Go to previous messageGo to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
Thank you for your reply. In eclipse I went to install new software and enter the update site url. I went to Epsilon Haetae Preference and then Import all of Haetae files (that are in github) to eclipse. I create my project when I right click on my etl file, I have 3 sub menu in Epsilon Haetae. On which one of these should I click for detecting errors?
when I want to use source metamodel named Tree.ecore. How can I declare it in etl file?
Re: run haetae [message #1744216 is a reply to message #1740456] Fri, 23 September 2016 12:13 Go to previous messageGo to next message
Ran Wei is currently offline Ran WeiFriend
Messages: 75
Registered: September 2012
Location: York, UK
Member
To use Haetae, you need to go to the Preference settings in Eclipse, under Epsilon, tick "enable static analysis (experimental)". At the same time, under Epsilon Haetae, tick "Enable Epsilon Haetae (experimental)".

Haetae will take effect when these settings are applied.

You should register your metamodel before you declare it in your program. To do so, right click on Tree.ecore and select "register EPackages" from the menu.

You should declare your metamodel using the NSURI of Tree.ecore, if you are not sure what it is, In Eclipse, click Window -> Show View -> Other and search for "EPackage Registry", the registered Tree.ecore should be in the registry. What you need to enter is the nsuri. For example:

model Tree driver EMF {nsuri="http://www.eclipse.org/emf/2002/Tree"};

I hope this helps.


Research Associate
Department of Computer Science
University of York
Re: run haetae [message #1746035 is a reply to message #1744216] Thu, 20 October 2016 16:50 Go to previous messageGo to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
I did this settings and declared meta models but It couldn't take effect. Is there any plugins that must installed to Haetae take effect? (I only installed eclipse mars2 containing epsilon 1.3)

[Updated on: Thu, 20 October 2016 16:55]

Report message to a moderator

Re: run haetae [message #1746085 is a reply to message #1746035] Fri, 21 October 2016 12:36 Go to previous messageGo to next message
Ran Wei is currently offline Ran WeiFriend
Messages: 75
Registered: September 2012
Location: York, UK
Member
Hi, I have recently picked up with migrating Haetae to the new repository. And I noticed that the previous build had som problems for ETL and EVL supports. This problem has now been fixed, so please checkout the latest version and try again.

Cheers,
Will


Research Associate
Department of Computer Science
University of York

[Updated on: Fri, 21 October 2016 12:40]

Report message to a moderator

Re: run haetae [message #1746100 is a reply to message #1746085] Fri, 21 October 2016 17:28 Go to previous messageGo to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
It works! Thank you very much indeed.
Re: run haetae [message #1755740 is a reply to message #1746100] Tue, 07 March 2017 11:34 Go to previous messageGo to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
Can I see .model file generated with Haetae in the form of class diagram?
Re: run haetae [message #1755791 is a reply to message #1755740] Wed, 08 March 2017 08:54 Go to previous messageGo to next message
Ran Wei is currently offline Ran WeiFriend
Messages: 75
Registered: September 2012
Location: York, UK
Member
Hi, to see .model in the form of a diagram you would probably need to generate an editor for ETL, which can be achieved in EMF. Alternatively you can use EuGENia [1].

Cheers,
Will

[1]. https://www.eclipse.org/epsilon/examples/index.php?example=org.eclipse.epsilon.eugenia.examples.flowchart


Research Associate
Department of Computer Science
University of York
Re: run haetae [message #1755965 is a reply to message #1755791] Thu, 09 March 2017 15:33 Go to previous message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
Thank you very much
Previous Topic:Accessing EPL and EVL intermediate models
Next Topic:Different views of the same model
Goto Forum:
  


Current Time: Mon Jan 22 10:41:22 GMT 2018

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

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