Project

General

Profile

Revision 915

Added by berkley about 19 years ago

fixed error I introduced when I got postgres working

View differences:

build.xml
32 32
<project name="metacat" default="jar" basedir=".">
33 33
   <target name="init">
34 34
      <property name="jdbc-connect" 
35
                value="jdbc:postgresql://localhost/berkley"/>
36
      <property name="installdir" value="/home/berkley/tomcat/webapps/metacat" />
37
      <property name="dbDriver" value="org.postgresql.Driver"/>
35
                value="jdbc:oracle:thin:@dev.nceas.ucsb.edu:1521:exp"/>
36
      <property name="installdir" value="/opt/tomcat/webapps/berkley" />
37
      <property name="dbDriver" value="oracle.jdbc.driver.OracleDriver"/>
38
      <property name="dbAdapter" value="edu.ucsb.nceas.dbadapter.OracleAdapter"/>
38 39
      <property name="name" value="metacat"/>
39 40
      <property name="Name" value="MetaCat"/>
40 41
      <property name="release" value="1.0.3"/>
41 42
      <property name="web-base-url" 
42
                value="http://alpha.nceas.ucsb.edu:8080/"/>
43
                value="http://knb.ecoinformatics.org"/>
43 44

  
44 45
      <property name="replication-path" value="/servlet/replication"/>
45
      <property name="servlet-path" value="/metacat/servlet/metacat"/>
46
      <property name="html-path" value="/metacat"/>
47
      <property name="image-path" value="/img/metacat" />
48
      <property name="style-path" value="/metacat/style"/>
49
      <property name="server" value="alpha.nceas.ucsb.edu:8080"/>
50
      <property name="replication-log" value="/home/berkley/tomcat/webapps/metacat/metacatreplication.log"/>
46
      <property name="servlet-path" value="/berkley/servlet/metacat"/>
47
      <property name="html-path" value="/berkley"/>
48
      <property name="image-path" value="/img/berkley" />
49
      <property name="style-path" value="/berkley/style"/>
50
      <property name="server" value="dev.nceas.ucsb.edu:8090"/>
51
      <property name="replication-log" value="/tmp/berkley/metacatreplication.log"/>
51 52
      <property name="user" value="berkley"/>
52
      <property name="password" value=""/>
53
      <property name="password" value="UnSinn123"/>
53 54
      <property name="config-dir" value="${installdir}" />
54 55
      <property name="default-style" value="knb" />
55 56
      <property name="eml-module" value="mdstandards/eml" />
56 57
      <property name="eml-version" value="2.0.0beta6" />
57 58
      <property name="eml-tag" value="RELEASE_EML_2_0_0_BETA_6" />
58 59
      <property name="cvsroot" 
59
                value=":ext:berkley@cvs.nceas.ucsb.edu:/cvs/pbi" />
60
                value=":ext:berkley@cvs.ecoinformatics.org:/cvs" />
60 61

  
61 62

  
62 63
      <filter token="docrooturl" value="./" />
63 64
      <filter token="jdbc-connect" value="${jdbc-connect}"/>
64 65
      <filter token="dbDriver" value="${dbDriver}"/>
66
      <filter token="dbAdapter" value="${dbAdapter}"/>
65 67
      <filter token="install-dir" value="${installdir}"/>
66 68
      <filter token="serverhost" value="${serverhost}"/>
67 69
      <filter token="server" value="${server}"/>
......
99 101
      <property name="toolsdir" 
100 102
                value="/usr/local/devtools" />
101 103
      <property name="xmlp2" 
102
                value="./lib/xerces.jar" />
104
                value="${toolsdir}/xerces-1_1_3/xerces.jar" />
103 105
      <property name="jdbc" 
104
                value="lib/jdbc7.1-1.2.jar" />
106
                value="${oracle_home}/jdbc/lib/classes111.zip" />
105 107
      <property name="jserv" 
106 108
                value="/usr/lib/apache/ApacheJServ.jar" />
107 109
      <property name="jsdk" 
108
                value="/home/berkley/tomcat/lib/common/servlet.jar" />
110
                value="${toolsdir}/jakarta-tomcat/lib/servlet.jar" />
109 111
      <property name="srb" 
110 112
                value="lib/srbrmi" />
111 113
      <property name="cos" 
......
115 117
      <property name="xalanxml-apis"
116 118
                value="lib/xalan/xml-apis.jar" />
117 119
      <property name="cpath" 
118
                value="${xalan}:${xalanxml-apis}:${xmlp2}:${jdbc}:${jserv}:${jsdk}:${srb}:${cos}"/>
120
                value="${xmlp2}:${xalan}:${xalanxml-apis}:${jdbc}:${jserv}:${jsdk}:${srb}:${cos}"/>
119 121
      <property name="package.home" value="edu/ucsb/nceas/metacat" />
122

  
120 123
   </target>
121 124
   
122 125
   <target name="prepare" depends="init">
......
200 203
             tofile="${installdir}/WEB-INF/lib/oracle-jdbc111.jar" />
201 204
       <copy file="${cos}" 
202 205
             tofile="${installdir}/WEB-INF/lib/cos.jar" />
203
       <copy file="${xalan}" 
204
             tofile="${installdir}/WEB-INF/lib/xalan.jar" />
205
       <copy file="${xalanxml-apis}" 
206
             tofile="${installdir}/WEB-INF/lib/xml-apis.jar" />
207 206
       <copy file="lib/web.xml" 
208 207
             tofile="${installdir}/WEB-INF/web.xml" />
209 208
       <copy todir="${build.img}" filtering="no">

Also available in: Unified diff