Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Multiple XMI files for the same model( Collaborative work with source control systems on the model)
Multiple XMI files for the same model [message #1455371] Wed, 29 October 2014 09:46 Go to next message
Didier Cormier is currently offline Didier CormierFriend
Messages: 6
Registered: October 2014
Junior Member
Hi,

in the Sirius features page (https://www.eclipse.org/sirius/features.html) it's indicated that "The XMI file containing a model can be splitted into several files to facilitate collaborative work with source control systems."

I try to use 2 model files in the same modeling project : i create a diagram with Sirius on one model : if I try to use an element of my second model (modification of the link in the properties view), when I validate the choice of element : the element is added to the first model and is deleted of the second (where it was first defined).
I simply would add a link pointing on the second model (not copy the element)

If somebody have examples with :
- multiple XMI files for the same model
- creation of diagram that integrate some elements of model defined in differents XMI files (of the same modeling project or present in dependencies).


Thanks
Re: Multiple XMI files for the same model [message #1455519 is a reply to message #1455371] Wed, 29 October 2014 12:59 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 482
Registered: July 2009
Location: Nantes, France
Senior Member
Hi,

Le 29/10/2014 11:27, Didier Cormier a écrit :
> Hi,
>
> in the Sirius features page
> (https://www.eclipse.org/sirius/features.html) it's indicated that
> "The XMI file containing a model can be splitted into several files to
> facilitate collaborative work with source control systems."
> I try to use 2 model files in the same modeling project : i create a
> diagram with Sirius on one model : if I try to use an element of my
> second model (modification of the link in the properties view),

Could you check the definition of the link you modified ? ìts looks like
you have modified some containment feature and the move from one model
seems to be the expected behavior in this case.

when I
> validate the choice of element : the element is added to the first model
> and is deleted of the second (where it was first defined).
> I simply would add a link pointing on the second model (not copy the
> element)
>
> If somebody have examples with :
> - multiple XMI files for the same model
> - creation of diagram that integrate some elements of model defined in
> differents XMI files (of the same modeling project or present in
> dependencies).
>
>
> Thanks

Regards

--
Maxime - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius

Join the Sirius community at SiriusCon. Register for free: Nov. 9th Paris
http://www.siriuscon.org/
Re: Multiple XMI files for the same model [message #1455683 is a reply to message #1455519] Wed, 29 October 2014 16:44 Go to previous message
Didier Cormier is currently offline Didier CormierFriend
Messages: 6
Registered: October 2014
Junior Member
I dont know if my problem was du to version 1.0.1, but since i migrated to version 2 of sirius the problem has disappeared : i can use two model in my projet and two representation model files.
I can use simple links to reference some objects in different models.

Thanks
Previous Topic:Eclipse Modeling Tools and Sirius 2.0
Next Topic:Combining parts of Edges into one.
Goto Forum:
  


Current Time: Wed May 27 01:11:53 GMT 2020

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

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

Back to the top