Last change
on this file since 159 was 159, checked in by imi, 18 years ago |
- moved translations into plugins
- added main menu control to main
- added ImageProvider access to plugins
|
File size:
1.3 KB
|
Line | |
---|
1 | <project name="josm" default="dist" basedir=".">
|
---|
2 |
|
---|
3 | <!-- All jar files necessary to run only JOSM (no tests) -->
|
---|
4 | <fileset id="josm_required_libs" dir="lib">
|
---|
5 | <include name="gettext-commons-0.9.jar"/>
|
---|
6 | <include name="metadata-extractor-2.3.1.jar"/>
|
---|
7 | <include name="MinML2.jar"/>
|
---|
8 | </fileset>
|
---|
9 |
|
---|
10 | <!-- Java classpath addition (all jar files to compile tests with this) -->
|
---|
11 | <path id="classpath">
|
---|
12 | <fileset dir="lib">
|
---|
13 | <include name="**/*.jar"/>
|
---|
14 | </fileset>
|
---|
15 | </path>
|
---|
16 |
|
---|
17 | <target name="dist" depends="compile">
|
---|
18 | <!-- jars -->
|
---|
19 | <unjar dest="build">
|
---|
20 | <fileset refid="josm_required_libs" />
|
---|
21 | </unjar>
|
---|
22 |
|
---|
23 | <!-- images -->
|
---|
24 | <copy todir="build/images">
|
---|
25 | <fileset dir="images" />
|
---|
26 | </copy>
|
---|
27 | <copy todir="build/org/openstreetmap/josm">
|
---|
28 | <fileset dir="po/org/openstreetmap/josm" />
|
---|
29 | </copy>
|
---|
30 |
|
---|
31 | <!-- create josm-custom.jar -->
|
---|
32 | <jar destfile="dist/josm-custom.jar" basedir="build">
|
---|
33 | <manifest>
|
---|
34 | <attribute name="Main-class" value="org.openstreetmap.josm.gui.MainApplication" />
|
---|
35 | </manifest>
|
---|
36 | </jar>
|
---|
37 | </target>
|
---|
38 |
|
---|
39 | <target name="compile" depends="init">
|
---|
40 | <javac srcdir="src" classpathref="classpath" destdir="build" />
|
---|
41 | </target>
|
---|
42 |
|
---|
43 |
|
---|
44 |
|
---|
45 | <target name="init">
|
---|
46 | <mkdir dir="build" />
|
---|
47 | <mkdir dir="dist" />
|
---|
48 | </target>
|
---|
49 |
|
---|
50 | <target name="clean">
|
---|
51 | <delete dir="build" />
|
---|
52 | <delete dir="dist" />
|
---|
53 | </target>
|
---|
54 |
|
---|
55 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.