Last change
on this file since 3800 was 3800, checked in by ulf, 17 years ago |
rename build target in tways from jar to build
|
File size:
1006 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="build" 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 <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="build">
|
---|
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.