source: osm/applications/editors/josm/plugins/apache-commons/build.xml@ 34444

Last change on this file since 34444 was 33668, checked in by donvip, 7 years ago

fix build.xml to include lib jars

File size: 2.3 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<project name="apache-commons" default="dist" basedir=".">
3
4 <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
5 <property name="plugin.main.version" value="10580"/>
6
7 <!-- Configure these properties (replace "..." accordingly).
8 See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
9 -->
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."/>
13
14 <property name="josm" location="../../core/dist/josm-custom.jar"/>
15 <property name="plugin.dist.dir" value="../../dist"/>
16 <!--<property name="plugin.requires" value=""/>-->
17 <property name="plugin.stage" value="10"/>
18
19 <property name="plugin.canloadatruntime" value="true"/>
20
21 <!-- ** include targets that all plugins have in common ** -->
22 <import file="../build-common.xml"/>
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 ... "/>
31 <javac srcdir="src" includes="org/apache/commons/lang3/**" debug="false" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="ISO-8859-1" />
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 <path refid="plugin.classpath"/>
46 </classpath>
47 </javac>
48 </target>
49
50</project>
Note: See TracBrowser for help on using the repository browser.