Project

General

Profile

« Previous | Next » 

Revision 185

Added by Matt Jones over 24 years ago

1) Simplified database connection creation by adding new utility routine in MetaCatUtil that reads configuration information from the properties file.
2) Created MetaCatUtil.getOption() to retrieve options from properties file.
3) Unified SAX Parser creation by specifying parser driver in the properties file and dynamically loading it using the XMLReaderFactory interface.
4) Swiched form SAX 1.0 interface to SAX 2.0 interface, anticipating the need for Namespace support.
5) Renamed GenericXMLValidate to DBValidate and eliminated need for XMLValidate, and generally simplified the structure of DBValidate.

View differences:

build.xml
20 20
                value="/oracle01/app/oracle/product/8.1.5" />
21 21
      <property name="xmlp" 
22 22
                value="/home/httpd/servlets/xsql/lib/xmlparserv2.jar" />
23
      <property name="xmlp2" 
24
                value="/home/httpd/servlets/xerces.jar" />
23 25
      <property name="jdbc" 
24 26
                value="${oracle_home}/jdbc/lib/classes111.zip" />
25 27
      <property name="jserv" 
......
29 31
      <property name="cat" 
30 32
                value="lib/catalog.jar" />
31 33
      <property name="cpath" 
32
                value="${xmlp}:${jdbc}:${jserv}:${jsdk}:${cat}" />
34
                value="${xmlp2}:${xmlp}:${jdbc}:${jserv}:${jsdk}:${cat}" />
33 35
      <property name="metacat.home" value="edu/ucsb/nceas/metacat" />
34 36
      <property name="src.metacat.home" value="src/${metacat.home}" />
35 37
      <mkdir dir="${classesdir}" />

Also available in: Unified diff