Changeset 12589 in osm for applications/editors/josm/plugins
- Timestamp:
- 2008-12-25T19:08:21+01:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/openstreetbugs
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/openstreetbugs/build.xml
r12588 r12589 1 1 <project name="openstreetbugs" default="dist" basedir="."> 2 2 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" /> 4 10 5 11 <!-- compilation properties --> … … 26 32 27 33 <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>32 34 33 35 <!-- copy images to jar --> … … 36 38 </copy> 37 39 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"/> 45 48 <!-- create the jar file --> 46 49 <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}"> … … 48 51 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.osb.OsbPlugin" /> 49 52 <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}" /> 52 55 <attribute name="Plugin-Mainversion" value="1180"/> 53 56 <attribute name="Author" value="Henrik Niehaus" />
Note:
See TracChangeset
for help on using the changeset viewer.