Eclipse plugin installation HOWTO

Last modified 15 Nov 2021 14:24 +01:00
OBSOLETE
This functionality is obsolete. It is no longer supported or maintained. Please use the replacement functionality instead.
ABANDONED

MidPoint plugin for Eclipse for abandoned in favor of MidPoint Studio, which is based on open source IntelliJ platform.

Although the Eclipse plugin was an efficient tool used broadly by the community, maintaining the plugin in Eclipse environment proved to be a challenge. Most of the midPoint developers migrated to IntelliJ platform, and the popularity of the platform was also indicated by our survey. Therefore we have decided to abandon the old and de facto derelict Eclipse plugin. There no plans to maintain the Eclipse plugin any further. You can go ahead and use it if it works for you, but there will be no further improvements, bug fixes or even security fixes.

  1. First of all, install the Eclipse. During development of this plugin we were working with Eclipse for Java and DSL Developers (having great plans for sophisticated editors for midPoint objects) but a standard one should be OK as well. The latest version (Neon) is recommended.

  2. Start Eclipse and select* Help → Install New Software…​*.

    image2016 9 2 16 45 47
  3. Paste the following URL into "Work with:" field - https://download.evolveum.com/downloads/midpoint-eclipse-plugin/ and press ENTER. You should see the following screen:

    image2016 9 3 0 1 6
  4. It is possible that ProvisionException occurs, complaining about context.xml.

    plugin chyba

It is related to SSL/TLS and server certificates. If you see the exception above, please use the guide to Solving Certificate Problems.

  1. Now select "MidPoint Development Tools" from the list of available software. Then click Next…​

  2. Review items to be installed:

    image2016 9 3 0 21 47
  3. Accept the license and click Finish.

  4. Accept warning about installing unsigned content (sorry for that):

    image2016 9 3 0 22 40
  5. Finally, answer "Yes" on question about restarting Eclipse.

    image2016 9 2 16 50 56
  6. After Eclipse restarts the plugin should be ready to use. You can verify it by looking at "midPoint" menu as well as two additional toolbar buttons. It should look similar to this (details may change in newer versions):

image2016 9 2 16 56 30

Building from sources

If you’d like to build the plugin yourself, you can do the following:

git clone https://github.com/Evolveum/midpoint-ide-plugins.git
cd midpoint-ide-plugins\com.evolveum.midpoint.eclipse.parent
mvn clean install

The result is then in the file com.evolveum.midpoint.eclipse.update/target/com.evolveum.midpoint.eclipse.update-x.x.x-SNAPSHOT.zip. This is the file to be used as archive when adding new software sites (see here).

Eclipse Groovy plugin instalation

The installation steps are similar to instalation midPoint Eclipse plugin and was tested on Neon.2 Release (4.6.2). For newer versions, please use https://github.com/groovy/groovy-eclipse/wiki:

  1. Start Eclipse and select* Help → Install New Software…​*.

  2. Paste the following URL into "Work with:" field - http://dist.springsource.org/snapshot/GRECLIPSE/e4.6/ and press ENTER.

  3. Now select "Groovy-Eclipse (Reqired)" from the list of available software. Then click Next…​

  4. Review items to be installed

  5. Accept the license and click Finish

  6. Finally, answer "Yes" on question about restarting Eclipse

Note: For older Eclipse version Neon.1 Release (4.6.1) use the http://dist.springsource.org/snapshot/GRECLIPSE/e4.5/ link.

Was this page helpful?
YES NO
Thanks for your feedback