Changeset 35463 in osm


Ignore:
Timestamp:
2020-05-20T21:26:14+02:00 (5 years ago)
Author:
simon04
Message:

see #josm16860, see #josm19087 - resolve test libraries using Ivy

File:
1 edited

Legend:

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

    r35443 r35463  
    549549        <init-test-preferences/>
    550550        <ivy:settings file="${josm.ivysettings}" id="ivy.core.settings"/>
    551         <ivy:retrieve file="${josm.ivy}" settingsRef="ivy.core.settings" pattern="../00_core_test_lib/[artifact].[ext]" conf="test"/>
     551        <ivy:resolve settingsRef="ivy.core.settings" file="${josm.ivy}" conf="test,jacocoant"/>
     552        <ivy:retrieve settingsRef="ivy.core.settings" pattern="../00_core_test_lib/[artifact].[ext]" conf="test"/>
     553        <ivy:retrieve settingsRef="ivy.core.settings" pattern="../00_core_tools/[conf].[ext]" conf="jacocoant"/>
     554        <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml" classpath="../00_core_tools/jacocoant.jar"/>
    552555        <path id="test.classpath">
    553556            <!-- JMockit must be included before JUnit in the classpath -->
     
    597600    <target name="test" depends="dist, test-clean, test-compile" if="test.present" unless="skip-test"
    598601        description="Run unit tests. OSM API (TEST) account shall be set with -Dosm.username and -Dosm.password">
    599         <ivy:retrieve file="${josm.ivy}" pattern="../00_core_tools/[conf].[ext]" conf="jacocoant"/>
    600         <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml" classpath="../00_core_tools/jacocoant.jar" />
    601602        <sequential>
    602603            <echo message="Running unit tests with JUnit"/>
     
    745746        <echo>fetching dependencies with ivy</echo>
    746747        <ivy:settings file="ivy_settings.xml" />
     748        <ivy:resolve />
    747749        <ivy:retrieve pattern="${plugin.lib.dir}/[artifact]-[revision](-[classifier]).[ext]" conf="default" />
    748750    </target>
Note: See TracChangeset for help on using the changeset viewer.