Commit | Line | Data |
---|---|---|
49ccd711 FT |
1 | <?xml version="1.0"?> |
2 | ||
3 | <project name="jagi" default="jar"> | |
4 | ||
5 | <property environment="env" /> | |
6 | ||
7 | <target name="build-env"> | |
8 | <mkdir dir="build" /> | |
9 | <mkdir dir="build/bin" /> | |
10 | </target> | |
11 | ||
12 | <target name="classes" depends="build-env"> | |
13 | <javac srcdir="src" destdir="build/bin" debug="on" | |
14 | source="1.8" target="1.8" includeantruntime="no"> | |
15 | <compilerarg value="-Xlint:unchecked" /> | |
16 | </javac> | |
17 | </target> | |
18 | ||
19 | <target name="jar" depends="build-env, classes"> | |
20 | <jar destfile="build/jagi.jar" basedir="build/bin"> | |
21 | <manifest> | |
22 | <attribute name="Main-Class" value="jagi.scgi.Bootstrap" /> | |
23 | </manifest> | |
24 | </jar> | |
25 | </target> | |
26 | ||
27 | <target name="clean"> | |
28 | <delete dir="build" /> | |
29 | </target> | |
30 | </project> |