Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [Solved][Eugenia] Patches
[Solved][Eugenia] Patches [message #1100781] Tue, 03 September 2013 15:25 Go to next message
Xabier De Carlos is currently offline Xabier De Carlos
Messages: 10
Registered: September 2013
Junior Member
Hi,
I'm learning using Eugenia patches functionality. For this purpose I'm following the tutorial described on http://www.eclipse.org/epsilon/doc/articles/print.php?articleId=eugenia-patching. I have executed the first part of the tutorial successfully, modifying generated code with different customized patches. But the problem comes on the second part, where the patches are generated from a .egx file. I have specified both egx and egl files but if I execute "Generate patches" Eugenia action, the following error appears:

Could not process 'C:\Users\xdecarlos\Desktop\Kepler_Sep\runtime\runtime-New_configuration\es.ikerlan.example\model\FixCustomEditPartTemplate.egl'
	Cause: java.net.MalformedURLException: unknown protocol: c

	at org.eclipse.epsilon.egl.EglTemplateFactory.handleFailedLoad(EglTemplateFactory.java:205)


Maybe I have done something wrong, but I don't know where. Any suggestion?

Thank you!

Xabier De Carlos.

[Updated on: Mon, 23 September 2013 09:17]

Report message to a moderator

Re: Eugenia patches [message #1101307 is a reply to message #1100781] Wed, 04 September 2013 09:27 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 867
Registered: July 2009
Senior Member
Hi Xabier,

This looks like a Windows/*nix path issue. I'll try the example on my Windows machine and get back to you.

Cheers,
Dimitris
Re: Eugenia patches [message #1110865 is a reply to message #1101307] Tue, 17 September 2013 12:35 Go to previous messageGo to next message
Xabier De Carlos is currently offline Xabier De Carlos
Messages: 10
Registered: September 2013
Junior Member
Hi Dimitris,

I have prepared here a small example where error also appears. This example modifies with patches node size at editpart of each node of the metamodel. I attach here the code.

Thank you,
Xabi.

[Updated on: Tue, 17 September 2013 12:36]

Report message to a moderator

Re: Eugenia patches [message #1111022 is a reply to message #1110865] Tue, 17 September 2013 16:56 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 867
Registered: July 2009
Senior Member
Hi Xabi,

Apologies for the radio silence (time flies!). I'll try to have a look at this later on today.

Cheers,
Dimitris
Re: Eugenia patches [message #1111186 is a reply to message #1111022] Tue, 17 September 2013 23:15 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 867
Registered: July 2009
Senior Member
Hi Xabi,

This seems to be a bug indeed. Please file a bug report and we'll try to fix this as soon as possible.

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=epsilon

Cheers,
Dimitris
Re: Eugenia patches [message #1111207 is a reply to message #1111186] Wed, 18 September 2013 00:00 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 867
Registered: July 2009
Senior Member
Hi Xabi,

No need to do this. I've filed a bug [1], fixed it and released a new interim version.

Cheers,
Dimitris

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=417462
icon14.gif  Re: Eugenia patches [message #1111404 is a reply to message #1111207] Wed, 18 September 2013 06:59 Go to previous message
Xabier De Carlos is currently offline Xabier De Carlos
Messages: 10
Registered: September 2013
Junior Member
Hi Dimitris,

Eugenia patch generation running successfully! Very Happy
Thank you!
Xabi.
Previous Topic:[Eugenia] Eclipse Kepler & SVG
Next Topic:How to handle validation problems?
Goto Forum:
  


Current Time: Sat Sep 20 02:13:51 GMT 2014

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

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