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

Last change on this file since 3902 was 3902, checked in by bastiK, 9 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
Line 
1<project name="potlatch2_patch_utils" basedir="." default="assemble">
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"/>       
7            <filelist dir="patched" files="core_ways.css,core_pois.css,core_landuse.css,core_relations.css,potlatch.css"/>       
8        </concat>
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</project>
35
Note: See TracBrowser for help on using the repository browser.