Changeset 34364 in osm for applications/editors/josm/plugins/build-common.xml
- Timestamp:
- 2018-06-29T21:57:20+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/build-common.xml
r34363 r34364 27 27 <!-- this is the directory where the plugin jar is copied to --> 28 28 <property name="plugin.dist.dir" location="../../dist"/> 29 <property name="ant.build.javac.target" value="1.8"/> 30 <property name="ant.build.javac.source" value="1.8"/> 29 <property name="java.lang.version" value="1.8" /> 31 30 <property name="plugin.jar" location="${plugin.dist.dir}/${ant.project.name}.jar"/> 32 31 <property name="plugin.sources.jar" location="${plugin.dist.dir}/${ant.project.name}-sources.jar"/> … … 98 97 <target name="compile" depends="init, pre-compile" unless="skip-compile"> 99 98 <echo message="compiling sources for ${plugin.jar} ..."/> 100 <javac compiler="${javac.compiler}" srcdir="${plugin.src.dir}" debug="true" destdir="${plugin.build.dir}" includeantruntime="false" encoding="UTF-8"> 99 <javac compiler="${javac.compiler}" srcdir="${plugin.src.dir}" debug="true" destdir="${plugin.build.dir}" includeantruntime="false" 100 encoding="UTF-8" target="${java.lang.version}" source="${java.lang.version}"> 101 101 <compilerclasspath> 102 102 <pathelement location="${error_prone_ant.jar}"/> … … 521 521 <target name="test-compile" depends="test-init,dist" if="test.present"> 522 522 <sequential> 523 <javac debug="on" includeantruntime="false" srcdir="${plugin.test.dir}/unit" destdir="${plugin.test.dir}/build/unit" encoding="UTF-8"> 523 <javac debug="on" includeantruntime="false" srcdir="${plugin.test.dir}/unit" destdir="${plugin.test.dir}/build/unit" encoding="UTF-8" 524 target="${java.lang.version}" source="${java.lang.version}"> 524 525 <classpath> 525 526 <fileset refid="plugin.requires.jars"/> … … 567 568 <mkdir dir="${checkstyle-build.dir}"/> 568 569 <javac sourcepath="" srcdir="../00_core_tools/checkstyle/src" failonerror="true" 569 destdir="${checkstyle-build.dir}" target="${ ant.build.javac.target}" source="${ant.build.javac.source}" debug="on"570 destdir="${checkstyle-build.dir}" target="${java.lang.version}" source="${java.lang.version}" debug="on" 570 571 includeantruntime="false" createMissingPackageInfoClass="false" 571 572 encoding="UTF-8" classpath="${checkstyle.jar}">
Note:
See TracChangeset
for help on using the changeset viewer.