Last change
on this file since 5662 was 5197, checked in by gabriel, 17 years ago |
Build all JOSM plugins for 1.5 by default.
|
File size:
1.2 KB
|
Rev | Line | |
---|
[5153] | 1 | <project name="plastic_laf" default="dist" basedir=".">
|
---|
[1439] | 2 |
|
---|
[5153] | 3 | <!-- compilation properties -->
|
---|
| 4 | <property name="josm.build.dir" value="../../core"/>
|
---|
| 5 | <property name="josm.home.dir" value="${user.home}/.josm"/>
|
---|
| 6 | <property name="josm" location="../../core/dist/josm-custom.jar" />
|
---|
| 7 | <property name="plugin.build.dir" value="build"/>
|
---|
| 8 | <property name="plugin.dist.dir" value="../dist"/>
|
---|
| 9 | <property name="plugin.name" value="${ant.project.name}"/>
|
---|
| 10 | <property name="plugin.jar" value="../dist/${plugin.name}.jar"/>
|
---|
| 11 |
|
---|
[5197] | 12 | <property name="ant.build.javac.target" value="1.5"/>
|
---|
| 13 |
|
---|
[5153] | 14 | <target name="dist">
|
---|
[5147] | 15 | <mkdir dir="dist"></mkdir>
|
---|
[5153] | 16 | <unjar dest="${plugin.build.dir}" src="lib/looks-2.0.4.jar" />
|
---|
| 17 | <javac srcdir="src" destdir="${plugin.build.dir}">
|
---|
[5147] | 18 | <include name="**/*.java" />
|
---|
| 19 | </javac>
|
---|
[5153] | 20 | <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}">
|
---|
[5147] | 21 | <manifest>
|
---|
| 22 | <attribute name="Plugin-Class" value="plastic_laf.Plugin" />
|
---|
| 23 | <attribute name="Plugin-Description" value="The great JGoodies Plastic Look and Feel" />
|
---|
| 24 | <attribute name="Plugin-Early" value="true" />
|
---|
| 25 | </manifest>
|
---|
| 26 | </jar>
|
---|
| 27 | </target>
|
---|
[1439] | 28 |
|
---|
[5147] | 29 | <target name="clean">
|
---|
[5153] | 30 | <delete dir="${plugin.build.dir}" />
|
---|
| 31 | <delete file="${plugin.jar}" />
|
---|
[5147] | 32 | </target>
|
---|
[3787] | 33 |
|
---|
[1439] | 34 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.