[Acceleo] Getting started example doesn't work [message #1047162] |
Mon, 22 April 2013 21:51 |
Joe Gugliemino Messages: 9 Registered: April 2013 |
Junior Member |
|
|
Hi, I'm new to Acceleo and trying to get the Getting Started example (http://wiki.eclipse.org/Acceleo/Getting_Started) to work. My problem is that the screen shots in the wiki don't match up with what I'm seeing in Eclipse. For instance, the first screenshot I've attached (File-->New-->Acceleo Project) shows a window that has extra fields compared to the wiki.
That might be OK, but when I click Next, the next window has an empty Metamodel URIs window, and I cannot put in the UML 3.3.0 URI given in the example. When I entered the URI in a browser I get a 404.
Could somebody point me to instructions that can get me going, or fixes for the problems that I'm having? I'm running Juno SR1, Acceleo 3.3.1 as shown in the screenshot.
Thanks in advance.
- Joe
|
|
|
Re: [Acceleo] Getting started example doesn't work [message #1047622 is a reply to message #1047162] |
Tue, 23 April 2013 12:57 |
|
Hi Joe,
You have simply newer version of acceleo than described in the tutorial, don't panic.
But about the metamodel... You may haven't installed the uml2 feature. It is not required by acceleo. Try to click the "+" button right to the "metamodel URI" field; in the dialog try to write *UML and look for the something_i_dont_remember.uml2.3.0.0
If it appears - choose it, if not - install the uml2 feature first (it is not acceleo feature but eclipse itself)
T.B.
|
|
|
Re: [Acceleo] Getting started example doesn't work [message #1047780 is a reply to message #1047622] |
Tue, 23 April 2013 16:29 |
Joe Gugliemino Messages: 9 Registered: April 2013 |
Junior Member |
|
|
I tried to find UML2 as a download for Eclipse but couldn't. This post in the forums indicates that UML2 is dead and I should use Papyrus. The only Papyrus I found was Mylyn Context Connector: Papyrus UML (Incubation) under Collaboration, and Papyrus SDK Binaries which I had already installed as part of Modeling. I installed the Mylyn Papyrus package, hoping that it might be enough, but it wasn't. Do I need to install Papyrus? If so, where do I get it? This unresolved dependency issue is rapidly becoming frustrating.
- Joe
[Updated on: Tue, 23 April 2013 16:30] Report message to a moderator
|
|
|
|
|
|
|
|
Re: [Acceleo] Getting started example doesn't work [message #1069365 is a reply to message #1069223] |
Mon, 15 July 2013 18:54 |
Joe Gugliemino Messages: 9 Registered: April 2013 |
Junior Member |
|
|
I found the problem. Of course it was simple in hindsight. I have both Juno SR1 and SR2 installed on my system. SR1 is on my path and I never did get Acceleo to work with my .mtl file. I had installed SR2 in an attempt to get around the problems and had success. I had forgotten that I explicitly ran my SR2 install to get my model to generate code. After the reboot I just ran 'eclipse' and didn't realize it was putting me back into SR1.
Now that I've realized it I started running SR2 and things are working again.
- Joe
|
|
|
Powered by
FUDForum. Page generated in 0.06892 seconds