Revision 1079
Added by Jing Tao over 22 years ago
build.xml | ||
---|---|---|
63 | 63 |
<property name="password" value="your-pw-goes-here"/> |
64 | 64 |
<property name="server" value="pine.nceas.ucsb.edu:8443"/> |
65 | 65 |
<property name="systemidserver" value="http://pine.nceas.ucsb.edu:8080" /> |
66 |
<property name="datadir" value="data" />
|
|
67 |
<property name="replication" value="off" />
|
|
68 |
<property name="replicationsenddata" value="off" />
|
|
69 |
<property name="replicationacceptdata" value="off" />
|
|
66 |
<property name="datafilepath" value="/usr/local/devtools/jakarta-tomcat/data" />
|
|
67 |
<property name="replication" value="on" />
|
|
68 |
<property name="replicationsenddata" value="on" />
|
|
69 |
<property name="replicationacceptdata" value="on" />
|
|
70 | 70 |
<property name="debuglevel" value="55" /> |
71 | 71 |
<property name="web-base-url" |
72 | 72 |
value="http://knb.ecoinformatics.org"/> |
... | ... | |
139 | 139 |
<filter token="replicationsenddata" value="${replicationsenddata}" /> |
140 | 140 |
<filter token="replicationacceptdata" value="${replicationacceptdata}" /> |
141 | 141 |
<filter token="debuglevel" value="${debuglevel}" /> |
142 |
<filter token="datafilepath" value="${datafilepath}" /> |
|
142 | 143 |
<property name="srcdir" value="./src" /> |
143 | 144 |
<property name="junittestsdir" value="./junittests" /> |
144 | 145 |
<property name="build.dir" value="./build"/> |
... | ... | |
230 | 231 |
</target> |
231 | 232 |
|
232 | 233 |
<target name="install" depends="jar"> |
233 |
<mkdir dir="${installdir}/${datadir}" />
|
|
234 |
<chmod dir="${installdir}/${datadir}" perm="ug+w" />
|
|
234 |
<mkdir dir="${datafilepath}" />
|
|
235 |
<chmod dir="${datafilepath}" perm="ug+w" />
|
|
235 | 236 |
<mkdir dir="${installdir}/WEB-INF/lib" /> |
236 | 237 |
<copy file="${build.dir}/${name}.jar" |
237 | 238 |
tofile="${installdir}/WEB-INF/lib/${name}.jar" /> |
Also available in: Unified diff
Add a variable named datafilepath in it. MetaCat administrator should specify the absolute path for storing data file.