Changeset 30896 in osm for applications/editors


Ignore:
Timestamp:
2015-01-03T15:59:06+01:00 (10 years ago)
Author:
donvip
Message:

fix #josm10910 - "ant install" no longer works on OS X and Windows

File:
1 edited

Legend:

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

    r30867 r30896  
    267267    <target name="install" depends="dist">
    268268        <property environment="env"/>
    269         <condition property="josm.plugins.dir" value="${env.APPDATA}/JOSM/plugins" else="${user.home}/.josm/plugins">
     269        <condition property="josm.plugins.dir" value="${env.LOCALAPPDATA}/JOSM/plugins">
    270270            <and>
    271271                <os family="windows"/>
     272            </and>
     273        </condition>
     274        <condition property="josm.plugins.dir" value="${user.home}/Library/JOSM/plugins">
     275            <and>
     276                <os family="mac"/>
     277            </and>
     278        </condition>
     279        <condition property="josm.plugins.dir" value="${user.home}/.josm/plugins">
     280            <and>
     281                <not><os family="windows"/></not>
     282                <not><os family="mac"/></not>
    272283            </and>
    273284        </condition>
Note: See TracChangeset for help on using the changeset viewer.