Tom Morris wrote:
> On Tue, Sep 9, 2008 at 3:47 PM, Jon Schewe <[EMAIL PROTECTED]> wrote:
>   
>> Is it possible to merge two argouml project files? I've been working
>> with two project files and now realized that I want one project to
>> reference objects in the other project so I need to merge them.
>>     
>
> Unfortunately there's no good way to merge project files.  Issue 3497
> addresses the need for being able to reuse models in different
> contexts.  The same underlying machinery that I put in place for
> Profiles will be used for this, but we don't have everything in place.
>
> Right now your choices are:
>
> 1. Use one project as a "profile" and reference it from the other
> project.  The profile project will be read-only in the context of the
> other project and you won't be able to include any diagrams from it
> (it's the model information from the XMI file only).
>
>   
That won't help me as I want to migrate diagrams as well.
> 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.

-- 
Jon Schewe | http://mtu.net/~jpschewe
If you see an attachment named signature.asc, this is my digital signature.
See http://www.gnupg.org for more information.

For I am convinced that neither death nor life, neither angels nor demons,
neither the present nor the future, nor any powers, neither height nor
depth, nor anything else in all creation, will be able to separate us from
the love of God that is in Christ Jesus our Lord. - Romans 8:38-39

Reply via email to