-
Notifications
You must be signed in to change notification settings - Fork 3
/
pluginMarioWorld.xml
executable file
·32 lines (28 loc) · 1.24 KB
/
pluginMarioWorld.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<project name="jfcraft" default="jar" basedir=".">
<description>jfcraft</description>
<!-- set global properties for this build -->
<property name="home" value="../.."/>
<property name="src" location="src/plugins/marioworld"/>
<property name="build" location="classes_marioworld"/>
<property name="classpath" location="jfcraft.jar;javaforce.jar"/>
<property name="version" value="1.0"/>
<import file="${home}/base.xml"/>
<target name="depjars" depends="depnatives">
</target>
<target name="compile" description="compile the source">
<!-- Compile the java code from ${src} into ${build} -->
<mkdir dir="${build}"/>
<echo message="plugin=${build}"/>
<javac srcdir="${src}" destdir="${build}" target="${jdkver}" source="${jdkver}" debug="true" includeantruntime="false">
<classpath path="${classpath}"/>
</javac>
</target>
<target name="jar" depends="compile" description="build jar file">
<!-- Build jar file from class files -->
<mkdir dir="plugins"/>
<jar destfile="plugins/marioworld.jar" includes="**/*.class" basedir="${build}">
<fileset dir="src/plugins/marioworld" includes="*.properties"/>
<fileset dir="src/plugins/marioworld" includes="**/*.png"/>
</jar>
</target>
</project>