Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Emfatic Generating two packages
Emfatic Generating two packages [message #1258429] Thu, 27 February 2014 11:24 Go to next message
Christopher Power is currently offline Christopher Power
Messages: 2
Registered: February 2014
Junior Member
Hi there,

Trying to get my head around some of the Epsilon stuff before diving into real work, I'm playing with a classic little problem I do of creating an RPG character.

I have some code that looks like the following in emfatic:

 
@namespace(uri="<edited to allow posting>", prefix="pathfinder")
package pathfinder;

class Equipment{
	attr String name;
	attr String description;
}
...


And it seems to be generating an odd thing when I generate the ecore - it generates 2 packages named pathfinder. Screenshot is attached. There is, I'm certain, only one package in the file.

Any advice?

Cheers
Chris

Re: Emfatic Generating two packages [message #1258712 is a reply to message #1258429] Thu, 27 February 2014 17:23 Go to previous messageGo to next message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-Dominguez
Messages: 309
Registered: January 2010
Senior Member
That sounds like a bug. Can you attach your example here, so we can try it out?
Re: Emfatic Generating two packages [message #1258784 is a reply to message #1258712] Thu, 27 February 2014 19:06 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 883
Registered: July 2009
Senior Member
Hi Chris,

This is a (harmless) bug of EMF's integration with the project explorer. If you open pathfinder.ecore you should hopefully find only one instance of the package there.

Cheers,
Dimitris
Re: Emfatic Generating two packages [message #1262129 is a reply to message #1258784] Mon, 03 March 2014 09:43 Go to previous message
Christopher Power is currently offline Christopher Power
Messages: 2
Registered: February 2014
Junior Member
Ok - so that's just a display bug. Not seeing it in the ecore file itself - thanks for the answer.
Previous Topic:Update model from EGL
Next Topic:[Eugenia] using xcore class from another plugin
Goto Forum:
  


Current Time: Thu Oct 23 16:36:43 GMT 2014

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

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