Changeset 31763 in osm


Ignore:
Timestamp:
2015-11-16T22:53:30+01:00 (9 years ago)
Author:
donvip
Message:

[josm_mapdust] rely on gson plugin to avoid conflicts

Location:
applications/editors/josm/plugins/mapdust
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapdust/.classpath

    r30532 r31763  
    55        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
    66        <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
    7         <classpathentry kind="lib" path="lib/gson-2.2.4.jar"/>
     7        <classpathentry combineaccessrules="false" kind="src" path="/JOSM-GSON"/>
    88        <classpathentry kind="output" path="build/classes"/>
    99</classpath>
  • applications/editors/josm/plugins/mapdust/build.xml

    r30500 r31763  
    44    <property name="commit.message" value="MapDust bug reporter plugin"/>
    55    <property name="plugin.main.version" value="7001"/>
    6 
    76    <property name="apidoc.dir" value="doc"/>
    87
     
    1413    <import file="../build-common.xml"/>
    1514 
    16     <!-- classpath -->
    17     <path id="classpath">
    18         <fileset dir="${plugin.lib.dir}" includes="**/*.jar"/>
    19         <pathelement path="${josm}"/>
    20     </path>
    21 
    22     <!--
    23     **********************************************************
    24     ** compile - complies the source tree
    25     **********************************************************
    26     -->
    27     <target name="compile" depends="init">
    28         <echo message="compiling sources for ${plugin.jar} ..."/>
    29         <javac srcdir="src" classpathref="classpath" debug="true" destdir="${plugin.build.dir}" includeantruntime="false">
    30             <compilerarg value="-Xlint:deprecation"/>
    31             <compilerarg value="-Xlint:unchecked"/>
    32         </javac>
    33     </target>
     15        <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
     16        <include name="gson.jar"/>
     17    </fileset>
    3418
    3519    <target name="clean">
     
    6953        </copy>
    7054        <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
    71                 <zipfileset src="lib/gson-2.2.4.jar"/>
    7255            <manifest>
    7356                <attribute name="Author" value="Beata Jancso"/>
     
    7760                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/MapDust"/>
    7861                <attribute name="Plugin-Mainversion" value="${plugin.main.version}"/>
     62                <attribute name="Plugin-Requires" value="gson"/>
    7963                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    8064                <attribute name="Plugin-Icon" value="images/dialogs/mapdust_icon25.png"/>
Note: See TracChangeset for help on using the changeset viewer.