Project

General

Profile

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
		DBSAXHandler.java
13
		
14
sundom:
15
	javac -classpath "$(CPATH)" \
16
		DBWriter.java \
17
		DBElement.java
18
		
19
test:
20
	java -cp $(CPATH) DBSAXWriter test.xml jones kinkaj0u
21

    
22
test1:
23
	java -cp $(CPATH) DBSAXWriter test.xml jones kinkaj0u \
24
		jdbc:oracle:thin:@24.237.22.245:1521:test
25

    
26
test2:
27
	java -cp $(CPATH) DBSAXWriter test.xml jones kinkaj0u \
28
		jdbc:oracle:thin:@localhost:1521:test
29

    
30
clean:
31
	-rm -f *.class Log
(7-7/9)