source: osm/applications/editors/josm/plugins/duplicateway/build.xml@ 4245

Last change on this file since 4245 was 4245, checked in by brent, 17 years ago

DuplicateWay v1.0

File size: 1.2 KB
Line 
1<project name="Duplicate-Way" default="jar" basedir=".">
2
3 <property name="josm" location="../../core/dist/josm-custom.jar" />
4
5 <target name="compile" depends="clean">
6 <mkdir dir="build"></mkdir>
7 <mkdir dir="build/images"></mkdir>
8 <copy todir="build">
9 <fileset dir="bin" casesensitive="yes">
10 <filename name="**/*.class"/>
11 </fileset>
12 </copy>
13 <copy todir="build/images">
14 <fileset dir="images" casesensitive="yes">
15 <filename name="**/*.png"/>
16 </fileset>
17 </copy>
18 </target>
19
20 <target name="jar" depends="compile">
21 <jar destfile="Duplicate-Way.jar" basedir="build">
22 <manifest>
23 <attribute name="Plugin-Class" value="org.openstreetmap.josm.plugins.duplicateway.DuplicateWayPlugin" />
24 <attribute name="Plugin-Description" value="Duplicate Ways with an offset" />
25 <attribute name="Plugin-Version" value="0.1"/>
26 <attribute name="Author" value="Brent Easton &lt;b.easton@uws.edu.au>"/>
27 </manifest>
28 </jar>
29 </target>
30
31 <target name="clean">
32 <delete dir="build" />
33 <delete file="Duplicate-Way.jar" />
34 </target>
35
36 <target name="install" depends="jar">
37 <copy file="Duplicate-Way.jar" todir="${user.home}/.josm/plugins"/>
38 </target>
39
40</project>
Note: See TracBrowser for help on using the repository browser.