Skip to main content



      Home
Home » Modeling » EMF » dependencies between 2 packages
dependencies between 2 packages [message #683893] Tue, 14 June 2011 11:51 Go to next message
Eclipse UserFriend
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 11:56 Go to previous message
Eclipse UserFriend
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: Sun Jul 06 11:06:04 EDT 2025

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

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

Back to the top