Changeset 2845 in osm


Ignore:
Timestamp:
2007-05-09T10:42:35+02:00 (18 years ago)
Author:
frsantos
Message:

Generation of REVISION file on jar build

File:
1 edited

Legend:

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

    r2842 r2845  
    2323                        <fileset dir="images"/>
    2424                </copy>
     25                <exec append="false" output="build/resources/REVISION" executable="svn" failifexecutionfails="false">
     26                        <env key="LANG" value="C"/>
     27                        <arg value="info"/>
     28                        <arg value="."/>
     29                </exec>
     30                <property file="build/resources/REVISION" />
    2531                <jar destfile="validator.jar" basedir="build">
    2632                        <manifest>
    2733                                <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.validator.OSMValidatorPlugin"/>
    2834                                <attribute name="Plugin-Description" value="A OSM data validator"/>
     35                                <attribute name="Plugin-Version" value="${Revision}"/>
    2936                                <attribute name="Author" value="Francisco R. Santos &lt;frsantos@gmail.com>"/>
    3037                        </manifest>
     
    4249        <target name="test" depends="install">
    4350                <java jar="${josm}" fork="true">
    44                         <arg value="/home/frsantos/Desktop/JOSM/Tracks/Auto_1007_13.gpx"/>
    4551                </java>
    4652        </target>
Note: See TracChangeset for help on using the changeset viewer.