Changeset 34677 in osm


Ignore:
Timestamp:
2018-09-28T22:14:23+02:00 (6 years ago)
Author:
donvip
Message:

define plugin.resources.dir and add it to test classpath

see https://github.com/JOSM/Mapillary/issues/82#issuecomment-425483359

File:
1 edited

Legend:

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

    r34651 r34677  
    2727    <property name="plugin.test.dir"        location="test"/>
    2828    <property name="plugin.src.dir"         location="src"/>
     29    <property name="plugin.resources.dir"   location="resources"/>
    2930    <property name="plugin.doc.dir"         location="javadoc"/>
    3031    <property name="plugin.lib.dir"         location="lib"/>
     
    121122    <target name="setup-dist-default">
    122123        <copy todir="${plugin.build.dir}/resources" failonerror="no" includeemptydirs="no">
    123             <fileset dir="resources"/>
     124            <fileset dir="${plugin.resources.dir}"/>
    124125        </copy>
    125126        <copy todir="${plugin.build.dir}/images" failonerror="no" includeemptydirs="no">
     
    510511            <exclude name="**/*-javadoc.jar"/>
    511512        </fileset>
     513        <pathelement path="${plugin.resources.dir}"/>
    512514        <pathelement path="${plugin.test.dir}/data"/>
    513515        <pathelement path="${josm.test.build.dir}/unit"/>
Note: See TracChangeset for help on using the changeset viewer.