Page 1 of 1

Eclipse Magic Draw Plugin

PostPosted: Wed Jun 28, 2017 6:55 am
by dang-hung.nguyen@sivantos.com
Hello,

i integrated MagicDraw into Eclipse, but each time i run it with the "MagixDraw with all plugins.launch" it starts MagicDraw. Instead of that, i want to start the Cameo System Modeller. Can you help me?
I followed all instructions in the manual ( changing path of "MAGIC_DRAW_INSTALL_DIRECTORY" etc)

With best regards.

Hung Nguyen

Re: Eclipse Magic Draw Plugin

PostPosted: Wed Jun 28, 2017 9:35 am
by vaidas.nargelas@nomagic.com
Hello,

As documentation states (see https://docs.nomagic.com/display/MD185/ ... in+Eclipse) the Cameo System Modeller installation directory (the one that is linked to by MAGIC_DRAW_INSTALL_DIRECTORY) should not contain spaces. The default directory path on Windows C:\Program Files\Cameo Systems Modeler contains three spaces. You should re-install Cameo Systems Modeler into custom path that contains no spaces.

Re: Eclipse Magic Draw Plugin

PostPosted: Tue Oct 16, 2018 2:19 am
by moliveira@itemis.de
Hi,

I have the same problem described above: Eclipse integration starts Magic Draw instead of Cameo.
Because my license is for Cameo, I must cancel execution I cannot run the plugins from Eclipse.

I had already installed Cameo in a path without spaces and set MAGIC_DRAW_INSTALL_DIRECTORY = D:\tools\CameoSystemsModeler.

Is there other solution I can try?

Cheers

Re: Eclipse Magic Draw Plugin

PostPosted: Tue Oct 16, 2018 5:34 am
by vaidas.nargelas@nomagic.com
Hello,

In order to add Cameo Systems Modeler branding to Eclipse IDE example projects you need to do the following:

  • Go to properties of project MagicDraw
  • Select Java Build Path and activate Libraries tab
  • Click on Add JARs..., select MagicDraw/MAGIC_DRAW_INSTALL_DIRECTORY/lib/brand_api.jar, and click OK
  • Activate tab Order and Export
  • Locate brand_api.jar on the bottom of the list and enable the checkbox to the left of it
  • Now having brand_api.jar line selected click on Up button as many times as needed to put this item almost to the top of the list and ensure that is is right bellow patch.jar
  • Apply the changes and re-lauch MagicDraw
  • It should be recognized as Cameo Systems Modeler and the license should be now accepted correctly as well.

Re: Eclipse Magic Draw Plugin

PostPosted: Tue Oct 16, 2018 6:15 am
by moliveira@itemis.de
Thanks, Vaidas

Adding brand_api.jar as you described solved the problem.

Re: Eclipse Magic Draw Plugin

PostPosted: Fri Jan 31, 2020 11:38 am
by denise.pritchard@lmco.com
Does the "no spaces" rule apply in the IntelliJ IDE...??

I have had success launch Cameo via IntelliJ pointing t o c:\Program Files\…
BUT I cannot get it to work when I change the path to C:\ProgramData\....

Any thoughts?