source: osm/applications/editors/josm/plugins/tways/build.xml@ 3769

Last change on this file since 3769 was 2856, checked in by twalraet, 17 years ago

Modified menu label

File size: 1002 bytes
Line 
1<project name="tways" default="jar" basedir=".">
2
3 <property name="josm" location="../../core/dist/josm-custom.jar" />
4
5 <target name="compile">
6 <mkdir dir="build"></mkdir>
7 <javac srcdir="src" debug="true" classpath="${josm}" destdir="build">
8 <include name="**/*.java" />
9 </javac>
10 </target>
11
12 <target name="jar" depends="compile">
13 <jar destfile="tways.jar" basedir="build">
14 <manifest>
15 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.tways.TwaysPlugin" />
16 <attribute name="Plugin-Description" value="Create ways automagically" />
17 <attribute name="Plugin-Version" value="0.2"/>
18 <attribute name="Author" value="Thomas Walraet &lt;thomas@walraet.com>"/>
19 </manifest>
20 </jar>
21 </target>
22
23 <target name="clean">
24 <delete dir="build" />
25 <delete file="tways.jar" />
26 </target>
27
28 <target name="install" depends="jar">
29 <copy file="tways.jar" todir="${user.home}/.josm/plugins"/>
30 </target>
31
32</project>
Note: See TracBrowser for help on using the repository browser.