Revision 409
Added by berkley over 24 years ago
build.xml | ||
---|---|---|
15 | 15 |
--> |
16 | 16 |
<project name="metacat" default="jar" basedir="."> |
17 | 17 |
<target name="init"> |
18 |
<property name="installdir" value="/opt/tomcat/webapps/metadata" />
|
|
18 |
<property name="installdir" value="/opt/tomcat/webapps/berkley" />
|
|
19 | 19 |
<property name="name" value="metacat"/> |
20 | 20 |
<property name="Name" value="MetaCat"/> |
21 | 21 |
<property name="release" value="1.0a8"/> |
22 |
<property name="servlet-path" value="/metadata/servlet/metacat"/> |
|
23 |
<property name="html-path" value="/metadata"/> |
|
24 |
<property name="user" value="metadata"/> |
|
25 |
<property name="password" value="metadatapw"/> |
|
22 |
<property name="servlet-path" value="/berkley/servlet/marine"/> |
|
23 |
<property name="html-path" value="/berkley"/> |
|
24 |
<property name="image-path" value="/img/berkley" /> |
|
25 |
<property name="user" value="jones"/> |
|
26 |
<property name="password" value="kinkaj0u"/> |
|
26 | 27 |
|
27 | 28 |
<filter token="release" value="${release}"/> |
28 | 29 |
<filter token="servlet-path" value="${servlet-path}"/> |
29 | 30 |
<filter token="html-path" value="${html-path}"/> |
30 | 31 |
<filter token="user" value="${user}"/> |
31 | 32 |
<filter token="password" value="${password}"/> |
32 |
|
|
33 |
<filter token="image-path" value="${image-path}"/> |
|
33 | 34 |
<property name="srcdir" value="./src" /> |
34 | 35 |
|
35 | 36 |
<property name="build.dir" value="./build"/> |
... | ... | |
40 | 41 |
<property name="build.tests" value="${build.dir}/tests"/> |
41 | 42 |
<property name="build.data" value="${build.dir}/data"/> |
42 | 43 |
<property name="build.javadocs" value="${build.dir}/docs/apiDocs"/> |
44 |
<property name="build.img" value="/opt/httpd/html${image-path}"/> |
|
43 | 45 |
|
44 | 46 |
<property name="oracle_home" |
45 | 47 |
value="/oracle01/app/oracle/product/8.1.6" /> |
... | ... | |
106 | 108 |
dest="${installdir}/WEB-INF/lib/oracle-jdbc111.jar" /> |
107 | 109 |
<copyfile src="lib/web.xml" |
108 | 110 |
dest="${installdir}/WEB-INF/web.xml" /> |
111 |
<copydir src="lib" |
|
112 |
dest="${build.img}"/> |
|
109 | 113 |
<copydir src="lib" dest="${installdir}" |
110 | 114 |
filtering="yes" |
111 | 115 |
excludes="*.jar,*.properties,web.xml,**/srbrmi/*" /> |
Also available in: Unified diff
added an
image-path
property to get around the messed up images when loading images from tomcat. To add your own image directory,create a directory under /opt/httpd/html/img/ and add the path to the image-path property in build.xml. Then all img tags in your documents
should reference
image-path
instead of the true path to the image.