Eclipse: Set up project and example extension from git sources

From OpenJUMP Wiki
Jump to navigation Jump to search

Download and install eclipse (if not already available)

Download and unzip from
https://www.eclipse.org/downloads/packages/
either
Package for Enterprise Java and Web Developers
Package for Java Developers
each will do fine for OJ development

Import into eclipse IDE

NOTE: The file system paths below are for windows but can analogous be some unix/linux/mac paths. tested with eclipse version 2024.06.

  1. Start the eclipse application
  2. Create and open a new workspace e.g. C:\workspace-OpenJUMP
  3. File > Import...
    1. Git > Projects from Git (with smart import) ; Next>
    2. Clone URI ; Next>
    3. enter URI https://github.com/openjump-gis/openjump.git ; Next>
    4. make sure at least branch main is selected ; Next>
    5. choose a location for the project folder e.g. C:\workspace-OpenJUMP\OpenJUMP ; Next>
    6. eclipse will now clone the git repository into the project folder
  4. Import Projects dialog pops up
    1. Folder OpenJUMP should be preselected Import as Maven
    2. Finish>