Blob Blame History Raw
--- josm-0/build.xml	2016-01-02 00:54:32.000000000 +0100
+++ b/build.xml	2016-02-10 12:57:30.482247135 +0100
@@ -27,6 +27,13 @@
         <equals arg1="${ant.java.version}" arg2="1.9" />
     </condition>
 
+    <!-- Java classpath addition (all jar files to compile tests with this) -->
+    <path id="classpath">
+        <fileset dir="lib">
+            <include name="**/*.jar"/>
+        </fileset>
+    </path>
+
     <!--
       ** Used by Eclipse ant builder for updating
       ** the REVISION file used by JOSM
@@ -201,7 +208,7 @@ Build-Date: ${build.tstamp}
     </target>
     <target name="compile" depends="init,javacc">
         <!-- COTS -->
-        <javac srcdir="${src.dir}" includes="com/**,oauth/**,org/apache/commons/**,org/glassfish/**" nowarn="on" encoding="iso-8859-1"
+        <javac srcdir="${src.dir}" classpathref="classpath" nowarn="on" encoding="UTF-8"
             destdir="build" target="1.7" source="1.7" debug="on" includeAntRuntime="false" createMissingPackageInfoClass="false">
             <!-- get rid of "internal proprietary API" warning -->
             <compilerarg value="-XDignore.symbol.file"/>
@@ -277,6 +284,7 @@ Build-Date: ${build.tstamp}
                 packagenames="org.openstreetmap.josm.*,org.openstreetmap.gui.jmapviewer.*"
                 excludepackagenames="org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.*"
                 windowtitle="JOSM"
+                classpathref="classpath"
                 use="true"
                 private="true"
                 linksource="true"