Changeset 35362 in osm for applications/editors/josm/plugins/apache-commons/build.xml
- Timestamp:
- 2020-03-14T17:20:37+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/apache-commons/build.xml
r35340 r35362 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <project name="apache-commons" default="dist" basedir="."> 2 <project name="apache-commons" default="dist" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant"> 3 3 4 4 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> … … 11 11 <property name="plugin.class" value="org.openstreetmap.josm.plugins.commons.CommonsPlugin"/> 12 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"/> 13 16 14 <!--<property name="plugin.requires" value=""/>--> 17 15 <property name="plugin.stage" value="10"/> … … 22 20 <import file="../build-common.xml"/> 23 21 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" /> 22 <target name="resolve" description="--> retrieve dependencies with Ivy"> 23 <ivy:retrieve/> 32 24 </target> 33 25 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/collections4/bloomfilter/hasher/function/Murmur*.java" /> 44 <classpath> 45 <pathelement path="${plugin.build.dir}"/> 46 <path refid="plugin.classpath"/> 47 </classpath> 48 </javac> 49 </target> 50 51 <target name="pre-javadoc"> 52 <delete><fileset dir="src" includes="**/org/apache/commons/collections4/bloomfilter/hasher/function/Murmur*.java"/></delete> 53 </target> 26 <target name="dist" depends="resolve,plugin_common.dist"/> 54 27 55 28 </project>
Note:
See TracChangeset
for help on using the changeset viewer.