source: subversion/applications/editors/josm/plugins/MicrosoftStreetside/build.xml @ 34317

Last change on this file since 34317 was 34317, checked in by renerr18, 14 months ago

Initial checkin of MicrosoftStreetside? source

File size: 2.7 KB
Line 
1<?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">
7
8        <!-- Configure these properties (replace "..." accordingly).
9                 See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
10             -->
11        <!-- enter the SVN commit message -->
12        <property name="commit.message" value="Commit message" />
13        <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
14        <property name="plugin.main.version" value="13878" />
15        <property name="plugin.compile.version" value="13878" />
16
17    <property name="plugin.author" value="renerr18" />
18        <property name="plugin.class" value="org.openstreetmap.josm.plugins.streetside.StreetsidePlugin" />
19        <property name="plugin.description" value="View high resolution Microsoft Streetside 360 degree imagery in JOSM." />
20        <property name="plugin.icon" value="images/streetside-logo-white.png" />
21        <property name="plugin.link" value="https://github.com/JOSM/MicrosoftStreetside"/>
22        <property name="plugin.requires" value="apache-commons;apache-http;"/>
23
24        <property name="plugin.canloadatruntime" value="true"/>
25
26        <!-- edit the properties of this plugin in the file `gradle.properties` -->
27        <property file="${basedir}/gradle.properties"/>
28
29        <property name="josm" location="../../core/dist/josm-custom.jar"/>
30        <property name="plugin.dist.dir" value="../../dist"/>
31
32        <!--** include targets that all plugins have in common **-->
33        <import file="../build-common.xml"/>
34
35        <path id="ivy.lib.path" path="ant/ivy-2.4.0.jar" />
36        <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path" />
37
38        <!-- ** include targets that all plugins have in common ** -->
39        <import file="../build-common.xml" />
40
41        <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
42                <include name="apache-commons.jar"/>
43                <include name="apache-http.jar"/>
44        </fileset>
45
46        <target name="pre-compile" depends="fetch_dependencies">
47                <!-- include fetch_dependencies task -->
48        </target>
49
50        <target name="clean_ivy">
51                <delete failonerror="false">
52                        <fileset dir="${plugin.lib.dir}">
53                                <include name="**/*.jar"/>
54                                <exclude name="**/*-custom.jar" />
55                        </fileset>
56                </delete>
57        </target>
58
59        <target name="fetch_dependencies" depends="clean_ivy">
60                <echo>fetching dependencies with ivy</echo>
61                <ivy:retrieve pattern="${plugin.lib.dir}/[artifact]-[type].[ext]" conf="default" />
62        </target>
63
64        <target name="install-plugin" depends="clean, dist, install">
65                <echo>Installed areaselector plugin</echo>
66        </target>
67
68        <target name="test-run" depends="install-plugin, runjosm">
69        </target>
70</project>
Note: See TracBrowser for help on using the repository browser.