Ignore:
Timestamp:
2008-12-25T19:08:21+01:00 (16 years ago)
Author:
stoecker
Message:

cleanup

Location:
applications/editors/josm/plugins/openstreetbugs
Files:
1 deleted
1 edited

Legend:

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

    r12588 r12589  
    11<project name="openstreetbugs" default="dist" basedir=".">
    22
    3         <property file="build.properties" />
     3        <!-- the path to JOSM source code (project directory) -->
     4        <property name="josm.base.dir" value="../../core" />
     5
     6        <property name="josm.dist.dir" value="../../dist" />
     7
     8        <!--a osm file, which will be loaded, when running the test target -->
     9        <property name="osmfile" value="/tmp/hoe.osm" />
    410
    511        <!-- compilation properties -->
     
    2632
    2733        <target name="dist" depends="clean, compile">
    28                 <!-- set build time -->
    29                 <tstamp>
    30                         <format property="current.time" pattern="dd.MM.yyyy HH:mm" />
    31                 </tstamp>
    3234
    3335                <!-- copy images to jar -->
     
    3638                </copy>
    3739
    38                 <!-- copy language files -->
    39                 <copy todir="${plugin.build.dir}">
    40                         <fileset dir="src">
    41                                 <include name="**/*.properties" />
    42                         </fileset>
    43                 </copy>
    44 
     40    <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     41      <env key="LANG" value="C"/>
     42      <arg value="info"/>
     43      <arg value="--xml"/>
     44      <arg value="."/>
     45    </exec>
     46    <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
     47    <delete file="REVISION"/>
    4548                <!-- create the jar file -->
    4649                <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
     
    4851                                <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.osb.OsbPlugin" />
    4952                                <attribute name="Plugin-Description" value="Imports issues from OpenStreetBugs" />
    50                                 <attribute name="Plugin-Version" value="${version}" />
    51                                 <attribute name="Plugin-Date" value="${current.time}" />
     53                                <attribute name="Plugin-Version" value="${version.entry.commit.date}" />
     54                                <attribute name="Plugin-Date" value="${version.entry.commit.revision}" />
    5255                                <attribute name="Plugin-Mainversion" value="1180"/>
    5356                                <attribute name="Author" value="Henrik Niehaus" />
Note: See TracChangeset for help on using the changeset viewer.