| Line | |
|---|
| 1 | <project name="livegps" default="dist" basedir=".">
|
|---|
| 2 |
|
|---|
| 3 | <target name="dist" depends="compile">
|
|---|
| 4 | <!-- images -->
|
|---|
| 5 | <copy todir="build/images">
|
|---|
| 6 | <fileset dir="images" />
|
|---|
| 7 | </copy>
|
|---|
| 8 |
|
|---|
| 9 | <!-- create josm-custom.jar -->
|
|---|
| 10 | <jar destfile="livegps.jar" basedir="build">
|
|---|
| 11 | <manifest>
|
|---|
| 12 | <attribute name="Plugin-Class" value="livegps.LiveGpsPlugin" />
|
|---|
| 13 | <attribute name="Plugin-Description" value="Allow live GPS feed from a gpsd server" />
|
|---|
| 14 | </manifest>
|
|---|
| 15 | </jar>
|
|---|
| 16 | </target>
|
|---|
| 17 |
|
|---|
| 18 | <target name="compile" depends="init">
|
|---|
| 19 | <javac srcdir="livegps" classpath="../../josm/bin/" destdir="build" />
|
|---|
| 20 | </target>
|
|---|
| 21 |
|
|---|
| 22 | <target name="init">
|
|---|
| 23 | <mkdir dir="build" />
|
|---|
| 24 | </target>
|
|---|
| 25 |
|
|---|
| 26 | <target name="clean">
|
|---|
| 27 | <delete dir="build" />
|
|---|
| 28 | </target>
|
|---|
| 29 |
|
|---|
| 30 | </project>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.