50 lines
1.8 KiB
Plaintext
50 lines
1.8 KiB
Plaintext
$OpenBSD: patch-build_xml,v 1.4 2011/10/31 20:22:20 jasper Exp $
|
|
--- build.xml.orig Tue Nov 30 01:17:55 2010
|
|
+++ build.xml Mon Oct 31 21:19:55 2011
|
|
@@ -28,28 +28,12 @@
|
|
|
|
|
|
<!--
|
|
- ** 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">
|
|
+ <!-- REVISION.XML is created by mirror-josm, since it uses svn and we don't have the .svn files -->
|
|
<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>
|
|
@@ -66,15 +50,7 @@ Build-Date: ${build.tstamp}
|
|
|
|
|
|
<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"/>
|
|
<property name="version.entry.commit.date" value="UNKNOWN"/>
|
|
<echo>Revision ${version.entry.commit.revision}</echo>
|