use correct main-class in manifest file
[se-panther.git] / build.xml
blob520f37bb866646706584025e9b16b290f3c873b3
1 <project name="panther" default="all">
2         <property file="configs/build.properties"/>
3         <property name="dist.absname" value="${dist.name}-${dist.version}.jar"/>
5         <target name="init">
6                 <tstamp/>
7                 <mkdir dir="${dir.build}"/>
8         </target>
10         <target name="classes" depends="init">
11                 <javac
12                         srcdir="${dir.src}"
13                         debug="true"
14                         destdir="${dir.build}"
15                         classpath="${build.classpath}"
16                         deprecation="on"
17                         includeAntRuntime="false"
18                 />
19         </target>
21         <target name="all" depends="classes">
22 <!--            <jar
23                         jarfile="${dist.absname}"
24                         basedir="${dir.build}"
25                         includes="**/*.class"
26                         manifesst="configs/Manifest"
27                 /> -->
28         </target>
30         <target name="dist" depends="classes">
31                 <jar
32                         jarfile="${dist.absname}"
33                         basedir="${dir.build}"
34                         includes="**/*.class"
35                         manifest="configs/Manifest"
36                         >
37                         <fileset dir="." includes="resources/" />
38                 </jar>
39         </target>
41         <target name="clean">
42                 <delete includeemptydirs="true">
43                         <fileset dir="." includes="${dist.name}-*"/>
44                         <fileset dir="${dir.build}" includes="**/*.class"/>
45                 </delete>
46         </target>
48 </project>