Changeset 10845 in josm for trunk/build.xml


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.