Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [Eugenia] How to set base package ecore name
[Eugenia] How to set base package ecore name [message #1222336] Fri, 20 December 2013 07:28 Go to next message
John Mark is currently offline John MarkFriend
Messages: 13
Registered: November 2012
Junior Member
I am using ECore to generate Diagram using Epsilon Eugenia.

1. I add my annotations to the ECore
2. Right click on ECore -> Generate GMF Editor

Now the above process overwrites my .genmodel file and along with that the base package that I have declared in configuration. Also the diagram generated does not have a base package.

Is there a way to set the base package for the Models as well as diagram from the ecore annotations?
Re: [Eugenia] How to set base package ecore name [message #1222763 is a reply to message #1222336] Sat, 21 December 2013 09:41 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi John,

To set the base package of the generated Java code, you can add the following annotation to your root EPackage: @emf.gen(basePackage="com.foo.bar").

Cheers,
Dimitris
Previous Topic:[EVL] Epsilon validation for multiple diagrams on a single model?!
Next Topic:[EuGENia] Cannot save link in graphic editor
Goto Forum:
  


Current Time: Fri Apr 26 05:50:49 GMT 2024

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

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

Back to the top