source: osm/applications/editors/josm/plugins/measurement/build.xml@ 10410

Last change on this file since 10410 was 10410, checked in by stoecker, 16 years ago

fixed build

File size: 1.5 KB
Line 
1<project name="measurement" default="dist" basedir=".">
2
3 <!-- point to your JOSM directory -->
4 <property name="josm" location="../../core/dist/josm-custom.jar" />
5
6
7 <target name="init">
8 <mkdir dir="build"></mkdir>
9 <mkdir dir="dist"></mkdir>
10 </target>
11
12 <target name="compile" depends="init">
13 <javac srcdir="src" classpath="${josm}" debug="true" destdir="build" target="1.5">
14 <include name="**/*.java" />
15 </javac>
16 </target>
17
18 <target name="dist" depends="compile">
19 <copy todir="build/images" >
20 <fileset dir="images" />
21 </copy>
22 <jar destfile="dist/measurement.jar" basedir="build">
23 <manifest>
24 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.measurement.MeasurementPlugin" />
25 <attribute name="Plugin-Description" value="Provide a measurement dialog and a layer to measure length and angle of segments (there are no segments anymore, I know. Any idea how the angle should be measures now?) and create measurement paths (which also can be imported from a gps layer)" />
26 <attribute name="Plugin-Author" value="mail@raphael-mack.de" />
27 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
28 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
29 </manifest>
30 </jar>
31 </target>
32
33 <target name="clean">
34 <delete dir="build" />
35 <delete dir="dist" />
36 </target>
37
38 <target name="install" depends="dist">
39 <copy file="dist/measurement.jar" todir="${user.home}/.josm/plugins"/>
40 </target>
41
42</project>
Note: See TracBrowser for help on using the repository browser.