Author Topic: Zipping MDZip files  (Read 704 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 7729
  • Karma: +165/-21
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Zipping MDZip files
« on: May 10, 2017, 03:30:27 pm »
Hi,


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?

Thanks

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 8952
  • Karma: +136/-123
  • I'm no guru at all
    • View Profile
Re: Zipping MDZip files
« Reply #1 on: May 10, 2017, 06:06:16 pm »
Try creating a re-zipped unchanged copy and see whether that's the cause.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 7729
  • Karma: +165/-21
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Zipping MDZip files
« Reply #2 on: May 10, 2017, 06:11:02 pm »
Try creating a re-zipped unchanged copy and see whether that's the cause.

q.
I did, and it didn't work anymore.
There must be a secret sauce for which I'm missing the recipe.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 8952
  • Karma: +136/-123
  • I'm no guru at all
    • View Profile
Re: Zipping MDZip files
« Reply #3 on: May 10, 2017, 06:50:20 pm »
Does a binary comparison show any magic difference?

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 7729
  • Karma: +165/-21
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Zipping MDZip files
« Reply #4 on: May 10, 2017, 07:21:08 pm »
all kinds of differences, too much to get much wiser from,... :(

Geert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 7729
  • Karma: +165/-21
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Zipping MDZip files
« Reply #5 on: May 10, 2017, 08:56:51 pm »
Turned out to be a typical PEBKAC problem.
Instead of re-zipping the individual files, I was zipping the directory, feel kind of stupid right now  :-[

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 8952
  • Karma: +136/-123
  • I'm no guru at all
    • View Profile
Re: Zipping MDZip files
« Reply #6 on: May 10, 2017, 10:33:54 pm »
Happens to all of us :-)

q.