fix tricky regression noticed by Vyacheslav Tokarev on Google Reader.
[kdelibs.git] / khtml / java / build.xml
blob16b5235889522830bfb45c414ec6dc8797036cce
1 <?xml version="1.0"?>
3 <project name="KJAS" basedir="." default="all">
5   <property file="build.properties"/>
7   <target name="init">
8     <mkdir dir="${build}" />
9   </target>
11   <target name="compile" depends="init">
12     <javac srcdir="${src}" destdir="${build}" includes="${includes}" excludes="${excludes}" deprecation="true" debug="${debug}" debuglevel="${debuglevel}" source="1.3" target="1.2"/>
13   </target>
15   <target name="images" depends="init">
16     <mkdir dir="${build}/images"/>
17     <copy todir="${build}/images">
18       <fileset dir="${images}">
19         <include name="*gif"/>
20       </fileset>
21     </copy>
22   </target>
24   <target name="jar" depends="init,images,compile">
25     <jar jarfile="${jar}.jar" compress="false" basedir="${build}" />
26   </target>
28   <target name="all" depends="jar" description="Build everything.">
29     <echo message="Application built." />
30   </target>
32   <target name="clean" depends="init" description="Clean all build products.">
33     <delete file="${jar}.jar" />
34     <delete dir="${build}" />
35   </target>
37   <target name="test-init" depends="">
38     <mkdir dir="tests/classes" />
39   </target>
41   <target name="test" depends="test-init" description="Build the test applets">
42     <javac srcdir="tests" destdir="tests/classes" debug="true" deprecation="true" source="1.3" target="1.2"/>
43   </target>
45   <target name="test-clean" depends="">
46     <delete dir="tests/classes" />
47   </target>
49 </project>