Project

General

Profile

« Previous | Next » 

Revision 143

Added by Matt Jones over 24 years ago

updated classpath to use jar file in shell scripts

View differences:

readxml
1 1
#!/bin/sh
2
export CPATH=/home/httpd/servlets/xsql/lib/xmlparserv2.jar:${ORACLE_HOME}/jdbc/lib/classes111.zip:/usr/lib/apache/ApacheJServ.jar:/home/httpd/classes/servlet-2.0.jar:./classes
2
export CPATH=/home/httpd/servlets/xsql/lib/xmlparserv2.jar:${ORACLE_HOME}/jdbc/lib/classes111.zip:/usr/lib/apache/ApacheJServ.jar:/home/httpd/classes/servlet-2.0.jar:/home/jones/projects/pbi/development/xmltodb/lib/metacat.jar
3 3
export USER=jones
4
export PW=your-pw-goes-here
4
export PW=kinkaj0u
5 5
export DBC=jdbc:oracle:thin:@localhost:1521:test
6 6

  
7 7
java -cp ${CPATH} edu.ucsb.nceas.metacat.DBReader $1 $USER $PW $DBC

Also available in: Unified diff