Revision 977
Added by Jing Tao over 22 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/metacat"/>
|
|
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"/> |
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" />
|
|
59 |
<property name="tomcat" value="/home/tao/tomcat" />
|
|
60 |
<property name="webapps" value="/home/tao/tomcat/webapps" />
|
|
61 | 61 |
<property name="context" value="tao" /> |
62 | 62 |
<property name="user" value="tao"/> |
63 | 63 |
<property name="password" value="tdataint"/> |
64 |
<property name="server" value="dev.nceas.ucsb.edu"/> |
|
64 |
<property name="server" value="epsilon.nceas.ucsb.edu:8443"/> |
|
65 |
<property name="systemidserver" value="http://epsilon.nceas.ucsb.edu:8080" /> |
|
65 | 66 |
<property name="web-base-url" |
66 | 67 |
value="http://knb.ecoinformatics.org"/> |
67 | 68 |
<property name="default-style" value="knb" /> |
... | ... | |
114 | 115 |
<filter token="dbAdapter" value="${dbAdapter}"/> |
115 | 116 |
<filter token="install-dir" value="${installdir}"/> |
116 | 117 |
<filter token="server" value="${server}"/> |
118 |
<filter token="systemidserver" value="${systemidserver}"/> |
|
117 | 119 |
<filter token="replication-log" value="${replication-log}"/> |
118 | 120 |
<filter token="release" value="${release}"/> |
119 | 121 |
<filter token="servlet-path" value="${servlet-path}"/> |
Also available in: Unified diff
Add a property named systemidserver, its value="http://host.domainname:8080"
Add a token named systemidserver too.