Author Topic: Eclipse Link - Clarification around installation and usage  (Read 5432 times)

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Eclipse Link - Clarification around installation and usage
« on: October 25, 2016, 03:36:08 am »

The Eclipse (and Visual Studio) Link MDGs are now standard as part of the Professional edition and above and appear on the code tab in version 13.   But how do you get them to work? 

The help still seems to refer to the time when this was purchased separately as follows:

=================
The MDG Link for Eclipse is available for download from the MDG Link for Eclipse page on the Sparx Systems Website, once it has been downloaded the program will be in the .zip format. To install the MDG Link for Eclipse use the following instructions: 
 
 1. Download the EAEclipse.zip file from the Sparx Systems Website. 
 2. Ensure that you meet the System Requirements and have the appropriate versions of Enterprise Architect and Eclipse 3.0 installed on your system. 
 3. Remove any previous org.sparx.mdg.eclipse_1.nn directory from the Eclipse Plugins directory (if they exist). 
 4. Unzip the EAEclipse.zip file into a suitable directory (i.e. c:\EAEclipse) and copy then org.sparx.mdg.eclipse_1.nn directory into the Eclipse Plugins folder where your install of Eclipse is located (i.e. C:\eclipse\plugins). 
 5. Install the MDG Link for Eclipse component by double clicking on the EAEclipse.exe Installer executable. 
 6. Read the licensing agreement and if you accept the terms click on the next button. 
 7. Read the Readme information, and then click on the next button. 
 8. Enter the User name and the Organization names into the appropriate fields before proceeding by clicking the next button. (Optionally determine the users who have access this program by choosing between the all users or only registering users). 
 9. Choose an installation path for the program, and then click the next button. 

Note: The .nn in the org.sparx.mdg.eclipse_1.nn is indicative of the current version number of the MDG Link for Eclipse. 
===========

Step 4 seems critical.  But what do you do when the Eclipse link is already pre-installed?   I can't find it in the Sparx MDGTEchnologies folder  (C:\Program Files (x86)\Sparx Systems\EA\MDGTechnologies), so can't find the directory org.sparx.mdg.eclipse_1.nn

What's more when I have Eclipse running, if I click on the "View Eclipse Connections" option in EA, I get a blank panel plus the message  "Eclipse must be running to complete this action.  Launch Eclipse now?".   But if I click "Yes", I just get "Can't launch Eclipse".

Anyone any idea how to get this to work in EA 13?

Thanks

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: Eclipse Link - Clarification around installation and usage
« Reply #1 on: November 01, 2016, 09:40:05 pm »

I raised a support issue about this.   Here's the response.

=======
Unfortunately the help documentation you refer to is out-of-date and no longer accurate.

To complete the setup of MDG Link for Eclipse, you will first need to browse to your EA installation directory.  (Default: C:\Program Files (x86)\Sparx Systems\EA).  Copy all org.sparx.mdg.eclipse.*.jar files to your Eclipse /plugins or /dropins directory, overwriting any existing files.

Run Eclipse, open Help | About Eclipse > Installation Details > Plug-ins and sort the list by Provider.  You should be able to see some plugins installed where Provider is "SparxSystems".
 
In EA, select Code > Add-Ins > Eclipse > Options.  Set the path to your eclipse.exe.

Once the jar files are properly installed and the path to eclipse.exe has been set, try using the MDG Link functionality by right-clicking on a package in your Project Browser and selecting Extensions | Eclipse | Connect External Project.  Are you able to see your currently open Eclipse projects and establish a connection to one of them?
======

This works for me on a machine with administrator rights.