Ignore:
Timestamp:
2016-06-18T18:53:29+02:00 (8 years ago)
Author:
donvip
Message:

narrow focus of checkstyle/findbugs checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build-common.xml

    r32310 r32311  
    5656    **********************************************************
    5757    -->
    58     <target name="compile" depends="init">
     58    <target name="compile" depends="init" unless="skip-compile">
    5959        <echo message="compiling sources for ${plugin.jar} ..."/>
    6060        <javac srcdir="src" debug="true" destdir="${plugin.build.dir}" includeantruntime="false" encoding="UTF-8">
     
    103103    **********************************************************
    104104    -->
    105     <target name="dist" depends="compile,revision">
     105    <target name="dist" depends="compile,revision" unless="skip-dist">
    106106        <echo message="creating ${ant.project.name}.jar ... "/>
    107107        <antcall target="setup-dist" />
     
    269269        <echo file="REVISION.XML"><![CDATA[<info><entry><commit revision="UNKNOWN"><date>${current.time}</date></commit></entry></info>]]></echo>
    270270    </target>
    271     <target name="revision" depends="init-svn-revision-xml, init-git-svn-revision-xml, init-git-revision-xml, init-revision-fallback">
     271    <target name="revision" depends="init-svn-revision-xml, init-git-svn-revision-xml, init-git-revision-xml, init-revision-fallback" unless="skip-revision">
    272272      <xmlproperty file="REVISION.XML" prefix="version" keepRoot="false" collapseAttributes="true"/>
    273273      <delete file="REVISION.XML"/>
     
    493493        <taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties" classpath="${checkstyle.jar}"/>
    494494        <checkstyle config="../00_core_tools/checkstyle/josm_checks.xml">
    495             <fileset dir="${basedir}/src" includes="**/*.java"/>
     495            <fileset dir="${basedir}/src" includes="**/*.java" excludes="com/google/**/*.java,org/apache/**/*.java"/>
    496496            <fileset dir="${basedir}/test" includes="**/*.java" erroronmissingdir="false"/>
    497497            <formatter type="xml" toFile="checkstyle-josm-${ant.project.name}.xml"/>
     
    511511                classpath="${findbugs-classpath}"
    512512                pluginList=""
    513                 excludeFilter="../00_core_tools/findbugs/josm-filter.xml"
     513                excludeFilter="../findbugs-filter.xml"
    514514                effort="default"
    515515                reportLevel="low"
     
    517517            <sourcePath path="${basedir}/src" />
    518518            <class location="${plugin.jar}" />
     519            <class location="${josm}" />
    519520        </findbugs>
    520521    </target>
    521522
    522523    <target name="runjosm" depends="install">
    523         <java jar="${josm}" fork="true">
    524         </java>
     524        <java jar="${josm}" fork="true"/>
    525525    </target>
    526526
Note: See TracChangeset for help on using the changeset viewer.