Skip to main content


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 Azizi is currently offline Banafsheh AziziFriend
Messages: 328
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?


Member of MDSE Research Group
http://mdse.ui.ac.ir
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: 119
Registered: September 2012
Location: York, UK
Senior 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 Azizi is currently offline Banafsheh AziziFriend
Messages: 328
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?


Member of MDSE Research Group
http://mdse.ui.ac.ir
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: 119
Registered: September 2012
Location: York, UK
Senior 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 Azizi is currently offline Banafsheh AziziFriend
Messages: 328
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)

Member of MDSE Research Group
http://mdse.ui.ac.ir

[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: 119
Registered: September 2012
Location: York, UK
Senior 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 Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
It works! Thank you very much indeed.

Member of MDSE Research Group
http://mdse.ui.ac.ir
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 Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
Can I see .model file generated with Haetae in the form of class diagram?

Member of MDSE Research Group
http://mdse.ui.ac.ir
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: 119
Registered: September 2012
Location: York, UK
Senior 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 messageGo to next message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
Thank you very much

Member of MDSE Research Group
http://mdse.ui.ac.ir
Re: run haetae [message #1797663 is a reply to message #1755965] Sun, 04 November 2018 13:47 Go to previous messageGo to next message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
Hi there,

How can I send a part of ETL or EOL program as string to Haetae and get its equivalent model programmatically?

Best Regards,
Banafsheh

+ I have also asked this question in github


Member of MDSE Research Group
http://mdse.ui.ac.ir
Re: run haetae [message #1798020 is a reply to message #1797663] Sat, 10 November 2018 13:19 Go to previous messageGo to next message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
No one can help me?

Member of MDSE Research Group
http://mdse.ui.ac.ir
Re: run haetae [message #1798087 is a reply to message #1797663] Mon, 12 November 2018 09:35 Go to previous messageGo to next message
Ran Wei is currently offline Ran WeiFriend
Messages: 119
Registered: September 2012
Location: York, UK
Senior Member
Hello,

In Haetae, there are a number of creators which are responsible for generating models based on the AST. Please refer to [1].

So for a given segment of code what you need to do is to:

1) get the ast of it
2) feed the ast to one of the creators, not that wrong type of AST will yeild an error for you
3) get the in memory EOLelement and do things with it.

Hope this helps.

Cheers!
Ran


Research Associate
Department of Computer Science
University of York
Re: run haetae [message #1798277 is a reply to message #1798087] Wed, 14 November 2018 19:54 Go to previous message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
Thanks. I think the reference [1] has been missed.

Member of MDSE Research Group
http://mdse.ui.ac.ir

[Updated on: Wed, 14 November 2018 19:54]

Report message to a moderator

Previous Topic:Module ordering in project explorer
Next Topic:Creating a Simulink Model From Epsylon
Goto Forum:
  


Current Time: Thu Apr 18 11:13:14 GMT 2024

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

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

Back to the top