Changeset 3743 in osm for applications/editors/josm


Ignore:
Timestamp:
2007-07-26T10:24:42+02:00 (17 years ago)
Author:
christofd
Message:

new version due to josm interface changes

File:
1 edited

Legend:

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

    r3410 r3743  
    99   
    1010   <!-- plugin meta data (enter new version number if anything changed!) -->
    11    <property name="plugin.version" value="1.0.1"/>
     11   <property name="plugin.version" value="1.2"/>
    1212   <property name="plugin.description" value="Allow live GPS feed from a gpsd server (V${plugin.version})."/>
    1313   <property name="plugin.stage" value="50"/>
     
    6666  </target>
    6767
    68   <!-- write site description for the given plugin -->
     68  <!-- write site description for the given plugin so josm will accept it -->
    6969  <target name="site">
     70    <echo message="creating site description in ${plugin.site.file}"/>
     71    <echo file="${plugin.site.file}">&lt;!-- plugins available on this site -->
     72  &lt;plugins>
     73    &lt;plugin id="${ant.project.name}" version="${plugin.version}">
     74      &lt;name>${ant.project.name}&lt;/name>
     75      &lt;description>${plugin.description}&lt;/description>
     76      &lt;resource>${plugin.site.url}${plugin.jar}&lt;/resource>
     77    &lt;/plugin>
     78  &lt;/plugins>
     79    </echo>
     80  </target>
     81
     82  <!-- write site description for the given plugin (not implemented in JOSM as full version yet!) -->
     83  <target name="site-full-donotuse">
    7084    <echo message="creating site description in ${plugin.site.file}"/>
    7185    <echo file="${plugin.site.file}">&lt;?xml version="1.0"?>
     
    8397      &lt;description>${plugin.description}&lt;/description>
    8498      &lt;resources>
    85         &lt;resource src="${plugin.site.url}/${plugin.jar}"
    86                   target="$${josm.user.dir}/plugins/${plugin.jar}"/>
     99        &lt;resource src="${plugin.site.url}${plugin.jar}"
     100                  target="${josm.home.dir}/plugins/${plugin.jar}"/>
    87101      &lt;/resources>
    88102    &lt;/plugin>
Note: See TracChangeset for help on using the changeset viewer.