Changeset 16036 in josm
- Timestamp:
- 2020-03-04T21:01:55+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r16033 r16036 195 195 ** Main target that builds JOSM and checks XML against schemas 196 196 --> 197 <target name="dist" depends="compile,extract-libraries, create-revision,check-schemas,epsg">197 <target name="dist" depends="compile,extract-libraries,epsg,copy-resources,create-revision,check-schemas"> 198 198 <echo>Revision ${version.entry.commit.revision}</echo> 199 199 <copy file="CONTRIBUTION" todir="${build.dir}"/> … … 292 292 </java> 293 293 </target> 294 <target name="compile-cots" depends="init" >294 <target name="compile-cots" depends="init" description="Compiles third-party dependencies not retrieved with Ivy"> 295 295 <!-- COTS --> 296 296 <javac srcdir="${src.dir}" includes="com/google/**,com/kitfox/**,oauth/**,org/apache/commons/**" nowarn="on" encoding="iso-8859-1" … … 322 322 </javac> 323 323 </target> 324 <target name="compile-jmapviewer" depends="init" >324 <target name="compile-jmapviewer" depends="init" description="Compiles JMapViewer"> 325 325 <!-- JMapViewer --> 326 326 <javac sourcepath="" srcdir="${src.dir}" fork="yes" … … 348 348 </javac> 349 349 </target> 350 <target name="compile" depends="init,javacc,compile-cots,compile-jmapviewer" unless="compile.notRequired" >350 <target name="compile" depends="init,javacc,compile-cots,compile-jmapviewer" unless="compile.notRequired" description="Compiles JOSM"> 351 351 <!-- JOSM --> 352 352 <javac sourcepath="" srcdir="${src.dir}" fork="yes" … … 377 377 </classpath> 378 378 </javac> 379 379 </target> 380 <target name="copy-resources" description="Copy resource files to build directory"> 380 381 <copy todir="build" failonerror="no" includeemptydirs="no"> 381 382 <fileset dir="resources"/> … … 468 469 </sequential> 469 470 </macrodef> 470 <target name="test-compile" depends="test-init,compile,extract-libraries,epsg ">471 <target name="test-compile" depends="test-init,compile,extract-libraries,epsg,copy-resources" description="Compiles all tests"> 471 472 <call-javac testfamily="unit"> 472 473 <cp-elements> … … 841 842 </target> 842 843 843 <target name="script-compile" depends=" dist, test-compile">844 <target name="script-compile" depends="test-compile" description="Compiles all scripts"> 844 845 <javac sourcepath="" srcdir="${base.dir}/scripts" failonerror="true" includes="*.java" 845 846 destdir="${script-build.dir}" target="${java.lang.version}" source="${java.lang.version}" debug="on"
Note:
See TracChangeset
for help on using the changeset viewer.