-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.xml
55 lines (47 loc) · 1.31 KB
/
build.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<project name="FreeJ2ME">
<echo message="Building FreeJ2ME" />
<!--
****************************************************
* AWT, Libretro, SDL
****************************************************
-->
<!-- 定义类路径 -->
<path id="project-classpath">
<!-- 添加项目自身的类路径 -->
<pathelement location="build/classes"/>
<!-- 添加第三方JAR包 -->
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</path>
<echo message="FreeJ2ME - | SDL | Libretro" />
<mkdir dir="build/classes"/>
<javac
srcdir="src"
destdir="build/classes"
includeantruntime="false"
debug="false"
debuglevel="lines,vars,source"
classpathref="project-classpath"
>
<compilerarg value="-Xlint:unchecked"/>
<compilerarg value="-Xlint:deprecation"/>
</javac>
<!--
****************************************************
* Jar Files
****************************************************
-->
<echo message="Building JAR - SDL" />
<jar
destfile="build/freej2me-sdl.jar"
basedir="build/classes">
<fileset dir="resources" />
<metainf dir="META-INF" />
<manifest>
<!-- Libretro Version -->
<attribute name="Main-Class" value="org.recompile.freej2me.Anbu"/>
<attribute name="Implementation-Title" value="FreeJ2ME"/>
</manifest>
</jar>
</project>