-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
36 lines (33 loc) · 1.21 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
<?xml version = '1.0' encoding = 'utf-8'?>
<!DOCTYPE project>
<project default="jar">
<property name="classes.dir" value="build"/>
<property name="jar.dir" value="bin"/>
<target name="clean">
<delete dir="${classes.dir}" quiet="true" />
</target>
<target name="compile" depends="clean">
<mkdir dir="${classes.dir}"/>
<javac srcdir="oopsc;oopsvm;oopsdb" destdir="${classes.dir}" includeantruntime="false" encoding="utf-8">
<compilerarg value="-Xlint:-options"/>
</javac>
</target>
<target name="jar" depends="compile">
<mkdir dir="${jar.dir}"/>
<jar destfile="${jar.dir}/OOPSC.jar" basedir="${classes.dir}" includes="oopsc/**">
<manifest>
<attribute name="Main-Class" value="oopsc.OOPSC"/>
</manifest>
</jar>
<jar destfile="${jar.dir}/OOPSVM.jar" basedir="${classes.dir}" includes="oopsvm/**">
<manifest>
<attribute name="Main-Class" value="oopsvm.OOPSVM"/>
</manifest>
</jar>
<jar destfile="${jar.dir}/OOPSDB.jar" basedir="${classes.dir}" includes="oopsdb/** oopsvm/**" excludes="oopsvm/OOPSVM.class">
<manifest>
<attribute name="Main-Class" value="oopsdb.OOPSDB"/>
</manifest>
</jar>
</target>
</project>