Project

General

Profile

« Previous | Next » 

Revision 1801

Added by Jing Tao over 20 years ago

Add a new user and passwd for another user who doesn't have permssion try to read, delete, update xml files.

View differences:

build.xml
33 33
  <target name="oracle">
34 34
     <!-- Customize these properties if you are using oracle -->
35 35
     <property name="jdbc-connect"
36
               value="jdbc:oracle:thin:@dev.nceas.ucsb.edu:1521:exp"/>
36
               value="jdbc:oracle:thin:@pine.nceas.ucsb.edu:1521:exp"/>
37 37
     <property name="dbDriver" value="oracle.jdbc.driver.OracleDriver"/>
38 38
     <property name="dbAdapter" value="edu.ucsb.nceas.dbadapter.OracleAdapter"/>
39
     <property name="oracle_home" value="/oracle01/app/oracle/product/8.1.6" />
39
     <property name="oracle_home" value="/usr/local/oracle/8.1.6" />
40 40
     <property name="jdbc" value="${oracle_home}/jdbc/lib/classes111.zip" />
41 41
     <!-- Property to indicate is not MSSQL installation-->
42 42
     <property name="other" value="yes"/>
......
69 69
     <property name="MSSQL" value="yes"/>
70 70
   </target>
71 71

  
72
   <target name="config" depends="postgresql">
72
   <target name="config" depends="oracle">
73 73
      <!-- Change the 'depends' attribute above to 'postgresql' to install
74 74
           metacat with postgres instead of oracle -->
75 75

  
......
78 78
      <property name="webapps" value="/usr/local/devtools/jakarta-tomcat/webapps" />
79 79
      <property name="context" value="tao" />
80 80
      <property name="user" value="tao"/>
81
      <property name="password" value=""/>
82
      <property name="mcuser" value="uid=jones,o=NCEAS,dc=ecoinformatics,dc=org"/>
81

  
82
      <property name="password" value="tdataint"/>
83
      <property name="mcuser" value="uid=tao,o=NCEAS,dc=ecoinformatics,dc=org"/>
83 84
      <property name="mcpassword" value=""/>
85
      <property name="mcanotheruser" value="uid=jtao,o=LTER,dc=ecoinformatics,dc=org"/>
86
      <property name="mcanotherpassword" value=""/>
87

  
84 88
      <!-- Tomcat version, if you use tomcat 3, please fill it "tomcat3". If you using tomcat4, please fill it "tomcat4"-->
85 89
      <property name="tomcatversion" value="tomcat4"/>
86 90

  
......
175 179
      <filter token="password" value="${password}"/>
176 180
      <filter token="mcuser" value="${mcuser}"/>
177 181
      <filter token="mcpassword" value="${mcpassword}"/>
182
      <filter token="mcanotheruser" value="${mcanotheruser}"/>
183
      <filter token="mcanotherpassword" value="${mcanotherpassword}"/>
178 184
      <filter token="image-path" value="${image-path}"/>
179 185
      <filter token="style-path" value="${style-path}"/>
180 186
      <filter token="web-base-url" value="${web-base-url}"/>
......
369 375
          password="${password}"
370 376
          src="${build.src}/loadschema.sql" />
371 377
   </target>
372
  
378
   
373 379
   <target name="installCommon" depends="jar">
374 380
       <mkdir dir="${datafilepath}" />
375 381
       <mkdir dir="${inlinedatafilepath}" />

Also available in: Unified diff