Ignore:
Timestamp:
2018-08-26T20:21:31+02:00 (8 years ago)
Author:
donvip
Message:

define ivy tasks for all plugins

File:
1 edited

Legend:

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

    r34598 r34601  
    1111**
    1212-->
    13 <project name="plugin_common" basedir="." xmlns:jacoco="antlib:org.jacoco.ant" xmlns:if="ant:if" xmlns:unless="ant:unless">
     13<project name="plugin_common" basedir="." xmlns:jacoco="antlib:org.jacoco.ant" xmlns:if="ant:if" xmlns:unless="ant:unless" xmlns:ivy="antlib:org.apache.ivy.ant">
    1414
    1515    <property name="josm"                   location="../../core/dist/josm-custom.jar"/>
     
    681681        <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>
    682682    </target>
     683        <target name="clean_ivy">
     684                <delete failonerror="false">
     685                        <fileset dir="${plugin.lib.dir}">
     686                                <include name="**/*.jar"/>
     687                                <exclude name="**/*-custom.jar" />
     688                        </fileset>
     689                </delete>
     690        </target>
     691        <target name="fetch_dependencies" depends="clean_ivy, init-ivy">
     692                <echo>fetching dependencies with ivy</echo>
     693                <ivy:settings file="ivy_settings.xml" />
     694                <ivy:retrieve pattern="${plugin.lib.dir}/[artifact]-[revision](-[classifier]).[ext]" conf="default" />
     695        </target>
    683696</project>
Note: See TracChangeset for help on using the changeset viewer.