Running a basic example [message #1748903] |
Tue, 29 November 2016 22:39 |
John Dawes Messages: 19 Registered: November 2016 |
Junior Member |
|
|
I am trying to use the products of Epsilon (ETL, EOL etc.) following the examples given in the website and having some issues in running the examples. There is a"Get it!" tab in these examples and following the instruction provided there, I cloned Epsilon's git repository. Now, following the instructions, I tried to navigate to trunk/examples; but, even though I can see a number of example files, there is nothing with 'trunk/'.
Then, according to the instructions, I should import two projects: one with the metamodels project and other one is specific to a project. Now my question is, where should I import these projects? Should I create a general Eclipse project first to import these ones?
Also, for example, in the Flowcchart-to-HTML transformation example, according to the instructions, "right click the .launch file in the org.eclipse.epsilon.examples.egl.flowchart project". There is a number of .launch file exist in this project. Which one should I use to right click?
|
|
|
Re: Running a basic example [message #1748907 is a reply to message #1748903] |
Wed, 30 November 2016 01:23 |
|
Hi John,
> Now, following the instructions, I tried to navigate to trunk/examples; but, even though I can see a number of example files, there is nothing with 'trunk/'.
This was left over from the SVN era. I've fixed this now.
> Now my question is, where should I import these projects?
See http://www.vogella.com/tutorials/Eclipse/article.html#importing-projects for instructions on how to import projects in Eclipse.
> There is a number of .launch file exist in this project. Which one should I use to right click?
There are actually several examples in this project. Each .launch file corresponds to the .egl template next to it.
Cheers,
Dimitris
|
|
|
|
Re: Running a basic example [message #1748938 is a reply to message #1748909] |
Wed, 30 November 2016 09:51 |
|
Hi John,
You only need to import projects under /examples if you don't intend to run Epsilon from source (e.g. if you have downloaded a pre-built Epsilon distribution or you've installed Epsilon through the Eclipse Marketplace or one of its update sites). The behaviour you're encountering with the ETL transformation sounds right; the message is due to the println() statement on line 2 (ETL does not produce any start/end messages by default). After executing oo2db.etl you should also find that a DBInstance.model model under org.eclipse.epsilon.examples.oo2db/models, which is the outcome of the transformation.
Cheers,
Dimitris
|
|
|
|
Powered by
FUDForum. Page generated in 0.04510 seconds