bump product version to 4.1.6.2
[LibreOffice.git] / jfreereport / java / sac / build.xml
blob0e85dff04f3a0e92effcd08122ff69db92133ca8
1 <project name="sac" default="all" basedir=".">
3   <!-- Properties -->
5   <property name="name" value="sac"/>
6   <property name="src" value="src"/>
7   <property name="build" value="build"/>
8   <property name="build.classes" value="${build}/classes"/>
9   <property name="build.doc" value="${build}/api"/>
10   <property name="build.lib" value="${build}/lib"/>
11   <property name="packagenames" value="org.w3c.css.sac.*"/>
13   <!-- Targets -->
15   <!-- Prepare build directories -->
16   <target name="prepare">
17     <mkdir dir="${src}"/>
18     <mkdir dir="${build}"/>
19     <mkdir dir="${build.classes}"/>
20     <mkdir dir="${build.lib}"/>
21     <mkdir dir="${build.doc}"/>
22     <copy todir="${src}/org">
23       <fileset dir="org"/>
24     </copy>
25   </target>
27   <!-- Kill all the created directories -->
28   <target name="clean">
29     <delete dir="${build}"/>
30     <delete dir="${src}"/>
31   </target>
33   <!-- Build classes -->
34   <target name="classes" depends="prepare">
35     <javac srcdir="${src}" destdir="${build.classes}" debug="off" optimize="on"/>
36     <copy todir="${build.classes}">
37       <fileset dir="${src}">
38         <include name="**/*.properties"/>
39       </fileset>
40     </copy>
41   </target>
43   <!-- Build jar archives -->
44   <target name="jar" depends="classes">
45     <jar jarfile="${build.lib}/${name}.jar" basedir="${build.classes}"/>
46   </target>
48   <!-- Build the full JavaDocs -->
49   <target name="javadoc" depends="prepare">
50     <javadoc sourcepath="${src}"
51             destdir="${build.doc}"
52             doctitle="${name} JavaDoc"
53             windowtitle="${name} JavaDoc"
54             package="true"
55             author="true"
56             version="true"
57             packagenames="${packagenames}"
58     />
59   </target>
61   <!-- Build everything -->
62   <target name="all" depends="jar,javadoc"/>
64 </project>