1 |
125
|
jones
|
#!/bin/sh
|
2 |
173
|
jones
|
|
3 |
|
|
export PARSER=/home/jones/software/xerces-1_1_0/bin/xerces.jar
|
4 |
|
|
export PARSER_NAME=org.apache.xerces.parsers.SAXParser
|
5 |
|
|
export PDIR=/home/jones/projects/pbi/development/xmltodb
|
6 |
|
|
export JDBC=${ORACLE_HOME}/jdbc/lib/classes111.zip
|
7 |
|
|
|
8 |
|
|
export CPATH=$PDIR/lib/metacat.jar:$PARSER:$JDBC
|
9 |
|
|
|
10 |
125
|
jones
|
export USER=jones
|
11 |
150
|
jones
|
export PW=your-pw-goes-here
|
12 |
125
|
jones
|
export DBC=jdbc:oracle:thin:@localhost:1521:test
|
13 |
|
|
|
14 |
|
|
java -cp ${CPATH} edu.ucsb.nceas.metacat.DBReader $1 $USER $PW $DBC
|