Eclipse installation for MDHT

Russell Bateman
15 April 2019
last update:

This is a log of cloning MDHT code and installing the Eclipse IDE for working on it.

Clone MDHT from GitHub

  1. Clone MDHT source project from GitHub:
    russ@nargothrond ~/dev $ git clone https://github.com/mdht/mdht.git
    Cloning into 'mdht'...
    remote: Enumerating objects: 96440, done.
    remote: Total 96440 (delta 0), reused 0 (delta 0), pack-reused 96440
    Receiving objects: 100% (96440/96440), 193.28 MiB | 11.08 MiB/s, done.
    Resolving deltas: 100% (63214/63214), done.
    Checking out files: 100% (11737/11737), done.
    
  2. Note that this project uses Maven as its build tool (import fact later).

Installing Eclipse 2019-03

  1. Go to https://www.eclipse.org/downloads/.
  2. Click Download 64 bit.
  3. Click Download (eclipse-inst-linux64.tar.gz).
  4. Do this where the download landed:
    russ@nargothrond ~/dev $ tar -zxf eclipse-inst-linux64.tar.gz
    russ@nargothrond ~/dev $ cd eclipse-installer/
    russ@nargothrond ~/dev/eclipse-installer $ ./eclipse-inst
    Eclipse Installer:
    The Eclipse Installer executable launcher no longer supports running with GTK + 2.x. Continuing using GTK+ 3.x.
    
  5. Choose Eclipse IDE for Enterprise Java Developers.
  6. Change installation folder to /home/russ/dev/eclipse-jee-2019-03.
  7. Click INSTALL.
  8. Accept EULA.
  9. Remember and accept (all) licenses.
  10. Select all and Accept selected presented certificates
  11. Click LAUNCH.
  12. Locate suitable workspace subdirectory: /home/russ/dev/eclipse-workspace. Click Use this as the default and do not ask again. Click Launch.
  13. At the Welcome splash page, find and click Workbench to the right in the purple banner.
  14. In the Project Explorer pane, click Import projects.
  15. Since MDHT uses Maven, in the Import:Select dialog, open Maven from the list of wizards and select Existing Maven Projects. Click Next.
  16. In the Import Maven Projects, browse for the Root Directory: to the MDHT project (here, /home/russ/dev/mdht). Click OK.
  17. Click Finish.
  18. In the Discover m2 connectors dialog, accept discovery of Eclipse plug-ins for Maven goals by clicking Finish. Confirm Incomplete Maven Goal Execution alert by clicking OK.
  19. In a dialog titled, Install, click Next to install more Sonatype software. Click Install again if need be and accept the license, then click Finish. Confirm by clicking Install anyway in the Security Warning alert.
  20. Accept bouncing (restarting) Eclipse. Behold the mountain of errors everywhere. This is normal.
  21. Copy this URL:
    http://oht-modeling.sourceforge.net/updates/releases20
    
    And do this (will reduce errors in project from around 10K to around 800):
    1. In the IDE, do Help → Install New Software....
    2. Click Add....
    3. For Name:, type "OHT Modeling".
    4. Into Location:, paste the path copied above.
    5. Click Add.
    6. Check MDHT CDA Design.
    7. Click Next, then Next.
    8. Accept license agreements, confirm that you're okay installing unsigned content, etc. and restart Eclipse when it asks.