Eclipse Magic Draw Plugin

Discussions about Java virtual machine, installation, and running

Moderator: Moderators

Eclipse Magic Draw Plugin

Postby dang-hung.nguyen@sivantos.com » Wed Jun 28, 2017 6:55 am

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
dang-hung.nguyen@sivantos.com
Forum Newbie
Forum Newbie
 
Posts: 18
Posts Rating:0
Joined: Wed Jun 28, 2017 3:01 am

Re: Eclipse Magic Draw Plugin

Postby vaidas.nargelas@nomagic.com » Wed Jun 28, 2017 9:35 am

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.
Sincerely,

Vaidas Narg─Ślas
No Magic Customer Support
vaidas.nargelas@nomagic.com
Forum Beginner
Forum Beginner
 
Posts: 38
Posts Rating:4
Joined: Thu Aug 06, 2015 12:28 am

Re: Eclipse Magic Draw Plugin

Postby moliveira@itemis.de » Tue Oct 16, 2018 2:19 am

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
moliveira@itemis.de
Forum Newbie
Forum Newbie
 
Posts: 4
Posts Rating:0
Joined: Tue Oct 16, 2018 2:15 am
Full name: Marcio Ferreira da Silva Oliveira

Re: Eclipse Magic Draw Plugin

Postby vaidas.nargelas@nomagic.com » Tue Oct 16, 2018 5:34 am

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.
Sincerely,

Vaidas Narg─Ślas
No Magic Customer Support
vaidas.nargelas@nomagic.com
Forum Beginner
Forum Beginner
 
Posts: 38
Posts Rating:4
Joined: Thu Aug 06, 2015 12:28 am

Re: Eclipse Magic Draw Plugin

Postby moliveira@itemis.de » Tue Oct 16, 2018 6:15 am

Thanks, Vaidas

Adding brand_api.jar as you described solved the problem.
moliveira@itemis.de
Forum Newbie
Forum Newbie
 
Posts: 4
Posts Rating:0
Joined: Tue Oct 16, 2018 2:15 am
Full name: Marcio Ferreira da Silva Oliveira


Return to Installing and running

Who is online

Users browsing this forum: No registered users and 1 guest

cron