Ignore:
Timestamp:
2014-08-05T13:53:46+02:00 (10 years ago)
Author:
donvip
Message:

[josm_opendata] improve unit tests, fix java 7 warnings, replace interface by abstract class, move some constants out of OdConstants due to strange bug with Junit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/opendata/build.xml

    r30529 r30563  
    88    <property name="plugin.link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/OpenData"/>
    99    <property name="plugin.requires" value="jts;geotools;utilsplugin2"/>
     10    <fileset id="plugin.requires.jars" dir="../../dist">
     11        <include name="jts.jar"/>
     12        <include name="geotools.jar"/>
     13        <include name="opendata.jar"/>
     14    </fileset>
    1015
    1116    <!-- ** include targets that all plugins have in common ** -->
    1217    <import file="../build-common.xml"/>
    13        
     18   
    1419    <property name="jts" location="${plugin.dist.dir}/jts.jar"/>
    1520    <property name="geotools" location="${plugin.dist.dir}/geotools.jar"/>
    16        
     21   
    1722    <!--
    1823    **********************************************************
     
    5055        <echo message="compiling JOpenDocument ... "/>
    5156        <javac srcdir="includes/org/jopendocument" debug="false" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="ISO-8859-1" >
    52                 <classpath>
    53                         <!-- JDOM is required and embededd in geotools jar -->
    54                         <pathelement location="${geotools}"/>
    55                 </classpath>
     57            <classpath>
     58                <!-- JDOM is required and embedded in geotools jar -->
     59                <pathelement location="${geotools}"/>
     60            </classpath>
    5661        </javac>
    5762    </target>
     
    8085    -->
    8186    <target name="compile" depends="init, compile_lang3, compile_poi, compile_jopendoc, compile_neptune, compile_j7zip">
    82         <echo message="compiling sources for  ${plugin.jar} ... "/>
     87        <echo message="compiling sources for ${plugin.jar} ... "/>
    8388        <javac srcdir="src" debug="true" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="UTF-8">
    8489            <classpath>
    85                     <pathelement path="${plugin.build.dir}"/>
     90                <pathelement path="${plugin.build.dir}"/>
    8691                <pathelement location="${josm}"/>
    8792                <pathelement location="${jts}"/>
     
    98103          </classpath>
    99104    </taskdef>
    100        
     105   
    101106    <target name="xjc_neptune">
    102107        <xjc schema="resources/neptune/neptune.xsd" destdir="includes" package="neptune" target="2.1" />
Note: See TracChangeset for help on using the changeset viewer.