Re: Merge argouml project files?
"Tom Morris" <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.user |
|---|---|
| Message-ID | <[email protected]> |
I didn't mention it the first time, but since it's appeared again, your .sig is inappropriate on two counts: 1) it was longer than your query and 2) it's religious in nature. Let's save the religious (and political) stuff for appropriate forums. On Tue, Sep 9, 2008 at 4:51 PM, Jon Schewe <[email protected]> wrote: > Tom Morris wrote: > >> 2. Merge the projects by hand. This is tedious, but should be >> possible. You would need to: >> >> - Unzip both projects >> - Copy the .pgml files (diagrams) from one project into the other >> - Edit the target .argo file to include references to the new diagrams >> - Edit the target .xmi file and include the model information from the >> source .xmi file (basically copy everything inside the top level >> UML:Model element) >> - rezip everything in the target > > This doesn't sound too bad. How do I edit the .argo files though? They > appear to be binary. A .zargo is actually a zip/jar archive containing a set of .argo, .todo, .xmi, and .pgml files. Unzip the two projects and apply the edits to the text files. The .argo contains a list of the other files and some settings. Edit the target .argo and add references to the .pgml files from the source project. The .todo can probably be ignored. Copy the source .pgml files to the target directory. Edit the target .xmi file so that instead of ... <UML:Model> <UML:Namespace.ownedElements> target contents </UML:Namespace.ownedElements> </UML:Model> ... it contains ... <UML:Model> <UML:Namespace.ownedElements> target contents source contents </UML:Namespace.ownedElements> </UML:Model> ... Tom