Project

General

Profile

« Previous | Next » 

Revision 1311

Added by berkley about 22 years ago

changed values for release

View differences:

README
18 18
              Jing Tao (tao@nceas.ucsb.edu)
19 19
              Jivka Bojilova (bojilova@nceas.ucsb.edu)
20 20
              Dan Higgins (higgins@nceas.ucsb.edu)
21
              
21

  
22 22
Metacat is a flexible database storage system for XML formatted
23 23
documents. Metacat models the structure of the XML document, therefore
24 24
allowing storage of XML documents with arbitrary schemas. Metacat supports
......
32 32

  
33 33
Release Notes
34 34

  
35
In this release, the sturcture of xml_replication table was changed. If you try 
36
to update a installed Metacat, you should run a script file to updated the table
37
structure before installation. 
35
In this release, the structure of the xml_replication table was changed.
36
If you try to update a previously installed Metacat, you should run a script
37
file to updated the table structure before installation.
38 38
For Oracle user: At the SQLPLUS prompt type the following -
39 39
@src/xmlreplicationtable.sql
40 40
For Postgresql user: At install directory prompt type the following -
41 41
psql exp < src/xmlreplicationtable_postgres.sql
42
(exp is the database name).
42
(where 'exp' is the database name).
43 43

  
44
If you a new Metacat user, don't need to do it. 
44
If you are a new Metacat user, this step is unneeded.
45 45

  
46
Moreover, in build.xml it has a peroperty named datafilepath. It should be set
47
as same as your current data file path for person who already installed Metacat
48
before.
46
The build.xml file now has a property named datafilepath. It should be set
47
to the location of where you want your data files stored.  If you are an
48
existing user, this directory should be /<tomcatdir>/webapps/metacat/data
49
where <tomcatdir> is the your tomcat installation directory where
50
your webapps directory is located and 'metacat' is the name of your servlet
51
instance.
49 52

  
50 53
-------------
51 54
  New features in 1.2.0:
......
53 56
  2) New replication features
54 57
  3) Added partial SSL support
55 58
  4) Additional bugs fixed, see http://bugzilla.ecoinformatics.org
56
     474   Metacat in Ecoinfo hang     
57
     475   Associate access doc to some docid which doesn't have ent...     
58
     478   Security hole in Metacat for data file.     
59
     536   Changes to Metacat build script to install stylesheets fr...     
60
     457   Bug in replciation     
61
     466   Create a JUnit class for Metacat action     
62
     502   Security issues in replication     
63
     503   Access control problem to a replicated doucment     
64
     537   SQL error when first insert a new record into xml_replica...     
65
     540   In force replication, some time has reversion number error     
66
     541   Update dataset document which host is not in this metacat...     
67
     542   Duplicate entries in xml_replication table     
68
     543   Metacat hang in there when delta T replication     
69
     554   xml_replication table in production metacat     
59
     474   Metacat in Ecoinfo hang
60
     475   Associate access doc to some docid which doesn't have ent...
61
     478   Security hole in Metacat for data file.
62
     536   Changes to Metacat build script to install stylesheets fr...
63
     457   Bug in replciation
64
     466   Create a JUnit class for Metacat action
65
     502   Security issues in replication
66
     503   Access control problem to a replicated doucment
67
     537   SQL error when first insert a new record into xml_replication...
68
     540   In force replication, some time has reversion number error
69
     541   Update dataset document which host is not in this metacat...
70
     542   Duplicate entries in xml_replication table
71
     543   Metacat hang in there when delta T replication
72
     554   xml_replication table in production metacat
70 73
     479   Debug message level
71 74

  
72 75
  New features in 1.1.0:
73 76
  1) Added functionality to export a zipped data package. The zip file contains
74 77
     all of the data and metadata as well as a rendered html summary of
75 78
     the metadata.
76
  2) Changed version control mechanism.  Metacat can now accept any version of 
79
  2) Changed version control mechanism.  Metacat can now accept any version of
77 80
     a document as long as the given version number is greater than the
