Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 2.52 KB

INSTALL.md

File metadata and controls

40 lines (25 loc) · 2.52 KB

I want to use the plugin

If you want to use the plugin the best way to start is to download the JOSM, navigate to preferences window → plugins and install the PicLayer.

I want to work with the source code

Setup a local git-repository

git clone [email protected]:JOSM/PicLayer.git
cd PicLayer

Setup the development environment

For developing two IDEs are recommended: IntelliJ IDEA or Eclipse

Setup with IntelliJ IDEA:

First of all make sure the Java SE Development Kit 8 is installed on your local machine

  1. Download IntelliJ IDEA
  2. Open IntelliJ and import the indoorhelper plugin: File → Open → path/to/PicLayer_folder
  3. You may need to set the current SDK: File → Project Strucuture → Project → Project SDK
  4. You may need to set PicLayer/src as source folder and PicLayer/test as test folder or include some dependencies paths. This settings can be found under File → Project Strucuture → Modules
  5. Build the plugin using gradle (thanks to floschers gradle-josm-plugin!): Open the gradle toolbar under View → Tool Windows → gradle. Now you see already defined configurations. Use Tasks → build → build to build the plugin. Use Tasks → josm → runJosm to run the plugin with a clean JOSM instance. For more information see gradle-josm-plugin README.md

Setup with Eclipse:

First of all make sure the Java SE Development Kit 8 is installed on your local machine

This tutorials use Ant to build the plugin. If you want to use gradle to build the plugin you will need to use a plugin.

Additional