[31180] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
[31668] | 2 | <project name="apache-commons" default="dist" basedir=".">
|
---|
[31180] | 3 |
|
---|
| 4 | <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
|
---|
[32680] | 5 | <property name="plugin.main.version" value="10580"/>
|
---|
[31180] | 6 |
|
---|
| 7 | <!-- Configure these properties (replace "..." accordingly).
|
---|
[31926] | 8 | See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
|
---|
[31180] | 9 | -->
|
---|
[31668] | 10 | <property name="plugin.author" value="nokutu; Don-vip"/>
|
---|
| 11 | <property name="plugin.class" value="org.openstreetmap.josm.plugins.commons.CommonsPlugin"/>
|
---|
| 12 | <property name="plugin.description" value="Provides Apache Commons library components. Not meant to be installed directly by users, but rather as a dependency for other plugins."/>
|
---|
[31180] | 13 |
|
---|
| 14 | <property name="josm" location="../../core/dist/josm-custom.jar"/>
|
---|
| 15 | <property name="plugin.dist.dir" value="../../dist"/>
|
---|
[31714] | 16 | <!--<property name="plugin.requires" value=""/>-->
|
---|
[31199] | 17 | <property name="plugin.stage" value="10"/>
|
---|
| 18 |
|
---|
[32196] | 19 | <property name="plugin.canloadatruntime" value="true"/>
|
---|
| 20 |
|
---|
[31180] | 21 | <!-- ** include targets that all plugins have in common ** -->
|
---|
| 22 | <import file="../build-common.xml"/>
|
---|
[31673] | 23 |
|
---|
| 24 | <!--
|
---|
| 25 | ***************************************************************
|
---|
| 26 | ** compile_lang3 - compiles Apache Commons Lang 3 (not UTF-8 !)
|
---|
| 27 | ***************************************************************
|
---|
| 28 | -->
|
---|
| 29 | <target name="compile_lang3" depends="init">
|
---|
| 30 | <echo message="compiling Apache Commons Lang 3 ... "/>
|
---|
[31674] | 31 | <javac srcdir="src" includes="org/apache/commons/lang3/**" debug="false" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="ISO-8859-1" />
|
---|
[31673] | 32 | </target>
|
---|
| 33 |
|
---|
| 34 | <!--
|
---|
| 35 | **********************************************************
|
---|
| 36 | ** compile - compiles the source tree
|
---|
| 37 | **********************************************************
|
---|
| 38 | -->
|
---|
| 39 | <target name="compile" depends="compile_lang3">
|
---|
| 40 | <echo message="compiling sources for ${plugin.jar} ... "/>
|
---|
| 41 | <javac srcdir="src" debug="true" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="UTF-8">
|
---|
| 42 | <exclude name="**/org/apache/commons/lang3/**" />
|
---|
| 43 | <classpath>
|
---|
| 44 | <pathelement path="${plugin.build.dir}"/>
|
---|
| 45 | <pathelement location="${josm}"/>
|
---|
| 46 | </classpath>
|
---|
| 47 | </javac>
|
---|
| 48 | </target>
|
---|
| 49 |
|
---|
[31180] | 50 | </project>
|
---|