Book a Demo

Author Topic: MDG/Eclipse won't open my Java file in Eclipse  (Read 4979 times)

rsherzad

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • :-)
    • View Profile
MDG/Eclipse won't open my Java file in Eclipse
« on: January 08, 2006, 05:30:44 am »
Hi everyone,

I purchased MDG Link for Eclipse just to find out, that after right clicking on my Class and selecting "View Code" (STRG+E) the class file is opened in the Internal Editor and not in Eclipse.

"Tools / Options / Source Code Engineering / Java: eclipse.exe" will just open a new instance of Eclipse and still not jump to the class I selected, so I removed that one again, hoping that MDG Link will take care of this.

"Tools / Eclipse / Add-Ins / View Project Connections" launches Eclipse, but it doesn't contain the two buttons that I see in the help file: "Connect" and "Browse...". Instead I only see my own Eclipse project:



The code generation processes work and everything else seems to be fine. It's just that after generating the files and launching Eclipse from within EA my Java class is not opened in Eclipse when I press STRG+E.

MDG Link for Eclipse: 1.0.19
Enterprise Architect Professional: 6.0.781
Windows XP Professional SP2

Any help is appreciated :-)
Rias
« Last Edit: January 08, 2006, 05:41:44 am by rsherzad »
Rias A. Sherzad, J2EE Consultant
Hamburg, Germany, Europe, Earth, Milky Way
Blog: sherzad.com

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: MDG/Eclipse won't open my Java file in Eclipse
« Reply #1 on: January 08, 2006, 07:16:34 pm »
The "View Project Connections" window is not intended to show the "Connect" and "Browse" buttons.  To see the dialog to properly connect your package to an Eclipse project, select the package you wish to link in the project view, then open "Add-Ins | Connect External Project | Eclipse".

There are some known issues when trying to link EA and Eclipse.  For information on some of these issues, please see the following forum thread:
http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1120051913;start=4#4

Once you have successfully linked a package, you should be able to edit code in Eclipse with Ctrl+E as you were wanting to.

If you have any further problems, feel free to contact us at [email protected].

rsherzad

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • :-)
    • View Profile
Re: MDG/Eclipse won't open my Java file in Eclipse
« Reply #2 on: January 09, 2006, 02:57:04 pm »
Hi Aaron,

Ok, it works now. The mistake I made was that I didn't click on the project view before clicking on Add-Ins...

Many thanks,
Rias
Rias A. Sherzad, J2EE Consultant
Hamburg, Germany, Europe, Earth, Milky Way
Blog: sherzad.com