source: subversion/applications/utils/LiveEditMapViewer/build.xml @ 29250

Last change on this file since 29250 was 19610, checked in by apmon, 10 years ago

Add LivEditMapViewer?, a java prog to view where edits are currently been made on a slippy map

It loads the minutely-replicate diffs and the plays back those edits on a slippy map
with about a delay of two minutes. As it has no access to a database, it can
only visualise nodes, as ways and relations don't have the necessary geospacial information
in the diff files.

Caveat: most of this code is the java component jmapviewer which is also checked into the OSM
SVN repository, but this commit doesn't use svn externals to link to it, as it needed some internal changes to it.
This needs cleaning up and consolidating with the jmapviewer component.

File size: 1.7 KB
Line 
1<project name="LiveEditMapViewer" default="deploy" basedir=".">
2
3
4
5        <property name="src.dir" value="${basedir}/src" />
6        <property name="src.jmv" value="${basedir}/src_externals/jmapviewer/src" />
7        <property name="src.osmo" value="${basedir}/src_externals/osmosis" />
8
9        <property name="dist.dir" value="${basedir}/dist" />
10        <property name="version" value="0.0.1" />
11
12        <available property="clover.available" classname="org.apache.tools.ant.taskdefs.CloverCompilerAdapter" />
13
14        <path id="main.classpath">
15                <pathelement location="${classes.dir}" />
16        </path>
17
18
19        <target name="prepare">
20                <mkdir dir="bin" />
21                <mkdir dir="${dist.dir}" />
22        </target>
23
24        <target name="clean">
25                <delete dir="${build.dir}" />
26                <delete dir="bin" />
27                <delete dir="${dist.dir}" />
28        </target>
29
30        <target name="compile" depends="prepare">
31                <javac srcdir="${src.dir}:${src.jmv}:${src.osmo}" destdir="bin" debug="on" optimize="on" deprecation="on" target="1.5" encoding="UTF8">
32                        <classpath>
33                                <path refid="main.classpath" />
34                        </classpath>
35                </javac>
36        </target>
37
38        <target name="deploy" depends="compile">
39                <jar jarfile="${dist.dir}/${ant.project.name}-${version}.jar">
40                        <manifest>
41                                <attribute name="Built-By" value="${user.name}" />
42                                <attribute name="Main-Class" value="org.openstreetmap.liveEditMapViewer.LiveEditMapViewer" />
43                                <section name="${ant.project.name}">
44                                        <attribute name="Implementation-Title" value="LiveEditMapViewer" />
45                                        <attribute name="Implementation-Version" value="${version} ${TODAY_DE}" />
46                                        <attribute name="Implementation-Vendor" value="KK" />
47                                </section>
48                        </manifest>
49                        <fileset dir="bin">
50                                <include name="**/*.class" />
51                        </fileset>
52                </jar>
53        </target>
54</project>
55
Note: See TracBrowser for help on using the repository browser.