Skip to main content



      Home
Home » Modeling » EMF » How to setup EMF in existing Plug-in Project?
How to setup EMF in existing Plug-in Project? [message #394999] Mon, 15 August 2005 10:32 Go to next message
Eclipse UserFriend
I'm sorry for my bad English :>

How to setup EMF in existing Plug-in Project?
I want to generate all files to a single plug-in project.

When I create new 'Java Project', add 'model.ecore', generate
'model.genmodel' and next run 'Generate all' everything works nice:
- my '.project' change to plug-in project
- EMF add plug-in dependencies to 'MANIFEST.MF'
- EMF generates all files…

But when I use existing or create new 'Plug-in Project' (with RCP) and
next create inside 'model.ecore' generation doesn't work. EMF not adds
own dependencies and extensions to existing files (if I manually add
this missing dependencies and extensions everything work).

What I do wrong?
Grzesiek
Re: How to setup EMF in existing Plug-in Project? [message #395002 is a reply to message #394999] Mon, 15 August 2005 10:43 Go to previous messageGo to next message
Eclipse UserFriend
Hi Grzesiek,

EMF doesn't overwrite files that it doesn't know how to merge. So if
you already have a plugin.xml and a META-INF/MANIFEST.MF, you can make
the changes manually or move these files to a different folder, let EMF
create them again, and do the merge yourself.

Cheers,
Marcelo

Grzegorz Bialek wrote:
> I'm sorry for my bad English :>
>
> How to setup EMF in existing Plug-in Project?
> I want to generate all files to a single plug-in project.
>
> When I create new 'Java Project', add 'model.ecore', generate
> 'model.genmodel' and next run 'Generate all' everything works nice:
> - my '.project' change to plug-in project
> - EMF add plug-in dependencies to 'MANIFEST.MF'
> - EMF generates all files…
>
> But when I use existing or create new 'Plug-in Project' (with RCP) and
> next create inside 'model.ecore' generation doesn't work. EMF not adds
> own dependencies and extensions to existing files (if I manually add
> this missing dependencies and extensions everything work).
>
> What I do wrong?
> Grzesiek
Re: How to setup EMF in existing Plug-in Project? [message #395004 is a reply to message #395002] Mon, 15 August 2005 11:00 Go to previous message
Eclipse UserFriend
Thanks
Grzesiek
Previous Topic:Compilation of UML->EMF generated code fails
Next Topic:EMF Business Model/ViewModel
Goto Forum:
  


Current Time: Sun Aug 03 17:54:18 EDT 2025

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

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

Back to the top