Ignore:
Timestamp:
2012-04-11T19:26:28+02:00 (12 years ago)
Author:
donvip
Message:

[josm_opendata] rely on jts plugin to reduce jar size

File:
1 edited

Legend:

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

    r28191 r28246  
    3131    <!-- should not be necessary to change the following properties -->
    3232    <property name="josm" location="../../core/dist/josm-custom.jar"/>
     33    <property name="jts" location="../../dist/jts.jar"/>
    3334    <property name="plugin.build.dir" value="build"/>
    3435    <property name="plugin.src.dir" value="src"/>
     
    9394    -->
    9495    <target name="compile_geotools" depends="init">
    95         <echo message="compiling JTS ... "/>
    96         <javac srcdir="includes/com/vividsolutions/jts" debug="false" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="ISO-8859-1" />
    9796        <echo message="compiling JSR-275 ... "/>
    9897        <javac srcdir="includes/javax/measure" debug="false" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="UTF-8" />
     
    10099        <javac srcdir="includes/javax/vecmath" debug="false" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="ISO-8859-1" />
    101100        <echo message="compiling GeoTools ... "/>
    102         <javac debug="true" sourcepath="" srcdir="includes" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="ISO-8859-1">
     101        <javac debug="false" sourcepath="" srcdir="includes" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="ISO-8859-1">
    103102            <include name="org/geotools/**/*.java"/>
    104103                <include name="org/opengis/**/*.java"/>
     104            <classpath>
     105                <pathelement location="${jts}"/>
     106            </classpath>
    105107        </javac>
    106108    </target>
    107109    <!--
    108110    **********************************************************
    109     ** compile_naptune - compiles Neptune classes
     111    ** compile_neptune - compiles Neptune classes
    110112    **********************************************************
    111113    -->
     
    125127                    <pathelement path="${plugin.build.dir}"/>
    126128                <pathelement location="${josm}"/>
     129                <pathelement location="${jts}"/>
    127130            </classpath>
    128131            <compilerarg value="-Xlint:deprecation"/>
     
    177180                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/OpenData"/>
    178181                <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
    179                 <!--<attribute name="Plugin-Requires" value="jts"/>-->
     182                <attribute name="Plugin-Requires" value="jts"/>
    180183                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    181184            </manifest>
Note: See TracChangeset for help on using the changeset viewer.