Menu

[0dedbf]: / build.xml  Maximize  Restore  History

Download this file

50 lines (43 with data), 1.5 kB

 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<project name="Monkey" default="deploy" basedir=".">
<property name="src.dir" value="src"/>
<property name="build.dir" value="build"/>
<property name="deploy.dir" value="deploy"/>
<property name="lib.dir" value="lib"/>
<target name="init">
<mkdir dir="${build.dir}"/>
<mkdir dir="${deploy.dir}"/>
</target>
<target name="clean">
<delete dir="${build.dir}"/>
<delete dir="${deploy.dir}"/>
</target>
<target name="compile" depends="init">
<javac srcdir="${src.dir}" destdir="${build.dir}">
<classpath>
<fileset dir="${lib.dir}">
<include name="*.jar"/>
</fileset>
</classpath>
</javac>
<copy todir="${build.dir}">
<fileset dir="${src.dir}">
<include name="**/*.data"/>
<include name="**/*.template"/>
<include name="**/*.vlt"/>
</fileset>
</copy>
</target>
<target name="deploy" depends="compile">
<jar basedir="${build.dir}" jarfile="${deploy.dir}/monkey.jar"/>
</target>
<target name="run" depends="compile">
<java classname="monkey.gui.MonkeyFrame" fork="true">
<classpath>
<path path="${build.dir}"/>
<fileset dir="${lib.dir}">
<include name="*.jar"/>
</fileset>
</classpath>
</java>
</target>
</project>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.