--- build.xml.orig 2010-05-08 17:44:45.000000000 +0200
+++ build.xml 2010-06-15 22:39:14.030118012 +0200
@@ -26,53 +26,8 @@
</fileset>
</path>
+ <target name="dist" depends="compile">
- <!--
- ** Used by Eclipse ant builder for updating
- ** the REVISION file used by JOSM
- -->
- <target name="create-revision-eclipse">
- <copy file="styles/standard/elemstyles.xml" todir="data"/>
- <property name="revision.dir" value="bin"/>
- <antcall target="create-revision" />
- </target>
-
- <!--
- ** Creates the REVISION file to be included in the distribution
- -->
- <target name="create-revision">
- <property name="revision.dir" value="${build.dir}"/>
- <exec append="false" output="REVISION.XML" executable="svn" failifexecutionfails="false">
- <env key="LANG" value="C"/>
- <arg value="info"/>
- <arg value="--xml"/>
- <arg value="."/>
- </exec>
- <xmlproperty file="REVISION.XML" prefix="version" keepRoot="false" collapseAttributes="true"/>
- <delete file="REVISION.XML" />
- <tstamp>
- <format property="build.tstamp" pattern="yyyy-MM-dd HH:mm:ss"/>
- </tstamp>
-
- <property name="version.entry.commit.revision" value="UNKNOWN"/>
- <mkdir dir="${revision.dir}" />
- <echo file="${revision.dir}/REVISION">
-# automatically generated by JOSM build.xml - do not edit
-Revision: ${version.entry.commit.revision}
-Is-Local-Build: true
-Build-Date: ${build.tstamp}
-</echo>
- </target>
-
-
- <target name="dist" depends="compile,create-revision">
-
- <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
- <env key="LANG" value="C"/>
- <arg value="info"/>
- <arg value="--xml"/>
- <arg value="."/>
- </exec>
<xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
<delete file="REVISION"/>
<property name="version.entry.commit.revision" value="UNKNOWN"/>