Blob Blame History Raw
--- build.xml.origine2	2011-03-08 19:06:38.446841000 +0100
+++ build.xml	2011-03-08 19:13:49.690841262 +0100
@@ -36,50 +36,29 @@
 		<antcall target="create-revision" />
 	</target>
 
-	<!--
-	  ** Creates the REVISION file to be included in the distribution
-	  -->
-	<target name="create-revision">
+	<target name="dist" depends="compile">
 		<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"/>
 		<property name="version.entry.commit.date" value="UNKNOWN"/>
 		<echo>Revision ${version.entry.commit.revision}</echo>
 		<copy file="CONTRIBUTION" todir="build"/>
 		<copy file="README" todir="build"/>
 		<copy file="LICENSE" todir="build"/>
+		<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>
+
+		<!-- styles -->
+		<copy file="styles/standard/elemstyles.xml" todir="build/data"/>
 
 		<!-- create josm-custom.jar -->
 		<delete file="dist/josm-custom.jar"/>