Changeset 35362 in osm for applications/editors/josm


Ignore:
Timestamp:
2020-03-14T17:20:37+01:00 (5 years ago)
Author:
donvip
Message:

fix #josm18916 - Switch to Apache Ivy, add Commons Math (patch by taylor.smock)

Location:
applications/editors/josm/plugins/apache-commons
Files:
1 added
10 deleted
5 edited

Legend:

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

    r35338 r35362  
    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.8"/>
    6         <classpathentry exported="true" kind="lib" path="lib/xz-1.6.jar" sourcepath="lib/xz-1.6-sources.jar">
    7                 <attributes>
    8                         <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-apache-commons/lib/xz-1.6-javadoc.jar!/"/>
    9                 </attributes>
    10         </classpathentry>
    11         <classpathentry exported="true" kind="lib" path="lib/dec-0.1.2.jar" sourcepath="lib/dec-0.1.2-sources.jar">
    12                 <attributes>
    13                         <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-apache-commons/lib/dec-0.1.2-javadoc.jar!/"/>
    14                 </attributes>
    15         </classpathentry>
    16         <classpathentry kind="lib" path="lib/zstd-jni-1.3.2-2.jar" sourcepath="lib/zstd-jni-1.3.2-2-sources.jar">
    17                 <attributes>
    18                         <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-apache-commons/lib/zstd-jni-1.3.2-2-javadoc.jar!/"/>
    19                 </attributes>
    20         </classpathentry>
     6        <classpathentry exported="true" kind="con" path="org.apache.ivyde.eclipse.cpcontainer.IVYDE_CONTAINER/?project=JOSM-apache-commons&amp;ivyXmlPath=ivy.xml&amp;confs=*"/>
    217        <classpathentry kind="output" path="bin"/>
    228</classpath>
  • applications/editors/josm/plugins/apache-commons/.project

    r32532 r35362  
    44        <comment></comment>
    55        <projects>
     6                <project>JOSM</project>
    67        </projects>
    78        <buildSpec>
     
    2526                <nature>org.eclipse.jdt.core.javanature</nature>
    2627                <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
     28                <nature>org.apache.ivyde.eclipse.ivynature</nature>
    2729        </natures>
    2830</projectDescription>
  • applications/editors/josm/plugins/apache-commons/.settings/org.eclipse.core.resources.prefs

    r31673 r35362  
    11eclipse.preferences.version=1
    2 encoding//src/org/apache/commons/lang3=ISO-8859-1
    32encoding/<project>=UTF-8
  • applications/editors/josm/plugins/apache-commons/build.xml

    r35340 r35362  
    11<?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">
    33
    44    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
     
    1111    <property name="plugin.class" value="org.openstreetmap.josm.plugins.commons.CommonsPlugin"/>
    1212    <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
    1614    <!--<property name="plugin.requires" value=""/>-->
    1715    <property name="plugin.stage" value="10"/>
     
    2220    <import file="../build-common.xml"/>
    2321
    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/>
    3224    </target>
    3325
    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"/>
    5427
    5528</project>
  • applications/editors/josm/plugins/apache-commons/lib

    • Property svn:ignore set to
      *.jar
Note: See TracChangeset for help on using the changeset viewer.