4 <!ENTITY header SYSTEM "file:../../build/header.xml">
5 <!ENTITY trailer SYSTEM "file:../../build/trailer.xml">
6 <!ENTITY crawlerdeps SYSTEM "file:../basic/deps.xml">
7 <!ENTITY deps SYSTEM "file:deps.xml">
10 <project name="crawler" default="jar" basedir=".">
13 <!-- =============================================================================== -->
14 <!-- Include the build header defining general properties -->
15 <!-- =============================================================================== -->
16 <property name="project.home" value="../.."/>
17 <property name="module.name" value="wamblee-crawler-kiss" />
23 <target name="module.build.deps"
24 depends="kisscrawler.src.d">
27 <!-- Set libraries to use in addition for test, a library which
28 is already mentioned in module.build.path should not be
29 mentioned below again -->
30 <target name="module.test.deps" depends="kisscrawler.test.d">
33 <property name="post-dist-lite" value="yes"/>
35 <target name="post-dist-lite" depends="init_directory_properties">
36 <property name="module.install.dir" value="${module.build.dir}/kiss-crawler"/>
38 <mkdir dir="${module.install.dir}"/>
39 <mkdir dir="${module.install.dir}/bin"/>
40 <copy todir="${module.install.dir}/bin">
41 <fileset dir="conf/kiss">
42 <include name="run.sh"/>
46 <mkdir dir="${module.install.dir}/conf"/>
47 <copy todir="${module.install.dir}/conf">
48 <fileset dir="conf/kiss">
49 <include name="config.xml.example"/>
50 <include name="programs.xml"/>
54 <mkdir dir="${module.install.dir}/lib"/>
55 <copy todir="${module.install.dir}/lib" flatten="yes">
56 <fileset dir="${external.lib.dir}" includes="*.jar"/>
57 <fileset dir="${module.build.dir}" includes="**/*.jar"/>
60 <zip destfile="${module.dist.dir}/kiss-crawler-bin.zip"
61 basedir="${module.install.dir}"/>