Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » patching the source code(patching the source code)
patching the source code [message #1063031] Tue, 11 June 2013 20:33 Go to next message
Arseniy Isakov is currently offline Arseniy IsakovFriend
Messages: 118
Registered: May 2012
Senior Member
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 20:39 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

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 20:54 Go to previous messageGo to next message
Arseniy Isakov is currently offline Arseniy IsakovFriend
Messages: 118
Registered: May 2012
Senior Member
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 21:04 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

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 23:15 Go to previous messageGo to next message
Arseniy Isakov is currently offline Arseniy IsakovFriend
Messages: 118
Registered: May 2012
Senior Member
I installed last update and for one of my model gmfgen file fail to create

[Updated on: Tue, 11 June 2013 23:16]

Report message to a moderator

Re: patching the source code [message #1063151 is a reply to message #1063054] Wed, 12 June 2013 13:42 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

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 14:56 Go to previous messageGo to next message
Arseniy Isakov is currently offline Arseniy IsakovFriend
Messages: 118
Registered: May 2012
Senior Member
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 145 times)
Re: patching the source code [message #1063310 is a reply to message #1063188] Wed, 12 June 2013 23:32 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

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] Thu, 13 June 2013 02:46 Go to previous message
Arseniy Isakov is currently offline Arseniy IsakovFriend
Messages: 118
Registered: May 2012
Senior Member
Thank you Dimitris.
Previous Topic:Metamodel/model evolution advice please
Next Topic:EGL - syntax error on the simplest example?
Goto Forum:
  


Current Time: Sat Apr 20 02:06:50 GMT 2024

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

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

Back to the top