Project

General

Profile

Revision 1437

Added by berkley over 18 years ago

fixed bug with copying images in the build file

View differences:

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/exp"/>
47
               value="jdbc:postgresql://localhost/exp2"/>
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" />
61
      <property name="context" value="tao" />
62
      <property name="user" value="tao"/>
63
      <property name="password" value="tdataint"/>
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="debuglevel" value="35" />
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" />
68 68
      <property name="forcereplicationwaitingtime" value="30000"/>
69 69
      <property name="web-base-url"
70 70
                value="http://knb.ecoinformatics.org"/>
......
105 105
                value="/${context}/servlet/replication"/>
106 106
      <property name="servlet-path" value="/${context}/servlet/metacat"/>
107 107
      <property name="html-path" value="/${context}"/>
108
      <property name="image-path" value="/img/${context}" />
108
      <property name="image-path" value="/${context}" />
109 109
      <property name="style-path" value="/${context}/style"/>
110 110
      <property name="replication-log" value="/tmp/metacatreplication.log"/>
111 111
      <property name="config-dir" value="${installdir}" />
......
113 113
      <property name="eml-version" value="2.0.0beta6" />
114 114
      <property name="eml-tag" value="RELEASE_EML_2_0_0_BETA_6_REV1" />
115 115
      <property name="cvsroot"
116
                value=":ext:tao@cvs.ecoinformatics.org:/cvs" />
116
                value=":ext:berkley@cvs.ecoinformatics.org:/cvs" />
117 117

  
118 118
      <property name="cpath"
119 119
                value="${xmlp}:${xalan}:${apis}:${jdbc}:${jsdk}:${srb}:${cos}:${morpho}"/>
......
155 155
      <property name="build.metacatnettest" value="${build.tests}/metacatnettest"/>
156 156
      <property name="build.data" value="${build.dir}/data"/>
157 157
      <property name="build.javadocs" value="${build.dir}/docs/api"/>
158
      <property name="build.img" value="${installdir}/${image-path}"/>
158
      <property name="build.img" value="${installdir}"/>
159 159

  
160 160
      <property name="dist.dir" value="dist"/>
161 161
      <property name="ver.dir" value="${dist.dir}/${name}-${release}"/>
......
273 273
           <exclude name="*.properties"/>
274 274
           <exclude name="web.xml"/>
275 275
           <exclude name="**/srbrmi*"/>
276
           <exclude name="**/*.jpg"/>
277
           <exclude name="**/*.png"/>
278
           <exclude name="**/*.gif"/>
276 279
         </fileset>
277 280
       </copy>
278 281
       <echo>

Also available in: Unified diff