openbsd-ports/geo/josm/patches/patch-build_xml
ian 5907a5a769 Fix corrupt distfile noted by naddy@. Do a bit less work in getting
revision# here, more in mirror script. No bump as it could not have built.
2010-11-30 00:48:56 +00:00

34 lines
1.2 KiB
Plaintext

$OpenBSD: patch-build_xml,v 1.3 2010/11/30 00:48:56 ian Exp $
--- build.xml.orig Mon Nov 29 19:04:46 2010
+++ build.xml Mon Nov 29 19:11:17 2010
@@ -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>