Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » dependencies between 2 packages
dependencies between 2 packages [message #683893] Tue, 14 June 2011 15:51 Go to next message
ben  is currently offline ben Friend
Messages: 30
Registered: April 2011
Location: France/Bordeaux
Member
Hi,

I would like create the dependencies between 2 packages by using dynamic EMF.
My first package called "modelPurchase". And then, I want to build a second package called "modelSupplier" by creating a dependency between the packages one-way from modelSupplier to modelPurchase dynamically. I have already create a dependency between their MANIFEST.MF, but I cannot see the Eclass from modelPurchase in my method that allows to build the modelSupplier.
How to proceed it ?

Thank you in advance ?

Ben
Re: dependencies between 2 packages [message #687200 is a reply to message #683893] Tue, 14 June 2011 15:56 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30448
Registered: July 2009
Senior Member
Ben,

Comments below.

ben wrote:
> Hi,
> I would like create the dependencies between 2 packages by using
> dynamic EMF.
Keep in mind that statically generated models cannot be modified
dynamically.
> My first package called "modelPurchase". And then, I want to build a
> second package called "modelSupplier" by creating a dependency
> between the packages one-way from modelSupplier to modelPurchase
> dynamically.
So you're going to build a while new package instance on the fly?
> I have already create a dependency between their MANIFEST.MF,
This is not sounding dynamic to me.
> but I cannot see the Eclass from modelPurchase in my method that
> allows to build the modelSupplier.
In the Ecore editor, you can use Load Resource... to load the model for
modelPurchase into the editor so that its classes are available as choices.
> How to proceed it ?
>
> Thank you in advance ?
>
> Ben
Previous Topic:(no subject)
Next Topic:(no subject)
Goto Forum:
  


Current Time: Tue Sep 17 23:29:16 GMT 2019

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

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

Back to the top