Re-zipping an MDzip file

A client of mine is going through the process of migrating their Magicdraw models to Enterprise Architect. Because of some issues in transferring the models we wanted to unzip the mdzip files, change the xmi contents, and then rezip them in order to import them into EA.

But for some reason that doesn't seems to work. Even without changing anything to the contents, just unzipping and rezipping the file and then trying to import it into EA we get "analyzing mdzip file" for a few seconds and then it stops. I'm suspecting that we are using the wrong zip settings to rezip the file.

Does anyone know which settings we should use to produce a valid mdzip file that can be imported into Enterprise Architect?

I tried asking both NoMagic support as Sparx support, but no answer yet.

1 Answer

My fault was that I was re-zipping the folder and not the individual files, so the resulting zip file had a different structure.

Something I should have seen a lot sooner of course; a typical case of PEBKAC.

Zipping the individual files worked like a charm.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like