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.
git clone [email protected]:JOSM/PicLayer.git
cd PicLayer
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
- Download IntelliJ IDEA
- Open IntelliJ and import the indoorhelper plugin: File → Open →
path/to/PicLayer_folder
- You may need to set the current SDK: File → Project Strucuture → Project → Project SDK
- You may need to set
PicLayer/src
as source folder andPicLayer/test
as test folder or include some dependencies paths. This settings can be found under File → Project Strucuture → Modules - 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
- For more information see JOSM DevelopersGuide/DevelopingPlugins
- Videos to setup the IDE see JOSM DevelopersGuide#IDEs