78 81
     current one.  The new version number does not have to be exactly one
79 82
     greater than the current version.
......
81 84
  Fixes in 1.1.0
82 85
   1) Fixed ldap authentication bug.  Now, a user from a referred server cannot
83 86
      login with an incorrect password.
84
   2) Changed the default behavior of the access control functionality with 
87
   2) Changed the default behavior of the access control functionality with
85 88
      respect to packaging.
86
      If a member document in a data package doesn't have an access control list, 
87
      access control rules of the main package document will not apply to the 
89
      If a member document in a data package doesn't have an access control list,
90
      access control rules of the main package document will not apply to the
88 91
      member document.  Previously, package members, by default, inherited
89 92
      the access control rules of the main package document.
90 93
   3) Fixed minor bugs with document access control.
91 94
   4) Allowed new version of data files to be uploaded and handled.
92
   5) Fixed bug where the client could not get the principals or groups from 
95
   5) Fixed bug where the client could not get the principals or groups from
93 96
      the ldap server.
94 97
  Fixes in 1.0.3
95 98
   1) Fixed problem with Metacat not being able to query for group names when
96 99
      and LDAP referral server was down.  Added an LDAP timeout of 5 seconds
97 100
      for all referral activity.
98 101
   2) Fixed problem where invalid xml characters such as ampersands (&) could
99
      be inserted into the resultset xml stream.  
102
      be inserted into the resultset xml stream.
100 103
  Fixes in 1.0.2
101 104
   1) Fixed problem with LDAP locking up Metacat when a referral server
102 105
      was not available.
......
109 112

  
110 113
Documentation
111 114
-------------
112
See the docs directory for detailed documentation and installation 
115
See the docs directory for detailed documentation and installation
113 116
instructions.
114 117

  
115
Details of the Metacat architecture can be found on the website for 
118
Details of the Metacat architecture can be found on the website for
116 119
the Knowledge Network for Biocomplexity (KNB):
117 120

  
118 121
  http://knb.ecoinformatics.org/software/metacat/
