Project

General

Profile

« Previous | Next » 

Revision 1487

Added by Jing Tao over 21 years ago

Add a default content type for data file.

View differences:

build.xml
51 51
     <property name="jdbc" value="lib/jdbc7.1-1.2.jar" />
52 52
   </target>
53 53

  
54
   <target name="config" depends="postgresql">
54
   <target name="config" depends="oracle">
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 59
      <property name="tomcat" value="/usr/local/devtools/jakarta-tomcat" />
60
      <property name="webapps" value="/usr/local/devtools/jakarta-tomcat/webapps" />
60
      <property name="webapps" value="/opt/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="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" />
64
      <property name="server" value="dev.nceas.ucsb.edu"/>
65
      <property name="systemidserver" value="http://dev.nceas.ucsb.edu" />
66
      <property name="datafilepath" value="/opt/tomcat/data/tao/data" />
67
      <property name="inlinedatafilepath" value="/opt/tomcat/data/tao/inlinedata" />
68
      <property name="debuglevel" value="35" />
69 69
      <property name="forcereplicationwaitingtime" value="30000"/>
70 70
      <property name="web-base-url"
71 71
                value="http://knb.ecoinformatics.org"/>
72 72
      <property name="default-style" value="knb" />
73 73
      <property name="morphosourcedir" value="morpho" />
74
      <property name="defaultcontenttype" value="text/plain" />
74 75

  
75 76
      <!-- Make sure these paths match the location of the jar files
76 77
           on your system, the defaults should usually work -->
77 78
      <property name="jsdk"
78
                value="${tomcat}/common/lib/servlet.jar" />
79
                value="${tomcat}/lib/common/servlet.jar" />
79 80
      <property name="xmlp"
80 81
                value="lib/xercesImpl.jar" />
81 82
      <property name="srb"
......
97 98
      <property name="configxml"
98 99
                value="lib/configxml.jar" />
99 100

  
101
      <property name="emlparser"
102
                value="lib/eml.jar" />
100 103
  </target>
101 104

  
102 105
   <target name="init" depends="config">
......
149 152
      <filter token="debuglevel" value="${debuglevel}" />
150 153
      <filter token="datafilepath" value="${datafilepath}" />
151 154
      <filter token="inlinedatafilepath" value="${inlinedatafilepath}" />
155
      <filter token="defaultcontenttype" value="${defaultcontenttype}" />       
156

  
152 157
      <property name="srcdir" value="./src" />
153 158
      <property name="junittestsdir" value="./test/edu/ucsb/nceas/metacattest" />
154 159
      <property name="junitnettestsdir" value="./test/edu/ucsb/nceas/metacatnettest" />
......
344 349

  
345 350
  <target name="gethttpclient" depends="prepare">
346 351
  <!--mkdir dir="${morphosourcedir}" -->
347
        <cvs cvsRoot=":ext:tao@cvs.ecoinformatics.org:/cvs"
352
        <cvs cvsRoot="${cvsroot}"
348 353
             package="morpho"
349 354
             dest="." />
350 355
        <ant dir="${morphosourcedir}" inheritAll="false"  target="jar" />

Also available in: Unified diff