1
|
# For Win32, make 'SEP' be a semicolon
|
2
|
SEP=:
|
3
|
#CPATH=../../xml.jar$(SEP)$(JAVA_HOME)/lib/classes.zip
|
4
|
CPATH=/home/httpd/servlets/xsql/lib/xmlparserv2.jar$(SEP)$(ORACLE_HOME)/jdbc/lib/classes111.zip$(SEP).
|
5
|
|
6
|
default: orasax
|
7
|
|
8
|
orasax:
|
9
|
javac -classpath "$(CPATH)" \
|
10
|
DBSAXWriter.java \
|
11
|
DBSAXElement.java
|
12
|
|
13
|
sundom:
|
14
|
javac -classpath "$(CPATH)" \
|
15
|
DBWriter.java \
|
16
|
DBElement.java
|
17
|
|
18
|
test:
|
19
|
java -cp $(CPATH) DBSAXWriter test.xml jones kinkaj0u
|
20
|
|
21
|
test1:
|
22
|
java -cp $(CPATH) DBSAXWriter test.xml jones kinkaj0u \
|
23
|
jdbc:oracle:thin:@24.237.22.245:1521:test
|
24
|
|
25
|
test2:
|
26
|
java -cp $(CPATH) DBSAXWriter test.xml jones kinkaj0u \
|
27
|
jdbc:oracle:thin:@localhost:1521:test
|
28
|
|
29
|
clean:
|
30
|
-rm -f *.class Log
|