6 |
|
build/jar util package |
7 |
|
install target |
8 |
|
cvs version build (including cleanup) |
9 |
– |
javadoc |
9 |
|
sql table generation |
10 |
+ |
drop shortcut targets |
11 |
|
--> |
12 |
|
|
13 |
|
<!-- |
58 |
|
<antcall target="fullcleanup"/> |
59 |
|
</target> |
60 |
|
|
61 |
+ |
<target name="javadoc"> |
62 |
+ |
<antcall target="javadocapi"/> |
63 |
+ |
</target> |
64 |
+ |
|
65 |
|
<!-- |
66 |
|
===================================================== |
67 |
|
Fetch required libraries (not in dependency tree) |
72 |
|
<!-- fullcleanup target has same problem --> |
73 |
|
<target name="getlibs" depends="config"> |
74 |
|
<get |
75 |
< |
src="http://killigrew.ukc.ac.uk/crimson.jar" |
75 |
> |
src="${LIBURL}/crimson.jar" |
76 |
|
dest="${LIBDIR}/crimson.jar" |
77 |
|
verbose="true" usetimestamp="true" |
78 |
|
/> |
79 |
|
<get |
80 |
< |
src="http://killigrew.ukc.ac.uk/idl.jar" |
80 |
> |
src="${LIBURL}/idl.jar" |
81 |
|
dest="${LIBDIR}/idl.jar" |
82 |
|
verbose="true" usetimestamp="true" |
83 |
|
/> |
84 |
|
<get |
85 |
< |
src="http://killigrew.ukc.ac.uk/jacorb.jar" |
85 |
> |
src="${LIBURL}/jacorb.jar" |
86 |
|
dest="${LIBDIR}/jacorb.jar" |
87 |
|
verbose="true" usetimestamp="true" |
88 |
|
/> |
89 |
|
<get |
90 |
< |
src="http://killigrew.ukc.ac.uk/jaxp.jar" |
90 |
> |
src="${LIBURL}/jaxp.jar" |
91 |
|
dest="${LIBDIR}/jaxp.jar" |
92 |
|
verbose="true" usetimestamp="true" |
93 |
|
/> |
94 |
|
<get |
95 |
< |
src="http://killigrew.ukc.ac.uk/mm.mysql-2.0.4-bin.jar" |
95 |
> |
src="${LIBURL}/mm.mysql-2.0.4-bin.jar" |
96 |
|
dest="${LIBDIR}/mm.mysql-2.0.4-bin.jar" |
97 |
|
verbose="true" usetimestamp="true" |
98 |
|
/> |
200 |
|
<delete file="${BUILDDIR}/${TARFILE}"/> |
201 |
|
<delete file="${BUILDDIR}/${TARGZFILE}"/> |
202 |
|
<delete file="${BUILDDIR}/${ZIPFILE}"/> |
203 |
+ |
<delete dir="${JDOCDIR}"/> |
204 |
|
</target> |
205 |
|
|
206 |
|
<target name="fullcleanup" depends="cleanup"> |
216 |
|
===================================================== |
217 |
|
--> |
218 |
|
|
219 |
< |
<!-- is this really the best way to do this? --> |
219 |
> |
<!-- is this really the best way to do this? no... --> |
220 |
|
<target name="runserver" depends="config"> |
221 |
|
<java classname="${MFMAINCLASS}" dir="${BUILDDIR}" fork="yes"> |
222 |
|
<arg line="-f ${RUNFILTERNAME}"/> |
223 |
|
<classpath path="${BUILDDIR}/${SERVERJAR}"/> |
224 |
|
</java> |
225 |
+ |
</target> |
226 |
+ |
|
227 |
+ |
<!-- |
228 |
+ |
===================================================== |
229 |
+ |
Javadoc (not in dependency tree) |
230 |
+ |
===================================================== |
231 |
+ |
--> |
232 |
+ |
|
233 |
+ |
<target name="javadocapi" depends="config, genidl"> |
234 |
+ |
<mkdir dir="${JDOCDIR}"/> |
235 |
+ |
<!-- link in here requires a live net link! --> |
236 |
+ |
<javadoc |
237 |
+ |
packagenames="${JDOCPKGS}" |
238 |
+ |
destdir="${JDOCDIR}" |
239 |
+ |
classpath="${JCCLASSPATH}" |
240 |
+ |
author="true" |
241 |
+ |
version="true" |
242 |
+ |
private="true" |
243 |
+ |
use="true" |
244 |
+ |
windowtitle="${JDOCTITLE}" |
245 |
+ |
header="${JDOCHEADER}" |
246 |
+ |
bottom="${JDOCBOTTOM}" |
247 |
+ |
link="${JDOCJAPI}" |
248 |
+ |
> |
249 |
+ |
<!-- need to do idl generated source too --> |
250 |
+ |
<sourcepath> |
251 |
+ |
<pathelement path="${SOURCEROOT}"/> |
252 |
+ |
<pathelement path="${IDLDIR}"/> |
253 |
+ |
</sourcepath> |
254 |
+ |
</javadoc> |
255 |
|
</target> |
256 |
|
|
257 |
|
</project> |