......
125 128
If you discover a bug
126 129
please report it, either by email (above) or by using our bug tracking
127 130
system (http://bugzilla.ecoinformatics.org). There is a list of currently
128
unimplemented features in Bugzilla that we are working on for the next 
131
unimplemented features in Bugzilla that we are working on for the next
129 132
release (no, we don't have a date yet!).
130 133

  
131 134
Legalese
......
135 138
and licensed under the GNU GPL; see the 'LICENSE' file for
136 139
details.
137 140

  
138
This material is based upon work supported by the 
141
This material is based upon work supported by the
139 142
National Science Foundation under Grant No. DEB99-80154 and DBI99-04777.
140 143
Any opinions, findings and conclusions or recomendations expressed in this
141
material are those of the author(s) and do not necessarily reflect 
144
material are those of the author(s) and do not necessarily reflect
142 145
the views of the National Science Foundation (NSF).
143 146

  
144
This product includes software developed by the Apache Software 
147
This product includes software developed by the Apache Software
145 148
Foundation (http://www.apache.org/). See the LICENSE file in lib/apache
146 149
for details.
147 150

  
148
The source code, object code, and documentation in the com.oreilly.servlet 
151
The source code, object code, and documentation in the com.oreilly.servlet
149 152
package is copyright and owned by Jason Hunter. See the cos-license.html file
150
for details of the license.  Licensor retains title to and ownership of the 
153
for details of the license.  Licensor retains title to and ownership of the
151 154
Software and all enhancements, modifications, and updates to the Software.
build.xml
1 1
<?xml version="1.0"?>
2
<!-- 
2
<!--
3 3
  *   '$RCSfile$'
4 4
  *     Authors: Matt Jones, Chad Berkley, Jivka Bojilova
5 5
  *   Copyright: 2000 Regents of the University of California and the
......
28 28
  * You should have received a copy of the GNU General Public License
29 29
  * along with this program; if not, write to the Free Software
30 30
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
31
--> 
31
-->
32 32
<project name="metacat" default="jar" basedir=".">
33 33

  
34 34
   <target name="oracle">
......
40 40
     <property name="oracle_home" value="/oracle01/app/oracle/product/8.1.6" />
41 41
     <property name="jdbc" value="${oracle_home}/jdbc/lib/classes111.zip" />
42 42
   </target>
43
   
43

  
44 44
   <target name="postgresql">
45 45
     <!-- Customize these properties if you are using postgres -->
46
     <property name="jdbc-connect" 
46
     <property name="jdbc-connect"
47 47
               value="jdbc:postgresql://localhost/exp"/>
48 48
     <property name="dbDriver" value="org.postgresql.Driver"/>
49
     <property name="dbAdapter" 
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 54
   <target name="config" depends="oracle">
55
      <!-- Change the 'depends' attribute above to 'postgresql' to install 
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 60
      <property name="webapps" value="/opt/tomcat/webapps" />
61
      <property name="context" value="tao" />
62
      <property name="user" value="tao"/>
61
      <property name="context" value="metacat" />
62
      <property name="user" value="metacat"/>
63 63
      <property name="password" value="your-pw-goes-here"/>
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="debuglevel" value="50" />
64
      <property name="server" value="knb.ecoinformatics.org"/>
65
      <property name="systemidserver" value="knb.ecoinformatics.org" />
66
      <property name="datafilepath" value="/opt/tomcat/webapps/metacat/data" />
67
      <property name="debuglevel" value="10" />
68 68
      <property name="forcereplicationwaitingtime" value="30000"/>
69
      <property name="web-base-url" 
69
      <property name="web-base-url"
70 70
                value="http://knb.ecoinformatics.org"/>
71 71
      <property name="default-style" value="knb" />
72 72
      <property name="morphosourcedir" value="morpho" />
73 73

  
74 74
      <!-- Make sure these paths match the location of the jar files
75 75
           on your system, the defaults should usually work -->
76
      <property name="jsdk" 
76
      <property name="jsdk"
77 77
                value="${tomcat}/lib/common/servlet.jar" />
78
      <property name="xmlp" 
78
      <property name="xmlp"
79 79
                value="lib/xerces.jar" />
80
      <property name="srb" 
80
      <property name="srb"
81 81
                value="lib/srbrmi" />
82
      <property name="cos" 
82
      <property name="cos"
83 83
                value="lib/cos.jar" />
84 84
      <property name="morpho"
85 85
                value="lib/morpho.jar" />
......
90 90
      <property name="httpclient"
91 91
                value="${morphosourcedir}/lib/httpclient.jar" />
92 92
      <property name="itis"
93
                value="${morphosourcedir}/lib/itislib.jar" /> 
93
                value="${morphosourcedir}/lib/itislib.jar" />
94 94

  
95 95
  </target>
96 96

  
......
101 101
      <property name="name" value="metacat"/>
102 102
      <property name="Name" value="MetaCat"/>
103 103
      <property name="release" value="1.2.0"/>
104
      <property name="replication-path" 
104
      <property name="replication-path"
105 105
                value="/${context}/servlet/replication"/>
106 106
      <property name="servlet-path" value="/${context}/servlet/metacat"/>
107 107
      <property name="html-path" value="/${context}"/>
......
112 112
      <property name="eml-module" value="eml" />
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
      <property name="cvsroot" 
115
      <property name="cvsroot"
116 116
                value=":ext:jones@cvs.ecoinformatics.org:/cvs" />
117 117

  
118
      <property name="cpath" 
118
      <property name="cpath"
119 119
                value="${xmlp}:${xalan}:${apis}:${jdbc}:${jsdk}:${srb}:${cos}:${morpho}"/>
120 120

  
121 121
      <filter token="docrooturl" value="./" />
......
164 164
      <property name="package.home" value="edu/ucsb/nceas/metacat" />
165 165

  
166 166
   </target>
167
   
167

  
168 168
   <target name="prepare" depends="init">
169 169
      <mkdir dir="${build.dir}"/>
170 170
      <mkdir dir="${build.src}"/>
......
183 183
   </target>
184 184

  
185 185
   <target name="compile" depends="prepare">
186
       <javac srcdir="${build.src}" 
187
              destdir="${build.dest}" 
188
              classpath="${cpath}" 
189
              excludes="**/*.sql" /> 
190
       <copy file="lib/metacat.properties" 
191
             tofile="${build.dest}/${package.home}/metacat.properties" 
186
       <javac srcdir="${build.src}"
187
              destdir="${build.dest}"
188
              classpath="${cpath}"
189
              excludes="**/*.sql" />
190
       <copy file="lib/metacat.properties"
191
             tofile="${build.dest}/${package.home}/metacat.properties"
192 192
             filtering="yes" />
193
       <copy file="lib/srbProps.properties" 
193
       <copy file="lib/srbProps.properties"
194 194
             tofile="${build.dest}/${package.home}/srbProps.properties"/>
195
   </target> 
195
   </target>
196 196

  
197 197
   <target name="jar" depends="compile">
198 198
       <delete file="${build.dir}/${name}.jar" />
......
201 201
       </copy>
202 202
       <jar jarfile="${build.dir}/${name}.jar" basedir="${build.dest}"
203 203
            excludes="**/protocols/" />
204
   </target> 
205
 
204
   </target>
205

  
206 206
   <target name="protocol" depends="compile">
207 207
       <delete file="${build.dir}/protocol.jar" />
208 208
       <jar jarfile="${build.dir}/protocol.jar" basedir="${build.dest}"
209 209
            includes="**/protocols/" />
210
   </target> 
210
   </target>
211 211

  
212 212
   <target name="getdtd" depends="prepare">
213 213
     <echo>Enter CVS password: </echo>
......
224 224
     </copy>
225 225
     <copy todir="lib/style" filtering="yes">
226 226
       <fileset dir="${build.src}/${eml-module}/style">
227
	     <include name="*.xsl"/>
228
	   </fileset>
227
       <include name="*.xsl"/>
228
     </fileset>
229 229
     </copy>
230 230
   </target>
231 231

  
......
244 244
       <mkdir dir="${datafilepath}" />
245 245
       <chmod dir="${datafilepath}" perm="ug+w" />
246 246
       <mkdir dir="${installdir}/WEB-INF/lib" />
247
       <copy file="${build.dir}/${name}.jar" 
247
       <copy file="${build.dir}/${name}.jar"
248 248
             tofile="${installdir}/WEB-INF/lib/${name}.jar" />
249
       <copy file="${xmlp}" 
249
       <copy file="${xmlp}"
250 250
             tofile="${installdir}/WEB-INF/lib/xerces.jar" />
251
       <copy file="${xalan}" 
251
       <copy file="${xalan}"
252 252
             tofile="${installdir}/WEB-INF/lib/xalan.jar" />
253
       <copy file="${apis}" 
253
       <copy file="${apis}"
254 254
             tofile="${installdir}/WEB-INF/lib/xml-apis.jar" />
255
       <copy file="${jdbc}" 
255
       <copy file="${jdbc}"
256 256
             tofile="${installdir}/WEB-INF/lib/oracle-jdbc111.jar" />
257
       <copy file="${cos}" 
257
       <copy file="${cos}"
258 258
             tofile="${installdir}/WEB-INF/lib/cos.jar" />
259 259
       <copy file="${morpho}"
260
	     tofile="${installdir}/WEB-INF/lib/morpho.jar" />
261
       <copy file="lib/web.xml" 
260
       tofile="${installdir}/WEB-INF/lib/morpho.jar" />
261
       <copy file="lib/web.xml"
262 262
             tofile="${installdir}/WEB-INF/web.xml" />
263 263
       <copy todir="${build.img}" filtering="no">
264 264
         <fileset dir="lib">
......
282 282
              done by using the "ant dtdsql" which will run it for you.
283 283
             ***********************************************************
284 284
       </echo>
285
   </target> 
286
   
285
   </target>
286

  
287 287
   <target name="test" depends="install">
288 288
      <!-- copy and compile the tests into a jar file -->
289 289
      <mkdir dir="${build.metacattest}"/>
290 290
      <javac srcdir="${junittestsdir}"
291 291
             destdir="${build.metacattest}"
292 292
             classpath="${cpath}:${build.dir}/${name}.jar"
293
	     includes="**/*.java" />
293
       includes="**/*.java" />
294 294

  
295
      <jar jarfile="${build.dir}/${name}-junittests.jar" 
296
		    basedir="${build.metacattest}"
297
          	    includes="**/*.class" />
295
      <jar jarfile="${build.dir}/${name}-junittests.jar"
296
        basedir="${build.metacattest}"
297
                includes="**/*.class" />
298 298

  
299 299
      <!-- use the ant "junit" task to run JUnit tests. -->
300 300
      <junit printsummary="yes" haltonfailure="no" fork="no"
......
314 314
   </target>
315 315

  
316 316
  <target name="gethttpclient" depends="prepare">
317
	<!--mkdir dir="${morphosourcedir}" -->
317
  <!--mkdir dir="${morphosourcedir}" -->
318 318
        <cvs cvsRoot=":ext:tao@cvs.ecoinformatics.org:/cvs"
319 319
             package="morpho"
320 320
             dest="." />
......
324 324
   <!-- run this target, we need to check out a another morpho souce dir was checked out. -->
325 325
   <target name="nettest" depends="install">
326 326
      <echo>***********************************
327
	    Please run ant gethttpclient first!
328
	    ***********************************
327
      Please run ant gethttpclient first!
328
      ***********************************
329 329
      </echo>
330 330
      <!-- copy and compile the tests into a jar file -->
331 331
      <mkdir dir="${build.metacatnettest}"/>
......
354 354
          </fileset>
355 355
        </batchtest>
356 356
     </junit>
357
   </target>   
357
   </target>
358 358

  
359 359
   <target name="clean" depends="init">
360 360
       <delete dir="${build.dir}" />
......
378 378
      <delete dir="${ver.dir}" />
379 379
      <mkdir dir="${ver.dir}"/>
380 380
      <copy todir="${ver.dir}">
381
        <fileset dir="." 
381
        <fileset dir="."
382 382
            excludes="**/CVS* **/.#* **/src* **/test* **/build* **/docs* ${dist.dir}"/>
383 383
      </copy>
384 384
      <copy todir="${ver.dir}" file="build.xml"/>
......
404 404
      <zip zipfile="./${name}-${release}.zip" basedir="${dist.dir}"/>
405 405
      <delete file="./${name}-${release}.tar.gz" />
406 406
      <tar tarfile="./${name}-${release}.tar" basedir="${dist.dir}"/>
407
      <gzip zipfile="./${name}-${release}.tar.gz" 
407
      <gzip zipfile="./${name}-${release}.tar.gz"
408 408
                src="./${name}-${release}.tar"/>
409 409
      <delete file="./${name}-${release}.tar" />
410
  </target> 
410
  </target>
411 411

  
412 412
  <target name="distsrc" depends="dist">
413 413
      <mkdir dir="${ver.src}"/>
......
419 419
      <zip zipfile="./${name}-src-${release}.zip" basedir="${dist.dir}"/>
420 420
      <delete file="./${name}-src-${release}.tar.gz" />
421 421
      <tar tarfile="./${name}-src-${release}.tar" basedir="${dist.dir}"/>
422
      <gzip zipfile="./${name}-src-${release}.tar.gz" 
422
      <gzip zipfile="./${name}-src-${release}.tar.gz"
423 423
                src="./${name}-src-${release}.tar"/>
424 424
      <delete file="./${name}-src-${release}.tar" />
425 425
      <delete dir="${dist.dir}"/>
426
  </target> 
426
  </target>
427 427

  
428 428
</project>

Also available in: Unified diff