mlhim-owners team mailing list archive
-
mlhim-owners team
-
Mailing list archive
-
Message #00309
Eclipse 4 MLHIM
Hi All,
Luciana and the team at UFPR found a possible solution to exporting
ECore models to other languages such as Pythn, XSD, Ruby, PHP, etc.
It is a project called Acceleo. Reading the information about
Acceleo is very promising.
Acceleo is a template based meta-model and can write (based on a
template) any format desired.
However, attempts at installing Acceleo and it's dependencies into an
existing Galileo (3.5) eclipse that is in the Ubuntu repositories lead
myself and others into dependency hell.
The solution I have found is to manually install a new copy of the
latest version of Eclipse Indigo (3.7).
I have reimported the MLHIM2 schemas and there are errors according to
EMF capabilities so the model will need to change accordingly.
After correcting the Ecore model I will begin to explore Acceleo.
I invite anyone to interested to join in a conversation here about
moving (back) to using Eclipse EMF as a foundational modelling
framework for MLHIM.
Here are the steps I have taken to install Eclipse Indigo.
Eclipse for MLHIM Install on Unbuntu 11.04
===========================================
The Ubuntu repositories have the 3.5 (Galileo) release.
These steps are for a manual install of 3.7 (Indigo).
http://www.eclipse.org/downloads/
Download (for your platform):
Eclipse Modeling Tools
This package contains framework and tools to leverage models: an Ecore
graphical modeler (class-like diagram), Java code generation utility
for RCP applications and the EMF Framework, model comparison support,
support for XSD schemas, OCL and graphical modeler runtimes. It
includes a complete SDK, developer tools and source code.
Unpack the archive into your home directory and it will create a
directory named 'eclipse'.
There is an executable name 'eclipse' in that directory.
On first execution, click on Help->Check for updates
Install Acceleo according to instructions here:
http://www.eclipse.org/acceleo/download/#installUpdate
Restart as suggested.
If you are going to be doing Python development then install PyDev as
described here:
http://pydev.org/manual_101_install.html#installing-with-the-update-site
I did not install Mylyn Integration
There is an Acceleo Qucik Start and other tutorials here:
http://www.eclipse.org/acceleo/documentation/
Acceleo is the big game changer for using Eclipse or not. It is worth
exploring.
============================================================================
You can then get the mlhim-specs which includes an EMF project:
bzr branch lp:mlhim-specs
Then in Eclipse go to
File->Import->General->Existing Projects into Workspace
I think that should work.
Cheers,
Tim
--
================
Timothy Cook, MSc
Visit my blog at: http://hiiacw.blogspot.com/
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
Skype ID == timothy.cook
Academic.Edu Profile: http://uff.academia.edu/TimothyCook
Follow ups