Changeset 10845 in josm


Ignore:
Timestamp:
2016-08-18T20:51:30+02:00 (3 years ago)
Author:
Don-vip
Message:

see #13232 - use JAPICC to generate a compatibility report between optimized jar and normal one

Location:
trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/README

    r10713 r10845  
    126126                            problems in source code); can be launched as an ant target in build.xml
    127127    - groovy-all-2.4.7.jar  used for some unit tests and various scripts
    128     - jacocoant.jar         used to include coverage data into JUnit test reports
     128    - jacocoant.jar         used to include coverage data into JUnit test reports
     129    - japicc/               used to generate a compatibility report between optimized jar and normal one
    129130    - javacc.jar            used in the build process to generate some .java files from a javacc source file
    130131                            (src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParser.jj)
  • trunk/build.xml

    r10833 r10845  
    519519        -dontnote
    520520        </proguard>
     521    </target>
     522    <!-- Proguard does not support Java 9 : http://sourceforge.net/p/proguard/bugs/551/ -->
     523    <target name="dist-optimized-report" depends="dist-optimized" unless="isJava9">
     524        <!-- generate difference report between optimized jar and normal one -->
     525        <exec executable="perl" dir="${basedir}">
     526            <arg value="tools/japicc/japi-compliance-checker.pl"/>
     527            <arg value="--lib=JOSM"/>
     528            <arg value="--keep-internal"/>
     529            <arg value="--v1=${version.entry.commit.revision}"/>
     530            <arg value="--v2=${version.entry.commit.revision}-optimized"/>
     531            <arg value="--report-path=${dist.dir}/compat_report.html"/>
     532            <arg value="${dist.dir}/josm-custom.jar"/>
     533            <arg value="${dist.dir}/josm-custom-optimized.jar"/>
     534        </exec>
    521535    </target>
    522536    <target name="check-plugins" depends="dist-optimized">
Note: See TracChangeset for help on using the changeset viewer.