Ignore:
Timestamp:
2018-08-19T14:21:28+02:00 (8 years ago)
Author:
donvip
Message:

fix Ivy build of StreetSide (conflicts with build of wikipedia plugin hosted on GitHub)

File:
1 edited

Legend:

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

    r34578 r34581  
    3232    <property name="plugin.sources.jar"     location="${plugin.dist.dir}/${ant.project.name}-sources.jar"/>
    3333    <property name="plugin.javadoc.jar"     location="${plugin.dist.dir}/${ant.project.name}-javadoc.jar"/>
     34    <property name="ivy.home"               location="${user.home}/.ant"/>
     35    <property name="ivy.jar.dir"            location="${ivy.home}/lib"/>
     36    <property name="ivy.jar.file"           location="${ivy.jar.dir}/ivy.jar"/>
     37    <property name="ivy.version"            value="2.5.0-rc1"/>
    3438
    3539    <!-- For Windows-specific stuff -->
     
    661665        </echo>
    662666    </target>
     667    <!--
     668    ** Ivy tasks
     669    -->
     670    <target name="download-ivy">
     671        <mkdir dir="${ivy.jar.dir}"/>
     672        <get src="https://jcenter.bintray.com/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar" dest="${ivy.jar.file}" usetimestamp="true"/>
     673    </target>
     674    <target name="init-ivy" depends="download-ivy">
     675        <path id="ivy.lib.path">
     676            <fileset dir="${ivy.jar.dir}" includes="*.jar"/>
     677        </path>
     678        <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/>
     679    </target>
    663680</project>
Note: See TracChangeset for help on using the changeset viewer.