Changeset 34601 in osm for applications


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

define ivy tasks for all plugins

Location:
applications/editors/josm/plugins
Files:
2 edited

Legend:

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

    r34581 r34601  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <!--** This is a template build file for a JOSM  plugin.
    3 **
    4 ** Maintaining versions
    5 ** ====================-->
    6 <project name="MicrosoftStreetside" default="dist" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
     2<project name="MicrosoftStreetside" default="dist" basedir=".">
    73
    84        <!-- Configure these properties (replace "..." accordingly).
     
    4238        </target>
    4339
    44         <target name="clean_ivy">
    45                 <delete failonerror="false">
    46                         <fileset dir="${plugin.lib.dir}">
    47                                 <include name="**/*.jar"/>
    48                                 <exclude name="**/*-custom.jar" />
    49                         </fileset>
    50                 </delete>
    51         </target>
    52 
    53         <target name="fetch_dependencies" depends="clean_ivy, init-ivy">
    54                 <echo>fetching dependencies with ivy</echo>
    55                 <ivy:settings file="ivy_settings.xml" />
    56                 <ivy:retrieve pattern="${plugin.lib.dir}/[artifact]-[revision](-[classifier]).[ext]" conf="default" />
    57         </target>
    58 
    5940        <target name="install-plugin" depends="clean, dist, install">
    6041                <echo>Installed Microsoft Streetside plugin</echo>
  • 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.