Ignore:
Timestamp:
2007-11-22T17:17:33+01:00 (17 years ago)
Author:
hakan
Message:

Fixed install target

File:
1 edited

Legend:

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

    r5197 r5693  
    11<project name="Lakewalker" default="dist" basedir=".">
     2
     3  <!-- josm "user home" directory depends on the platform used (windows has a different place than unix/linux) -->
     4  <property environment="env"/>
     5  <condition property="josm.home.dir" value="${env.APPDATA}/JOSM" else="${user.home}/.josm">
     6    <and>
     7      <os family="windows"/>
     8    </and>
     9  </condition>
    210
    311  <!-- compilation properties -->
    412  <property name="josm.build.dir"       value="../../core"/>
    5   <property name="josm.home.dir"        value="${user.home}/.josm"/>
     13  <property name="josm.plugins.dir" value="${josm.home.dir}/plugins"/>
    614  <property name="josm"                 location="../../core/dist/josm-custom.jar" />
    715  <property name="plugin.build.dir"     value="build"/>
     
    5058
    5159  <target name="install" depends="dist">
    52     <copy file="${plugin.jar}" todir="${user.home}/Application Data/JOSM/plugins"/>
     60    <copy file="${plugin.jar}" todir="${josm.plugins.dir}"/>
    5361    <copy todir="${user.home}/Application Data/JOSM/plugins/Lakewalker">
    5462      <fileset dir="Lakewalker">
Note: See TracChangeset for help on using the changeset viewer.