Changes between Version 6 and Version 7 of DevelopersGuide/Compiling
- Timestamp:
- 2016-03-13T13:59:42+01:00 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevelopersGuide/Compiling
v6 v7 47 47 {{{ 48 48 #!sh 49 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.11.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.3.jar:test/lib/unitils-core/commons-logging-1.1.jar:test/lib/unitils-core/commons-collections-3.2.jar"49 export TESTCP=".:test/unit:test/functional:dist/josm-custom.jar:test/lib/fest/*:test/lib/junit/*:test/lib/*:test/lib/unitils-core/*" 50 50 }}} 51 51 Then run for example … … 55 55 java -cp $TESTCP org.junit.runner.JUnitCore org.openstreetmap.josm.data.projection.ProjectionRefTest 56 56 }}} 57 58 On Windows the syntax is almost the same: 59 {{{ 60 #!sh 61 set TESTCP=".;test/unit:test/functional;dist/josm-custom.jar;test/lib/fest/*;test/lib/junit/*;test/lib/*;test/lib/unitils-core/*" 62 javac -cp %TESTCP% test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java 63 java -cp %TESTCP% org.junit.runner.JUnitCore org.openstreetmap.josm.data.projection.ProjectionRefTest 64 }}}