|
|
a84394b |
--- build.xml.origine2 2011-03-08 19:06:38.446841000 +0100
|
|
|
a84394b |
+++ build.xml 2011-03-08 19:13:49.690841262 +0100
|
|
|
a84394b |
@@ -36,50 +36,29 @@
|
|
|
2802ba8 |
<antcall target="create-revision" />
|
|
|
2802ba8 |
</target>
|
|
|
2802ba8 |
|
|
|
2802ba8 |
-
|
|
|
2802ba8 |
- ** Creates the REVISION file to be included in the distribution
|
|
|
2802ba8 |
- -->
|
|
|
2802ba8 |
- <target name="create-revision">
|
|
|
2802ba8 |
+ <target name="dist" depends="compile">
|
|
|
2802ba8 |
<property name="revision.dir" value="${build.dir}"/>
|
|
|
2802ba8 |
- <exec append="false" output="REVISION.XML" executable="svn" failifexecutionfails="false">
|
|
|
2802ba8 |
- <env key="LANG" value="C"/>
|
|
|
2802ba8 |
- <arg value="info"/>
|
|
|
2802ba8 |
- <arg value="--xml"/>
|
|
|
2802ba8 |
- <arg value="."/>
|
|
|
2802ba8 |
- </exec>
|
|
|
2802ba8 |
- <xmlproperty file="REVISION.XML" prefix="version" keepRoot="false" collapseAttributes="true"/>
|
|
|
2802ba8 |
- <delete file="REVISION.XML" />
|
|
|
2802ba8 |
<tstamp>
|
|
|
2802ba8 |
<format property="build.tstamp" pattern="yyyy-MM-dd HH:mm:ss"/>
|
|
|
2802ba8 |
</tstamp>
|
|
|
2802ba8 |
|
|
|
2802ba8 |
- <property name="version.entry.commit.revision" value="UNKNOWN"/>
|
|
|
2802ba8 |
- <mkdir dir="${revision.dir}" />
|
|
|
2802ba8 |
- <echo file="${revision.dir}/REVISION">
|
|
|
2802ba8 |
-# automatically generated by JOSM build.xml - do not edit
|
|
|
2802ba8 |
-Revision: ${version.entry.commit.revision}
|
|
|
2802ba8 |
-Is-Local-Build: true
|
|
|
2802ba8 |
-Build-Date: ${build.tstamp}
|
|
|
2802ba8 |
-</echo>
|
|
|
2802ba8 |
- </target>
|
|
|
2802ba8 |
-
|
|
|
a84394b |
|
|
|
2802ba8 |
- <target name="dist" depends="compile,create-revision">
|
|
|
2802ba8 |
-
|
|
|
2802ba8 |
- <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
|
|
|
2802ba8 |
- <env key="LANG" value="C"/>
|
|
|
2802ba8 |
- <arg value="info"/>
|
|
|
2802ba8 |
- <arg value="--xml"/>
|
|
|
2802ba8 |
- <arg value="."/>
|
|
|
2802ba8 |
- </exec>
|
|
|
2802ba8 |
<xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
|
|
|
2802ba8 |
- <delete file="REVISION"/>
|
|
|
2802ba8 |
<property name="version.entry.commit.revision" value="UNKNOWN"/>
|
|
|
2802ba8 |
<property name="version.entry.commit.date" value="UNKNOWN"/>
|
|
|
2802ba8 |
<echo>Revision ${version.entry.commit.revision}</echo>
|
|
|
2802ba8 |
<copy file="CONTRIBUTION" todir="build"/>
|
|
|
2802ba8 |
<copy file="README" todir="build"/>
|
|
|
2802ba8 |
<copy file="LICENSE" todir="build"/>
|
|
|
2802ba8 |
+ <echo file="${revision.dir}/REVISION">
|
|
|
2802ba8 |
+# automatically generated by JOSM build.xml - do not edit
|
|
|
2802ba8 |
+Revision: ${version.entry.commit.revision}
|
|
|
2802ba8 |
+Is-Local-Build: true
|
|
|
2802ba8 |
+Build-Date: ${build.tstamp}
|
|
|
2802ba8 |
+</echo>
|
|
|
a84394b |
+
|
|
|
a84394b |
+
|
|
|
a84394b |
+ <copy file="styles/standard/elemstyles.xml" todir="build/data"/>
|
|
|
2802ba8 |
|
|
|
a84394b |
|
|
|
a84394b |
<delete file="dist/josm-custom.jar"/>
|