4 Replies Latest reply on Apr 11, 2013 6:30 PM by yapnel

    Merging xmi

    yapnel

      Hi

       

      We work in a multi developers development environment where different developers may be modifying the same model (xmi) files at the same time. We are encountering difficulty in merging the xmi files back into svn because the uuid for the same objects change every time it is modified. We can't utilise the copy-modify-merge approach in svn and causing some serious problem in handling conflicts. Is anybody having the same problem here and are there any solutions to this? Please kindly share your thoughts.

       

      Thanks

       

      Nelson

        • 1. Re: Merging xmi
          shawkins

          You'll probably want to move this over to the Teiid Designer discussions.  From a Teiid 8+ perspective without Designer you'd probably be able to use textual DDL, which would be much easier to merge.  Teiid Designer also offers metadata import/export via CSV files that may offer the ability to more easily perform an offline merge.

           

          Steve

          • 2. Re: Merging xmi
            rareddy

            I thought UUID of an entity remained same once it is created as an identifier, so that the renames and updates can be done across the model. May be somebody can verify such assumption? Still IMO xmi files merging is pita, they are better suited for check-in/check-out model, not for concurrent modification.

            • 3. Re: Merging xmi
              blafond

              Teiid Designer does not support merging XMI files at this time.

               

              I'm not sure what/how you are trying to merge, but when a model is edited, object UUID's are not changed.

               

              If you are copy/pasting Tables/columns, the PASTE action treats the "Clipboard" objects in a "structural" way but will not maintain the unique UUIDs. The pasted objects will be new objects with unique UUIDs.

               

              Barry

              • 4. Re: Merging xmi
                yapnel

                Barry

                 

                We are trying to branch out the model and do development on it and once happy merge the model back to trunk. It is failing to do so cos svn can't merge the xmi.

                 

                MMUUID is the one that changes. I tried using the EMF Compare merge tool and it is failing to open the model because of the mmuuid.

                 

                Do you have any recommendation of how to achieve this?

                 

                Thanks