001 <project name="Default"
002 default="compile"
003 basedir="..">
004
005 <description>
006 Default Cmt Ant build file
007 </description>
008
009 <!-- Setup ================================================================-->
010
011 <property environment="env"/>
012 <property name="env.ANT_SITE" value="dist"/>
013 <property file="ant/config-${env.ANT_SITE}.properties"/>
014 <property name="version" value="0.0.0"/>
015
016 <path id="classpath.build">
017 <pathelement path="${CLASSPATH}"/>
018 <fileset dir="${lib}">
019 <include name="*.jar"/>
020 <exclude name="${name}*.jar"/>
021 </fileset>
022 </path>
023
024 <path id="classpath.run">
025 <pathelement path="${src}"/>
026 <pathelement path="${build}"/>
027 <path refid="classpath.build"/>
028 </path>
029
030 <!-- Init =================================================================-->
031
032 <target name="init">
033 <tstamp>
034 <format property="TSTAMP" pattern="dd/MMM/yyyy 'at' kk:mm:ss z"/>
035 </tstamp>
036 <tstamp/>
037 <ant antfile="${config.db}/standard.xml" target="standard.init" inheritRefs="true"/>
038 </target>
039
040 <!-- Copy =================================================================-->
041
042 <target name="copy" if="local">
043 <copy todir="${lib}">
044 </copy>
045 </target>
046
047 <!-- Compile ==============================================================-->
048
049 <target name="compile"
050 depends="init"
051 description="Compile sources">
052 <ant antfile="${config.db}/standard.xml" target="standard.compile" inheritRefs="true"/>
053 </target>
054
055 <!-- JAR ==============================================================-->
056
057 <target name="jar"
058 depends="compile"
059 description="Create JAR">
060 <ant antfile="${config.db}/standard.xml" target="standard.jar" inheritRefs="true">
061 <property name="jar.name" value=""/>
062 <property name="scope" value=""/>
063 <property name="main" value=""/>
064 </ant>
065 </target>
066
067 <!-- Distribution =========================================================-->
068
069 <target name="dist"
070 depends="copy,doc,jar"
071 description="Create complete distribution">
072 <ant antfile="${config.db}/standard.xml" target="standard.dist" inheritRefs="true"/>
073 </target>
074
075 <!-- Check ================================================================-->
076
077 <target name="check"
078 depends="init"
079 description="Test">
080 </target>
081
082 <!-- Clean ================================================================-->
083
084 <target name="clean"
085 description="Clean up">
086 <ant antfile="${config.db}/standard.xml" target="standard.clean" inheritRefs="true"/>
087 </target>
088
089 <!-- Deploy ===============================================================-->
090
091 <target name="post"
092 depends="dist"
093 description="Put on WWW"
094 if="local">
095 <ant antfile="${config.db}/standard.xml" target="standard.deploy" inheritRefs="true"/>
096 </target>
097
098 <!-- JavaDoc ==============================================================-->
099
100 <target name="doc"
101 depends="j2h"
102 description="Construct documentation">
103 <copy todir="${doc}">
104 <fileset dir="${src}" includes="index.html"/>
105 </copy>
106 <javadoc
107 sourcepath="${src}"
108 destdir="${doc}/JavaDoc"
109 author="true"
110 version="true"
111 use="true"
112 private="true"
113 additionalparam=" -linksource -breakiterator -keywords"
114 windowtitle="${name}">
115 <packageset dir="${build}" defaultexcludes="yes" includes="**" />
116 <packageset dir="${src}" defaultexcludes="yes" includes="**" />
117 <doctitle><![CDATA[<u>]]>${name}<![CDATA[</u>]]></doctitle>
118 <Header><![CDATA[<center>]]>${name} version: ${version}<![CDATA[</center>]]></Header>
119 <Footer><![CDATA[<center>Written by: ${author}</center>]]></Footer>
120 <bottom><![CDATA[Documentations]]> built ${TODAY} on ${os.name} by ${user.name}</bottom>
121 <link href="http://java.sun.com/j2se/1.5.0/docs/api"/>
122 <classpath>
123 <path refid="classpath.run"/>
124 </classpath>
125 </javadoc>
126 </target>
127
128 <!-- J2H ==================================================================-->
129
130 <target name="j2h"
131 description="Construct source documentation"
132 if="local">
133 <ant antfile="${config.db}/standard.xml" target="standard.j2h" inheritRefs="true"/>
134 </target>
135
136 <!--=======================================================================-->
137
138 </project>
Due to the LXR bug, the updates fail sometimes to remove references to deleted files. The Saturday's full rebuilds fix these problems |
This page was automatically generated by the
LXR engine.
|
|