Changes between Version 58 and Version 59 of InstallNotes
- Timestamp:
- 2012-10-12T14:51:05+02:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallNotes
v58 v59 3 3 4 4 == Semi-Stable Version == 5 The latest semi-stable version is always here: [ http://josm.openstreetmap.de/josm-tested.jar] - we don't call it a "release" because while it is more robust than the nightly build, it doesn't usually run through as many checks as a release would.5 The latest semi-stable version is always here: [/josm-tested.jar] - we don't call it a "release" because while it is more robust than the nightly build, it doesn't usually run through as many checks as a release would. 6 6 7 7 == Nightly Builds == 8 You can always grab the latest nightly build from [http://josm.openstreetmap.de/josm-latest.jar]. Many users actually use this for their daily work. 8 You can always grab the latest nightly build from 9 [/josm-latest.jar]. Many users actually use this for their daily work. 9 10 10 11 == Running == … … 31 32 **Note**: There is no problem with installing the prepacked package and still using the .jar files listed above. 32 33 33 If there exists no package or you do not want to use it you can download the JOSM .jar file from the main page (tested or latest version) or build it from source. 34 If there exists no package or you do not want to use it you can download the JOSM .jar file from the [WikiStart main page] (tested or latest version) or build it from source. 34 35 35 36 '''using the shell''':: … … 39 40 java -jar josm-latest.jar 40 41 }}} 41 to launch. Replace ` ''josm-latest.jar''` with the name of the jar file you loaded, e.G. `josm.jar` for releases.42 to launch. Replace `josm-latest.jar` with the name of the jar file you loaded, e.G. `josm.jar` for releases. 42 43 43 44 If this doesn't help, try to set your JAVA_HOME variable to the java location (the root location, not the bin. As example: … … 66 67 67 68 === MacOS === 68 1. If you have downloaded "josm-latest.jar"you can start JOSM by clicking on the josm-latest.jar file in the MacOS Finder (you might get the warning that you are about to open a file from the internet - just accept).69 1. If you have downloaded `josm-latest.jar` you can start JOSM by clicking on the josm-latest.jar file in the MacOS Finder (you might get the warning that you are about to open a file from the internet - just accept). 69 70 70 71 This way to start JOSM should be sufficient in most cases. … … 79 80 * type in the following command and press "Enter" to start JOSM without any special java options (simply starts up JOSM like under point 1): 80 81 {{{ 82 #!sh 81 83 java -jar FOLDER/josm-latest.jar 82 84 }}} 83 85 Whereas "FOLDER" should be replaced by the name of the folder you have josm-latest.jar downloaded to. If you have downloaded it to the standard MacOS "Downloads" Folder it would look like: 84 86 {{{ 87 #!sh 85 88 java -jar Downloads/josm-latest.jar 86 87 89 }}} 88 90 * to use additional java options just add them right after "java" … … 90 92 If you for example have experienced the "Out of memory" warning (e.g. trying to load geo-tagged photos to JOSM) you would start JOSM like this: 91 93 {{{ 94 #!sh 92 95 java -Xmx256M -jar FOLDER/josm-latest.jar 93 96 }}} … … 97 100 By the way. To get an overview of all Java start options you can type in: 98 101 {{{ 102 #!sh 99 103 java -help 100 104 }}} … … 102 106 == Getting the Source == 103 107 JOSM is available under GPL, and so of course you can get the sources and compile, modify or redistribute it by yourself. You can grab the sources via [http://subversion.tigris.org subversion] 104 105 svn co http://josm.openstreetmap.de/svn/trunk josm 106 107 Or you can inspect single files over the web frontend at http://josm.openstreetmap.de/svn. 108 {{{ 109 #!sh 110 svn co http://josm.openstreetmap.de/svn/trunk josm 111 }}} 112 Or you can inspect single files over the web frontend at [/svn.] 108 113 109 114 == Compiling == … … 112 117 113 118 {{{ 114 ant 119 #!sh 120 ant 115 121 }}} 116 122 … … 132 138 133 139 * Check out the sources 134 135 140 {{{ 141 #!sh 136 142 $ svn co http://josm.openstreetmap.de/svn/trunk josm 137 143 ''tons of output here'' … … 141 147 * Compile and run 142 148 {{{ 149 #!sh 143 150 $ javac -cp .:src -d build src/org/openstreetmap/josm/gui/MainApplication.java 144 151 $ java -cp .:build org.openstreetmap.josm.gui.MainApplication … … 153 160 You can run tests from the command line, as well. Include all libraries in the class path like this: 154 161 {{{ 162 #!sh 155 163 export TESTCP=".:test/unit:test/functional:dist/josm-custom.jar:test/lib/fest/fest-assert-1.0.jar:test/lib/fest/MRJToolkitStubs-1.0.jar:test/lib/fest/jcip-annotations-1.0.jar:test/lib/fest/fest-swing-1.1.jar:test/lib/fest/fest-reflect-1.1.jar:test/lib/fest/fest-util-1.0.jar:test/lib/fest/debug-1.0.jar:test/lib/junit/junit-4.6.jar:test/lib/jfcunit.jar:test/lib/unitils-core/ognl-2.6.9.jar:test/lib/unitils-core/commons-lang-2.3.jar:test/lib/unitils-core/unitils-core-3.1.jar:test/lib/unitils-core/junit-4.4.jar:test/lib/unitils-core/commons-logging-1.1.jar:test/lib/unitils-core/commons-collections-3.2.jar" 156 164 }}} 157 165 Then run for example 158 166 {{{ 167 #!sh 159 168 javac -cp $TESTCP test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java 160 169 java -cp $TESTCP org.junit.runner.JUnitCore org.openstreetmap.josm.data.projection.ProjectionRefTest
