Jogamp
CatOut/LogBot: Test server connection from main loop: Send PING each 1min, and act...
[users/sgothel/jabot.git] / build.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project name="JABot" default="all">
3
4     <property name="project.root"  value="." />
5
6     <property name="rootrel.build" value="build" />
7     <property name="build" location="${project.root}/${rootrel.build}" />
8     <property name="lib" location="${project.root}/lib" />
9
10     <target name="init">
11         <property name="pircbot.jar"   value="pircbot-1.5.0.jar" />
12         <property name="jabot.jar"     value="${build}/jabot.jar" />
13         <property name="classes"       value="${build}/classes" />
14         <property name="src"           value="${project.root}/src" />
15     </target>
16
17     <target name="all" depends="init">
18         <mkdir dir="${classes}" />
19         <path id="jabot.classpath">
20             <pathelement location="${lib}/${pircbot.jar}" />
21         </path>
22         <javac destdir="${classes}" 
23                includeantruntime="false"
24                debug="true" debuglevel="source,lines"
25                encoding="UTF-8">
26             <src path="${src}" />
27             <classpath refid="jabot.classpath" />
28         </javac>
29         <jar destfile="${jabot.jar}">
30             <fileset dir="${classes}">
31                 <include name="**" />
32             </fileset>
33             <archives>
34                 <zips>
35                     <fileset dir="${lib}" includes="${pircbot.jar}" />
36                 </zips>
37             </archives>
38             <fileset dir="${src}">
39                 <include name="**/*.cfg" />
40                 <include name="**/*.xml" />
41                 <include name="**/*.txt" />
42             </fileset>
43         </jar>
44     </target>
45
46     <target name="clean" depends="init">
47         <delete includeEmptyDirs="true" quiet="true">
48             <fileset dir="${build}" />
49         </delete>
50     </target>
51
52  </project>
http://JogAmp.org git info: FAQ, tutorial and man pages.