Revision 993
Added by Jing Tao over 22 years ago
build.xml | ||
---|---|---|
51 | 51 |
<property name="jdbc" value="lib/jdbc7.1-1.2.jar" /> |
52 | 52 |
</target> |
53 | 53 |
|
54 |
<target name="config" depends="oracle">
|
|
54 |
<target name="config" depends="postgresql">
|
|
55 | 55 |
<!-- Change the 'depends' attribute above to 'postgresql' to install |
56 | 56 |
metacat with postgres instead of oracle --> |
57 | 57 |
|
58 | 58 |
<!-- Customize these properties for your system --> |
59 |
<property name="tomcat" value="/usr/local/devtools/jakarta-tomcat" />
|
|
60 |
<property name="webapps" value="/opt/tomcat/webapps" />
|
|
61 |
<property name="context" value="metacat" />
|
|
62 |
<property name="user" value="metacatuser"/>
|
|
59 |
<property name="tomcat" value="/home/tao/tomcat" />
|
|
60 |
<property name="webapps" value="/home/tao/tomcat/webapps" />
|
|
61 |
<property name="context" value="tao" />
|
|
62 |
<property name="user" value="tao"/>
|
|
63 | 63 |
<property name="password" value="your-pw-goes-here"/> |
64 |
<property name="server" value="dev.nceas.ucsb.edu"/> |
|
65 |
<property name="systemidserver" value="http://dev.nceas.ucsb.edu" /> |
|
64 |
<property name="server" value="epsilon.nceas.ucsb.edu:8080"/> |
|
65 |
<property name="systemidserver" value="http://epsilon.nceas.ucsb.edu:8080" /> |
|
66 |
<property name="datadir" value="data" /> |
|
66 | 67 |
<property name="web-base-url" |
67 | 68 |
value="http://knb.ecoinformatics.org"/> |
68 | 69 |
<property name="default-style" value="knb" /> |
... | ... | |
104 | 105 |
<property name="eml-version" value="2.0.0beta6" /> |
105 | 106 |
<property name="eml-tag" value="RELEASE_EML_2_0_0_BETA_6" /> |
106 | 107 |
<property name="cvsroot" |
107 |
value=":ext:berkley@cvs.ecoinformatics.org:/cvs" />
|
|
108 |
value=":ext:tao@cvs.ecoinformatics.org:/cvs" />
|
|
108 | 109 |
|
109 | 110 |
<property name="cpath" |
110 | 111 |
value="${xmlp}:${xalan}:${apis}:${jdbc}:${jsdk}:${srb}:${cos}:${morpho}"/> |
... | ... | |
221 | 222 |
</target> |
222 | 223 |
|
223 | 224 |
<target name="install" depends="jar"> |
225 |
<mkdir dir="${installdir}/${datadir}" /> |
|
226 |
<chmod dir="${installdir}/${datadir}" perm="ug+w" /> |
|
224 | 227 |
<mkdir dir="${installdir}/WEB-INF/lib" /> |
225 | 228 |
<copy file="${build.dir}/${name}.jar" |
226 | 229 |
tofile="${installdir}/WEB-INF/lib/${name}.jar" /> |
Also available in: Unified diff
When Metacat installed, it can automatically create data directory for data file.