Revision 204
Added by Matt Jones about 24 years ago
build.xml | ||
---|---|---|
11 | 11 |
* Build file for the Ant cross-platform build system for metacat |
12 | 12 |
* See http://jakarta.apache.org for details on Ant |
13 | 13 |
* |
14 |
* usage: ant [compileServlet|install|jdoc]
|
|
14 |
* usage: ant [compile|jar|jdoc]
|
|
15 | 15 |
--> |
16 |
<project name="metacat" default="compileServlet" basedir=".">
|
|
16 |
<project name="metacat" default="compile" basedir="."> |
|
17 | 17 |
<target name="init"> |
18 |
<property name="installdir" value="/home/httpd/servlets/" /> |
|
18 | 19 |
<property name="classesdir" value="./classes" /> |
19 | 20 |
<property name="oracle_home" |
20 | 21 |
value="/oracle01/app/oracle/product/8.1.5" /> |
... | ... | |
37 | 38 |
<mkdir dir="${classesdir}" /> |
38 | 39 |
</target> |
39 | 40 |
|
40 |
<target name="compileServlet" depends="init">
|
|
41 |
<target name="compile" depends="init"> |
|
41 | 42 |
<javac srcdir="${src.metacat.home}" |
42 | 43 |
destdir="${classesdir}" |
43 | 44 |
classpath="${cpath}" /> |
... | ... | |
45 | 46 |
dest="${classesdir}/${metacat.home}/metacat.properties" /> |
46 | 47 |
</target> |
47 | 48 |
|
48 |
<target name="install" depends="init,compileServlet">
|
|
49 |
<target name="jar" depends="compile">
|
|
49 | 50 |
<delete file="lib/metacat.jar" /> |
50 | 51 |
<jar jarfile="lib/metacat.jar" basedir="${classesdir}" /> |
51 | 52 |
<!-- copy the file here to the web install dir --> |
52 | 53 |
</target> |
53 | 54 |
|
55 |
<target name="install" depends="jar"> |
|
56 |
<copyfile src="lib/metacat.jar" dest="${installdir}/metacat.jar" /> |
|
57 |
</target> |
|
58 |
|
|
54 | 59 |
<target name="clean" depends="init"> |
55 | 60 |
<delete file="lib/metacat.jar" /> |
56 | 61 |
<deltree dir="${classesdir}" /> |
Also available in: Unified diff
Fixed bugs associated with the new UPDATE and DELETE functions of
DBWriter. There were problematic interactions between some static
variables used in DBEntityResolver and the way in which the
Servlet objects are re-used across multiple client invocations.
Generally cleaned up error reporting. Now all errors and success
results are reported as XML documents from MetaCatServlet. Need
to make the command line tools do the same.