Changeset 3984 in josm for trunk/styles_nodist/potlatch2/build.xml
- Timestamp:
- 2011-03-13T10:45:53+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/styles_nodist/potlatch2/build.xml
r3902 r3984 8 8 </concat> 9 9 </target> 10 11 12 <!-- update the explicit revision number in the externals definition to the currently checked out revison -->13 <target name="update-externals" depends="source-revision">14 <exec executable="svn">15 <arg value="propset"/>16 <arg value="svn:externals"/>17 <arg value="source -r ${version.entry.commit.revision} http://svn.openstreetmap.org/applications/editors/potlatch2/resources/stylesheets"/>18 <arg value="."/>19 </exec>20 </target>21 22 <!-- Determine revision and save in ${version.entry.commit.revision}-->23 <target name="source-revision">24 <exec append="false" output="REVISION.XML" executable="svn" dir="source" failifexecutionfails="true">25 <env key="LANG" value="C"/>26 <arg value="info"/>27 <arg value="--xml"/>28 <arg value="."/>29 </exec>30 <xmlproperty file="REVISION.XML" prefix="version" keepRoot="false" collapseAttributes="true"/>31 <delete file="REVISION.XML" />32 </target>33 34 10 </project> 35 11
Note:
See TracChangeset
for help on using the changeset viewer.