41 | | 1. |
42 | | 1. Run ant in the source directory to obtain a `josm-custom.jar` → [[Source code#CompilingusingAnt]] |
43 | | 1. In IntelliJ: File → New → Project from Existing Sources |
44 | | 1. Navigate to the JOSM source code [[BR]] [[Image(intellij-from-sources-01.png)]] |
45 | | 1. [[Image(intellij-from-sources-02.png)]] |
46 | | 1. [[Image(intellij-from-sources-03.png)]] |
47 | | 1. [[Image(intellij-from-sources-04.png)]] |
48 | | 1. [[Image(intellij-from-sources-05.png)]] |
49 | | 1. File → Project Structure |
50 | | * Modules → Sources: Exclude the directory `src/org/apache` [[BR]] [[Image(intellij-exclude-apache.png)]] |
51 | | * Modules → Dependencies: Make sure that `josm-custom` (i.e., the file generated by Ant is listed) |
52 | | * Modules → Dependencies: Add Groovy (you might need to configure that at "Global Libraries") [[BR]] [[Image(intellij-add-groovy.png)]] |
53 | | 1. Run → Edit Configuration |
54 | | * Add an "Application" configuration [[BR]] [[Image(intellij-run-configuration.png)]] |
| 41 | == Running the tests == |