Revision 1455
Added by Jing Tao over 21 years ago
build.xml | ||
---|---|---|
44 | 44 |
<target name="postgresql"> |
45 | 45 |
<!-- Customize these properties if you are using postgres --> |
46 | 46 |
<property name="jdbc-connect" |
47 |
value="jdbc:postgresql://localhost/exp2"/>
|
|
47 |
value="jdbc:postgresql://localhost/exp"/> |
|
48 | 48 |
<property name="dbDriver" value="org.postgresql.Driver"/> |
49 | 49 |
<property name="dbAdapter" |
50 | 50 |
value="edu.ucsb.nceas.dbadapter.PostgresqlAdapter"/> |
... | ... | |
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-3.3a" /> |
|
60 |
<property name="webapps" value="${tomcat}/webapps" /> |
|
61 |
<property name="context" value="metacat" /> |
|
62 |
<property name="user" value="berkley"/> |
|
63 |
<property name="password" value=""/> |
|
64 |
<property name="server" value="trestles.nceas.ucsb.edu:8090"/> |
|
65 |
<property name="systemidserver" value="http://trestles.nceas.ucsb.edu:8090" /> |
|
66 |
<property name="datafilepath" value="/opt/tomcat/data/berkley/data" /> |
|
67 |
<property name="debuglevel" value="0" /> |
|
59 |
<property name="tomcat" value="/usr/local/devtools/jakarta-tomcat" /> |
|
60 |
<property name="webapps" value="/usr/local/devtools/jakarta-tomcat/webapps" /> |
|
61 |
<property name="context" value="tao" /> |
|
62 |
<property name="user" value="tao"/> |
|
63 |
<property name="password" value="tdataint"/> |
|
64 |
<property name="server" value="pine.nceas.ucsb.edu:8443"/> |
|
65 |
<property name="systemidserver" value="http://pine.nceas.ucsb.edu:8080" /> |
|
66 |
<property name="datafilepath" value="/usr/local/devtools/jakarta-tomcat/data/tao/data" /> |
|
67 |
<property name="inlinedatafilepath" value="/usr/local/devtools/jakarta-tomcat/data/tao/inlinedata" /> |
|
68 |
<property name="debuglevel" value="55" /> |
|
68 | 69 |
<property name="forcereplicationwaitingtime" value="30000"/> |
69 | 70 |
<property name="web-base-url" |
70 | 71 |
value="http://knb.ecoinformatics.org"/> |
... | ... | |
74 | 75 |
<!-- Make sure these paths match the location of the jar files |
75 | 76 |
on your system, the defaults should usually work --> |
76 | 77 |
<property name="jsdk" |
77 |
value="${tomcat}/lib/common/servlet.jar" />
|
|
78 |
value="${tomcat}/common/lib/servlet.jar" />
|
|
78 | 79 |
<property name="xmlp" |
79 | 80 |
value="lib/xercesImpl.jar" /> |
80 | 81 |
<property name="srb" |
... | ... | |
113 | 114 |
<property name="eml-version" value="2.0.0beta6" /> |
114 | 115 |
<property name="eml-tag" value="RELEASE_EML_2_0_0_BETA_6_REV1" /> |
115 | 116 |
<property name="cvsroot" |
116 |
value=":ext:berkley@cvs.ecoinformatics.org:/cvs" />
|
|
117 |
value=":ext:tao@cvs.ecoinformatics.org:/cvs" />
|
|
117 | 118 |
|
118 | 119 |
<property name="cpath" |
119 | 120 |
value="${xmlp}:${xalan}:${apis}:${jdbc}:${jsdk}:${srb}:${cos}:${morpho}"/> |
... | ... | |
142 | 143 |
<filter token="forcereplicationwaitingtime" value="${forcereplicationwaitingtime}" /> |
143 | 144 |
<filter token="debuglevel" value="${debuglevel}" /> |
144 | 145 |
<filter token="datafilepath" value="${datafilepath}" /> |
146 |
<filter token="inlinedatafilepath" value="${inlinedatafilepath}" /> |
|
145 | 147 |
<property name="srcdir" value="./src" /> |
146 | 148 |
<property name="junittestsdir" value="./test/edu/ucsb/nceas/metacattest" /> |
147 | 149 |
<property name="junitnettestsdir" value="./test/edu/ucsb/nceas/metacatnettest" /> |
... | ... | |
242 | 244 |
|
243 | 245 |
<target name="install" depends="jar"> |
244 | 246 |
<mkdir dir="${datafilepath}" /> |
247 |
<mkdir dir="${inlinedatafilepath}" /> |
|
245 | 248 |
<chmod dir="${datafilepath}" perm="ug+w" /> |
246 | 249 |
<mkdir dir="${installdir}/WEB-INF/lib" /> |
247 | 250 |
<copy file="${build.dir}/${name}.jar" |
Also available in: Unified diff
Add a new property inlinedatafilepath in order to store inline data.