Skip to main content



      Home
Home » Modeling » Epsilon » patching the source code(patching the source code)
patching the source code [message #1063031] Tue, 11 June 2013 16:33 Go to next message
Eclipse UserFriend
Hello

I created patch file and put it in the "patches" directory. I successfully applied patch manually using Team -> Apply Patch .. . But during generation Eugenia does not applied patched automatically. Do you have any suggestions ?

Thanks
Arseniy Isakov
Re: patching the source code [message #1063032 is a reply to message #1063031] Tue, 11 June 2013 16:39 Go to previous messageGo to next message
Eclipse UserFriend
Hi Arseniy,

Are you using the latest interim version [1] of Epsilon? If so, could you please put together a minimal example we can use to reproduce this?

Cheers,
Dimitris

[1] http://download.eclipse.org/epsilon/interim/
Re: patching the source code [message #1063039 is a reply to message #1063032] Tue, 11 June 2013 16:54 Go to previous messageGo to next message
Eclipse UserFriend
No I am using downloaded version for Mac 64bit. How to install your interim version. Link for installation guide is broken.
Thanks
Arseniy
Re: patching the source code [message #1063043 is a reply to message #1063039] Tue, 11 June 2013 17:04 Go to previous messageGo to next message
Eclipse UserFriend
Hi Arsenyi,

You can update your Eclipse installation through Help->Install new software (you should use the interim update site URL in the "Work with:" text box).

Cheers,
Dimitris
Re: patching the source code [message #1063054 is a reply to message #1063043] Tue, 11 June 2013 19:15 Go to previous messageGo to next message
Eclipse UserFriend
I installed last update and for one of my model gmfgen file fail to create

[Updated on: Tue, 11 June 2013 19:16] by Moderator

Re: patching the source code [message #1063151 is a reply to message #1063054] Wed, 12 June 2013 09:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi Arseniy,

If you've installed Epsilon on top of a clean Eclipse modelling distribution copy, you'll also need to install GMF manually (see the Epsilon downloads page). If this is not the case, could you please attach a copy of your project so that I can investigate?

Cheers,
Dimitris
Re: patching the source code [message #1063188 is a reply to message #1063151] Wed, 12 June 2013 10:56 Go to previous messageGo to next message
Eclipse UserFriend
Actually I downloaded prepackaged epsilon from http://www.eclipse.org/epsilon/download/ and install interim version on top. I have attached my project.

In the project I have 2 diagrams: one in the folder "sub" and another in "diagram" folder.
First you need to generate sub.emf which is goes fine, then try to generate diagram.emf

Thanks
Arseniy Isakov

  • Attachment: drilldown.zip
    (Size: 57.72KB, Downloaded 177 times)
Re: patching the source code [message #1063310 is a reply to message #1063188] Wed, 12 June 2013 19:32 Go to previous messageGo to next message
Eclipse UserFriend
Hi Arsenyi,

The previous version of Eugenia did not provide any dedicated support for imported EPackages so I'm afraid this worked accidentally. In the latest version one would need to add the following annotation to point Eugenia at the imported genmodel.

@emf.gen.usedGenPackage(name="sub", genModel="platform:/resource/drilldown/sub/sub.genmodel")
package core;

This works fine until the .gmfmap -> .gmfgen step of the workflow however at that point calling the gmfmap->gmfgen built-in transformation of GMF fails (without an exception) while invoking it through the UI (right-click .gmfmap -> Create Generator Model) seems to be working fine. Clearly, I'll need to investigate more but I suspect that until then, you're better off with the latest stable version of Epsilon. Apologies for any inconvenience this may cause.

Cheers,
Dimitris
Re: patching the source code [message #1063357 is a reply to message #1063310] Wed, 12 June 2013 22:46 Go to previous message
Eclipse UserFriend
Thank you Dimitris.
Previous Topic:Metamodel/model evolution advice please
Next Topic:EGL - syntax error on the simplest example?
Goto Forum:
  


Current Time: Wed Jul 23 20:54:30 EDT 2025

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

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

Back to the top