Changeset 15033 in josm for trunk/build.xml
- Timestamp:
- 2019-05-02T03:19:26+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r15032 r15033 38 38 <property name="mapcss.dir" location="${src.dir}/org/openstreetmap/josm/gui/mappaint/mapcss"/> 39 39 <property name="proj-build.dir" location="${base.dir}/build2"/> 40 <property name=" taginfo-build.dir" location="${base.dir}/build2"/>40 <property name="script-build.dir" location="${base.dir}/build2"/> 41 41 <property name="checkstyle-build.dir" location="${base.dir}/build2"/> 42 42 <property name="epsg.output" location="${base.dir}/data/projection/custom-epsg"/> … … 47 47 <property name="failureaccess.jar" location="${tools.dir}/failureaccess.jar"/> 48 48 <property name="guava.jar" location="${tools.dir}/guava.jar"/> 49 <property name="commons-lang3.jar" location="${pmd.dir}/commons-lang3-3.8.1.jar"/> 49 50 <property name="jformatstring.jar" location="${spotbugs.dir}/jFormatString-3.0.0.jar"/> 50 51 <property name="dist.jar" location="${dist.dir}/josm-custom.jar"/> … … 79 80 <isset property="isJava9"/> 80 81 </condition> 81 <path id="groovy.classpath">82 <fileset dir="${tools.dir}/groovy">83 <include name="*.jar"/>84 </fileset>85 </path>86 82 <path id="test.classpath"> 87 83 <fileset dir="${test.dir}/lib"> … … 91 87 <pathelement path="${failureaccess.jar}"/> 92 88 <pathelement path="${guava.jar}"/> 93 <pathelement path="${ pmd.dir}/commons-lang3-3.8.1.jar"/>89 <pathelement path="${commons-lang3.jar}"/> 94 90 <pathelement path="${spotbugs.dir}/spotbugs-annotations.jar"/> 95 91 </path> … … 430 426 <delete dir="${build.dir}"/> 431 427 <delete dir="${proj-build.dir}"/> 428 <delete dir="${script-build.dir}"/> 432 429 <delete dir="${checkstyle-build.dir}"/> 433 430 <delete dir="${dist.dir}"/> … … 842 839 </target> 843 840 844 <target name="taginfo-compile" depends="dist"> 845 <javac sourcepath="" srcdir="${base.dir}/scripts" failonerror="true" includes="TagInfoExtract.java" 846 destdir="${taginfo-build.dir}" target="${java.lang.version}" source="${java.lang.version}" debug="on" 847 includeantruntime="false" createMissingPackageInfoClass="false" 848 encoding="UTF-8" classpath="${build.dir}"> 841 <target name="script-compile" depends="dist, test-compile"> 842 <javac sourcepath="" srcdir="${base.dir}/scripts" failonerror="true" includes="*.java" 843 destdir="${script-build.dir}" target="${java.lang.version}" source="${java.lang.version}" debug="on" 844 includeantruntime="false" createMissingPackageInfoClass="false" encoding="UTF-8"> 845 <classpath> 846 <pathelement path="${build.dir}"/> 847 <pathelement path="${test.dir}/build/unit"/> 848 <pathelement path="${guava.jar}"/> 849 <pathelement path="${commons-lang3.jar}"/> 850 </classpath> 849 851 </javac> 850 852 </target> … … 859 861 <classpath> 860 862 <pathelement path="${dist.jar}"/> 861 <pathelement path="${taginfo-build.dir}"/> 863 <pathelement path="${script-build.dir}"/> 864 <pathelement path="${guava.jar}"/> 865 <pathelement path="${commons-lang3.jar}"/> 862 866 </classpath> 863 867 <arg value="--type"/> … … 872 876 </macrodef> 873 877 874 <target name="taginfo" depends=" taginfo-compile">878 <target name="taginfo" depends="script-compile"> 875 879 <_taginfo type="mappaint" output="taginfo_style.json"/> 876 880 <_taginfo type="presets" output="taginfo_presets.json"/> … … 878 882 </target> 879 883 880 <target name="imageryindex" depends="init-properties"> 881 <taskdef name="groovy" classname="org.codehaus.groovy.ant.Groovy" classpathref="groovy.classpath"/> 884 <target name="imageryindex" depends="init-properties,script-compile"> 882 885 <echo message="Checking editor imagery difference"/> 883 <groovy src="scripts/SyncEditorLayerIndex.groovy" classpath="${dist.jar}"> 884 <arg value="-noeli"/> 885 <arg value="-p"/> 886 <arg value="imagery_eliout.imagery.xml"/> 887 <arg value="-q"/> 888 <arg value="imagery_josmout.imagery.xml"/> 889 </groovy> 886 <java classname="SyncEditorLayerIndex" failonerror="true" fork="false"> 887 <classpath> 888 <pathelement path="${dist.jar}"/> 889 <pathelement path="${script-build.dir}"/> 890 <pathelement path="${guava.jar}"/> 891 <pathelement path="${commons-lang3.jar}"/> 892 </classpath> 893 <arg value="--noeli"/> 894 <arg value="-p"/> 895 <arg value="imagery_eliout.imagery.xml"/> 896 <arg value="-q"/> 897 <arg value="imagery_josmout.imagery.xml"/> 898 </java> 890 899 </target> 891 900
Note: See TracChangeset
for help on using the changeset viewer.