Changeset 5422 in osm for applications/editors


Ignore:
Timestamp:
2007-11-10T03:56:35+01:00 (17 years ago)
Author:
ulf
Message:

change the install target, so it uses the right home dir even on windows

File:
1 edited

Legend:

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

    r5197 r5422  
    22
    33
     4  <!-- josm "user home" directory depends on the platform used (windows has a different place than unix/linux) -->
     5  <property environment="env"/>
     6  <condition property="josm.home.dir" value="${env.APPDATA}/JOSM" else="${user.home}/.josm">
     7    <and>
     8      <os family="windows"/>
     9    </and>
     10  </condition>
     11
    412  <!-- compilation properties -->
    513  <property name="josm.build.dir"       value="../../core"/>
    6   <property name="josm.home.dir"        value="${user.home}/.josm"/>
     14  <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/>
    715  <property name="josm"                 location="../../core/dist/josm-custom.jar" />
    816  <property name="plugin.build.dir"     value="build"/>
     
    4250  </target>
    4351 
     52  <target name="install" depends="dist">
     53    <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/>
     54  </target>
     55
    4456</project>
Note: See TracChangeset for help on using the changeset viewer.