Ignore:
Timestamp:
2009-02-05T18:14:57+01:00 (16 years ago)
Author:
zere
Message:

Fixed versioning in build.xml

File:
1 edited

Legend:

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

    r13553 r13554  
    1818        <echo message="creating ${plugin.jar}"/>
    1919        <javac srcdir="src" classpath="${josm}" debug="true" destdir="build">
     20            <compilerarg value="-Xlint:deprecation"/>
     21            <compilerarg value="-Xlint:unchecked"/>
    2022            <include name="**/*.java" />
    2123        </javac>
     
    2527            <fileset dir="images" />
    2628        </copy>
     29        <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
     30            <env key="LANG" value="C"/>
     31            <arg value="info"/>
     32            <arg value="--xml"/>
     33            <arg value="."/>
     34        </exec>
     35        <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
     36        <delete file="REVISION"/>
    2737        <jar destfile="${plugin.jar}" basedir="build">
    2838            <manifest>
    2939                <attribute name="Plugin-Class" value="terracer.TerracerPlugin" />
    3040                <attribute name="Plugin-Description" value="Easy creation of individual terraced houses." />
     41                <attribute name="Plugin-Version" value="${version.entry.commit.revision}" />
    3142            </manifest>
    3243        </jar>
Note: See TracChangeset for help on using the changeset viewer.