Revision 184
Added by Matt Jones over 24 years ago
squeryxml | ||
---|---|---|
1 | 1 |
#!/bin/sh |
2 | 2 |
|
3 | 3 |
export PARSER=/home/jones/software/xerces-1_1_0/bin/xerces.jar |
4 |
export PARSER_NAME=org.apache.xerces.parsers.SAXParser |
|
5 | 4 |
export PDIR=/home/jones/projects/pbi/development/xmltodb |
6 | 5 |
export JDBC=${ORACLE_HOME}/jdbc/lib/classes111.zip |
7 | 6 |
|
8 | 7 |
export CPATH=$PDIR/lib/metacat.jar:$PARSER:$JDBC |
9 |
export USER=jones |
|
10 |
export PW=your-pw-goes-here |
|
11 |
export DBC=jdbc:oracle:thin:@localhost:1521:test |
|
12 | 8 |
|
13 |
java -cp ${CPATH} edu.ucsb.nceas.metacat.DBQuery $1 $PARSER_NAME $USER $PW $DBC |
|
9 |
java -cp ${CPATH} edu.ucsb.nceas.metacat.DBQuery $1 |
Also available in: Unified diff
cleaned up code for getting options from the properties file, made the database connection inthe MetaCatUtil class use the properties file for the conneciton info