[34317] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
[34710] | 2 | <project name="MicrosoftStreetside" default="dist" basedir="." xmlns:if="ant:if">
|
---|
[34317] | 3 |
|
---|
[34710] | 4 | <!-- Configure these properties (replace "..." accordingly).
|
---|
| 5 | See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
|
---|
| 6 | -->
|
---|
| 7 | <!-- enter the SVN commit message -->
|
---|
| 8 | <property name="commit.message" value="Commit message" />
|
---|
[34577] | 9 |
|
---|
[34710] | 10 | <!-- edit the properties of this plugin in the file `gradle.properties` -->
|
---|
| 11 | <property file="${basedir}/gradle.properties"/>
|
---|
[34317] | 12 |
|
---|
[34710] | 13 | <property name="josm" location="../../core/dist/josm-custom.jar"/>
|
---|
| 14 | <property name="plugin.dist.dir" value="../../dist"/>
|
---|
[34317] | 15 |
|
---|
[34710] | 16 | <!--** include targets that all plugins have in common **-->
|
---|
| 17 | <import file="../build-common.xml"/>
|
---|
[34317] | 18 |
|
---|
[34710] | 19 | <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
|
---|
| 20 | <include name="apache-commons.jar"/>
|
---|
| 21 | <include name="apache-http.jar"/>
|
---|
| 22 | <include name="utilsplugin2.jar"/>
|
---|
| 23 | <include name="javafx-windows.jar" if:set="isWindows"/>
|
---|
| 24 | <include name="javafx-unixoid.jar" if:set="isUnix"/>
|
---|
| 25 | <include name="javafx-osx.jar" if:set="isMac"/>
|
---|
| 26 | </fileset>
|
---|
[34317] | 27 |
|
---|
[34710] | 28 | <target name="pre-compile" depends="fetch_dependencies">
|
---|
| 29 | <!-- include fetch_dependencies task -->
|
---|
| 30 | </target>
|
---|
[34317] | 31 |
|
---|
[34710] | 32 | <target name="install-plugin" depends="clean, dist, install">
|
---|
| 33 | <echo>Installed Microsoft Streetside plugin</echo>
|
---|
| 34 | </target>
|
---|
[34317] | 35 |
|
---|
[34710] | 36 | <target name="test-run" depends="install-plugin, runjosm">
|
---|
| 37 | </target>
|
---|
[34317] | 38 | </project>
|
---|