Changeset 32310 in osm for applications/editors/josm/plugins/build-common.xml
- Timestamp:
- 2016-06-18T15:40:14+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/build-common.xml
r32306 r32310 16 16 <property name="josm.test.build.dir" location="../../core/test/build"/> 17 17 <property name="groovy.jar" location="../00_core_tools/groovy-all-2.4.6.jar"/> 18 <property name="checkstyle.jar" location="../00_core_tools/checkstyle/checkstyle-6.19-all.jar"/> 19 <property name="findbugs-ant.jar" location="../00_core_tools/findbugs/findbugs-ant.jar"/> 18 20 <property name="annotations.jar" location="../00_core_tools/findbugs/annotations.jar"/> 19 21 <property name="plugin.build.dir" location="build"/> … … 454 456 <path refid="test.classpath"/> 455 457 </classpath> 456 <javac target="1.7" source="1.7"debug="on" encoding="UTF-8">458 <javac debug="on" encoding="UTF-8"> 457 459 <compilerarg value="-Xlint:all"/> 458 460 <compilerarg value="-Xlint:-serial"/> … … 488 490 </target> 489 491 492 <target name="checkstyle"> 493 <taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties" classpath="${checkstyle.jar}"/> 494 <checkstyle config="../00_core_tools/checkstyle/josm_checks.xml"> 495 <fileset dir="${basedir}/src" includes="**/*.java"/> 496 <fileset dir="${basedir}/test" includes="**/*.java" erroronmissingdir="false"/> 497 <formatter type="xml" toFile="checkstyle-josm-${ant.project.name}.xml"/> 498 </checkstyle> 499 </target> 500 501 <target name="findbugs" depends="dist"> 502 <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${findbugs-ant.jar}"/> 503 <path id="findbugs-classpath"> 504 <fileset dir="../00_core_tools/findbugs/"> 505 <include name="*.jar"/> 506 </fileset> 507 </path> 508 <property name="findbugs-classpath" refid="findbugs-classpath"/> 509 <findbugs output="xml" 510 outputFile="findbugs-josm-${ant.project.name}.xml" 511 classpath="${findbugs-classpath}" 512 pluginList="" 513 excludeFilter="../00_core_tools/findbugs/josm-filter.xml" 514 effort="default" 515 reportLevel="low" 516 > 517 <sourcePath path="${basedir}/src" /> 518 <class location="${plugin.jar}" /> 519 </findbugs> 520 </target> 521 490 522 <target name="runjosm" depends="install"> 491 523 <java jar="${josm}" fork="true">
Note:
See TracChangeset
for help on using the changeset viewer.