Changeset 31673 in osm


Ignore:
Timestamp:
2015-10-25T00:57:21+02:00 (9 years ago)
Author:
donvip
Message:

[josm_apache-commons] update plugin for initial release

Location:
applications/editors/josm/plugins/apache-commons
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/apache-commons/.classpath

    r31199 r31673  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<classpath>
    3         <classpathentry kind="src" path="src"/>
     3        <classpathentry excluding="org/apache/commons/logging/impl/AvalonLogger.java|org/apache/commons/logging/impl/LogKitLogger.java|org/apache/commons/logging/impl/Jdk13LumberjackLogger.java|org/apache/commons/logging/impl/ServletContextCleaner.java" kind="src" path="src"/>
    44        <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
    55        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
     6        <classpathentry combineaccessrules="false" kind="src" path="/JOSM-log4j"/>
    67        <classpathentry kind="output" path="bin"/>
    78</classpath>
  • applications/editors/josm/plugins/apache-commons/build.xml

    r31668 r31673  
    1414        <property name="josm" location="../../core/dist/josm-custom.jar"/>
    1515        <property name="plugin.dist.dir" value="../../dist"/>
     16    <property name="plugin.requires" value="log4j"/>
    1617    <property name="plugin.stage" value="10"/>
    1718
    1819    <!-- ** include targets that all plugins have in common ** -->
    1920    <import file="../build-common.xml"/>
    20  
     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
    2157</project>
Note: See TracChangeset for help on using the changeset viewer.