wiki:DevelopersGuide/CompilingUsingIntelliJ

Version 17 (modified by simon04, 5 years ago) ( diff )

#17218 (update guide as of 2020)

Compiling using ​IntelliJ IDEA

This describes how to develop and compile JOSM using IntelliJ IDEA.

Requirements

Guide

  • Add project from existing source
  • Project Settings / Project:
  • Project Settings / Modules:
  • Project Settings / Modules: add+configure IvyIDEA
  • Tools / Ivy / Resolve for All Modules:
  • Configure Ant:
  • Run the following Ant tasks:
  • Run org.openstreetmap.josm.gui.MainApplication:

Additional settings

This section describes helpful additional settings for IntelliJ IDEA.

Link ticket references in commit messages

Make ticket references in the code of the form ticket 1234 or #1234 clickable as a link to the Trac ticket.

  1. Open the Issue Navigation settings page.
  2. Add a new Issue Navigation item, with:
    • Issue ID: (ticket\s*|#)(\d+)
    • Issue link: https://josm.openstreetmap.de/ticket/$2

Search open issues

→ Tools → Tasks & Contexts → Open Task

Attachments (44)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.