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

Last change on this file since 31673 was 31673, checked in by donvip, 10 years ago

[josm_apache-commons] update plugin for initial release

File size: 2.8 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="7777"/>
6
7 <!-- Configure these properties (replace "..." accordingly).
8 See http://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="log4j"/>
17 <property name="plugin.stage" value="10"/>
18
19 <!-- ** include targets that all plugins have in common ** -->
20 <import file="../build-common.xml"/>
21
22 <property name="log4j" location="${plugin.dist.dir}/log4j.jar"/>
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 <exclude name="**/org/apache/commons/logging/impl/AvalonLogger.java" />
44 <exclude name="**/org/apache/commons/logging/impl/Jdk13LumberjackLogger.java" />
45 <exclude name="**/org/apache/commons/logging/impl/LogKitLogger.java" />
46 <exclude name="**/org/apache/commons/logging/impl/ServletContextCleaner.java" />
47 <classpath>
48 <pathelement path="${plugin.build.dir}"/>
49 <pathelement location="${josm}"/>
50 <pathelement location="${log4j}"/>
51 </classpath>
52 <compilerarg value="-Xlint:deprecation"/>
53 <compilerarg value="-Xlint:unchecked"/>
54 </javac>
55 </target>
56
57</project>
Note: See TracBrowser for help on using the repository browser.