Changeset 12582 in josm
- Timestamp:
- 2017-08-08T23:37:33+02:00 (7 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r12534 r12582 24 24 <property name="mapcss.dir" location="${src.dir}/org/openstreetmap/josm/gui/mappaint/mapcss"/> 25 25 <property name="proj-build.dir" location="${base.dir}/build2"/> 26 <property name="checkstyle-build.dir" location="${base.dir}/build2"/> 26 27 <property name="epsg.output" location="${base.dir}/data/projection/custom-epsg"/> 27 28 <property name="groovy.jar" location="${base.dir}/tools/groovy-all.jar"/> … … 302 303 </javac> 303 304 <!-- JOSM --> 304 <javac compiler="${javac.compiler}" sourcepath="" srcdir="${src.dir}" 305 <javac compiler="${javac.compiler}" sourcepath="" srcdir="${src.dir}" 305 306 excludes="com/**,oauth/**,org/apache/commons/**,org/glassfish/**,org/openstreetmap/gui/jmapviewer/**" 306 307 destdir="build" target="1.8" source="1.8" debug="on" includeantruntime="false" createMissingPackageInfoClass="false" encoding="UTF-8"> … … 366 367 <delete dir="${build.dir}"/> 367 368 <delete dir="${proj-build.dir}"/> 369 <delete dir="${checkstyle-build.dir}"/> 368 370 <delete dir="${dist.dir}"/> 369 371 <delete dir="${mapcss.dir}/parsergen"/> … … 760 762 </target> 761 763 762 <target name="checkstyle" depends="init-properties"> 764 <target name="checkstyle-compile" depends="init-properties"> 765 <mkdir dir="${checkstyle-build.dir}"/> 766 <javac sourcepath="" srcdir="${base.dir}/tools/checkstyle/checks" failonerror="true" 767 destdir="${checkstyle-build.dir}" target="1.8" source="1.8" debug="on" 768 includeantruntime="false" createMissingPackageInfoClass="false" 769 encoding="UTF-8" classpath="tools/checkstyle/checkstyle-all.jar"> 770 </javac> 771 </target> 772 <target name="checkstyle" depends="checkstyle-compile"> 763 773 <taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties" 764 classpath="tools/checkstyle/checkstyle-all.jar "/>774 classpath="tools/checkstyle/checkstyle-all.jar:dist/josm-custom.jar:${checkstyle-build.dir}"/> 765 775 <checkstyle config="tools/checkstyle/josm_checks.xml"> 766 776 <fileset dir="${base.dir}/src/org/openstreetmap/josm" includes="**/*.java" -
trunk/tools/checkstyle/josm_checks.xml
r12081 r12582 103 103 <module name="FinalClass"/> 104 104 <module name="HideUtilityClassConstructor"/> 105 <module name="org.openstreetmap.josm.TopLevelJavadocCheck"/> 105 106 </module> 106 107 <module name="Header"> -
trunk/tools/checkstyle/josm_filters.xml
r12254 r12582 44 44 <suppress checks="HeaderCheck" files="DNSName(Fix)?\.java" /> 45 45 <suppress checks="FileLengthCheck" files="DomainValidator\.java" /> 46 <suppress checks="org.openstreetmap.josm.TopLevelJavadocCheck" files="package-info\.java" /> 46 47 </suppressions>
Note:
See TracChangeset
for help on using the changeset viewer.