1 *** misc/sac-1.3/build.xml Thu Oct 18 09:22:24 2007
2 --- misc/build/sac-1.3/build.xml Thu Oct 18 08:53:59 2007
7 ! <!-- simple generic build file -->
9 ! <project name="sac" default="all" basedir=".">
13 ! <property name="name" value="sac"/>
14 ! <property name="src" value="src"/>
15 ! <property name="build" value="build"/>
16 ! <property name="build.classes" value="${build}/classes"/>
17 ! <property name="build.doc" value="${build}/api"/>
18 ! <property name="build.lib" value="${build}/lib"/>
19 ! <property name="packagenames" value="org.w3c.css.sac.*"/>
23 ! <!-- Prepare build directories -->
24 ! <target name="prepare">
25 ! <mkdir dir="${src}"/>
26 ! <mkdir dir="${build}"/>
27 ! <mkdir dir="${build.classes}"/>
28 ! <mkdir dir="${build.lib}"/>
29 ! <mkdir dir="${build.doc}"/>
30 ! <copy todir="${src}/org">
31 ! <fileset dir="org"/>
35 ! <!-- Kill all the created directories -->
36 ! <target name="clean">
37 ! <delete dir="${build}"/>
38 ! <delete dir="${src}"/>
41 ! <!-- Build classes -->
42 ! <target name="classes" depends="prepare">
43 ! <javac srcdir="${src}" destdir="${build.classes}" debug="off" optimize="on"/>
44 ! <copy todir="${build.classes}">
45 ! <fileset dir="${src}">
46 ! <include name="**/*.properties"/>
51 ! <!-- Build jar archives -->
52 ! <target name="jar" depends="classes">
53 ! <jar jarfile="${build.lib}/${name}.jar" basedir="${build.classes}"/>
56 ! <!-- Build the full JavaDocs -->
57 ! <target name="javadoc" depends="prepare">
58 ! <javadoc sourcepath="${src}"
59 ! destdir="${build.doc}"
60 ! doctitle="${name} JavaDoc"
61 ! windowtitle="${name} JavaDoc"
65 ! packagenames="${packagenames}"
69 ! <!-- Build everything -->
70 ! <target name="all" depends="jar,javadoc"/>
73 \ No newline at end of file