blob: 77db8511acbe111def8b807e6a586aa012cd4c37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
*** misc/sac-1.3/build.xml Thu Oct 18 09:22:24 2007
--- misc/build/sac-1.3/build.xml Thu Oct 18 08:53:59 2007
***************
*** 1 ****
! dummy
--- 1,66 ----
! <!-- simple generic build file -->
!
! <project name="sac" default="all" basedir=".">
!
! <!-- Properties -->
!
! <property name="name" value="sac"/>
! <property name="src" value="src"/>
! <property name="build" value="build"/>
! <property name="build.classes" value="${build}/classes"/>
! <property name="build.doc" value="${build}/api"/>
! <property name="build.lib" value="${build}/lib"/>
! <property name="packagenames" value="org.w3c.css.sac.*"/>
!
! <!-- Targets -->
!
! <!-- Prepare build directories -->
! <target name="prepare">
! <mkdir dir="${src}"/>
! <mkdir dir="${build}"/>
! <mkdir dir="${build.classes}"/>
! <mkdir dir="${build.lib}"/>
! <mkdir dir="${build.doc}"/>
! <copy todir="${src}/org">
! <fileset dir="org"/>
! </copy>
! </target>
!
! <!-- Kill all the created directories -->
! <target name="clean">
! <delete dir="${build}"/>
! <delete dir="${src}"/>
! </target>
!
! <!-- Build classes -->
! <target name="classes" depends="prepare">
! <javac srcdir="${src}" destdir="${build.classes}" debug="off" optimize="on"/>
! <copy todir="${build.classes}">
! <fileset dir="${src}">
! <include name="**/*.properties"/>
! </fileset>
! </copy>
! </target>
!
! <!-- Build jar archives -->
! <target name="jar" depends="classes">
! <jar jarfile="${build.lib}/${name}.jar" basedir="${build.classes}"/>
! </target>
!
! <!-- Build the full JavaDocs -->
! <target name="javadoc" depends="prepare">
! <javadoc sourcepath="${src}"
! destdir="${build.doc}"
! doctitle="${name} JavaDoc"
! windowtitle="${name} JavaDoc"
! package="true"
! author="true"
! version="true"
! packagenames="${packagenames}"
! />
! </target>
!
! <!-- Build everything -->
! <target name="all" depends="jar,javadoc"/>
!
! </project>
\ No newline at end of file
|