source: josm/trunk/styles_nodist/potlatch2/build.xml@ 3983

Last change on this file since 3983 was 3902, checked in by bastiK, 13 years ago

mapcss: minor improvements, fixes #5937 - MapCSS matching of piste:type=downhill, fixes #5938 - matching of relation members

  • Property svn:eol-style set to native
File size: 1.5 KB
RevLine 
[3902]1<project name="potlatch2_patch_utils" basedir="." default="assemble">
[3898]2
3 <!-- concatinate the files to one mapcss style file -->
4 <target name="assemble">
5 <concat destfile="../../styles/standard/potlatch2.mapcss">
6 <filelist dir="." files="prelude.css"/>
[3902]7 <filelist dir="patched" files="core_ways.css,core_pois.css,core_landuse.css,core_relations.css,potlatch.css"/>
[3898]8 </concat>
9 </target>
10
11
[3902]12 <!-- update the explicit revision number in the externals definition to the currently checked out revison -->
[3898]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}-->
[3900]23 <target name="source-revision">
[3899]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" />
[3898]32 </target>
33
[3899]34</project>
[3898]35
Note: See TracBrowser for help on using the repository browser.