Changeset 9505 in josm for trunk/build.xml


Ignore:
Timestamp:
2016-01-17T16:55:23+01:00 (9 years ago)
Author:
stoecker
Message:

see #12313 - improve groovy script for EII/JOSM difference checks, add checking for best parameter, add output suppression

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r9501 r9505  
    616616    </target>
    617617
     618    <target name="imageryindex">
     619        <taskdef name="groovy" classname="org.codehaus.groovy.ant.Groovy" classpath="${groovy.jar};tools/commons-cli-1.3.1.jar"/>
     620        <echo message="Checking editor imagery difference"/>
     621        <groovy src="scripts/sync_editor_imagery_index.groovy" classpath="dist/josm-custom.jar">
     622            <arg value="-nomissingeii"/>
     623        </groovy>
     624    </target>
     625
     626    <target name="imageryindexdownload">
     627        <exec append="false" executable="wget" failifexecutionfails="true">
     628            <arg value="https://josm.openstreetmap.de/maps"/>
     629            <arg value="-O"/>
     630            <arg value="maps.xml"/>
     631            <arg value="--unlink"/>
     632        </exec>
     633        <exec append="false" executable="wget" failifexecutionfails="true">
     634            <arg value="https://raw.githubusercontent.com/osmlab/editor-imagery-index/gh-pages/imagery.json"/>
     635            <arg value="-O"/>
     636            <arg value="imagery.json"/>
     637            <arg value="--unlink"/>
     638        </exec>
     639        <antcall target="imageryindex"/>
     640    </target>
     641
    618642    <target name="checkstyle">
    619643        <taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties"
Note: See TracChangeset for help on using the changeset viewer.