Revision 50
Added by Matt Jones over 24 years ago
Makefile | ||
---|---|---|
11 | 11 |
|
12 | 12 |
all: orasax reader query servlet |
13 | 13 |
|
14 |
orasax: |
|
14 |
orasax: util
|
|
15 | 15 |
javac -classpath "$(CPATH)" \ |
16 | 16 |
DBSAXWriter.java \ |
17 | 17 |
BasicElement.java \ |
... | ... | |
23 | 23 |
DBWriter.java \ |
24 | 24 |
DBElement.java |
25 | 25 |
|
26 |
reader: |
|
26 |
reader: util
|
|
27 | 27 |
javac -classpath "$(CPATH)" \ |
28 | 28 |
DBReader.java \ |
29 | 29 |
BasicElement.java \ |
... | ... | |
33 | 33 |
BasicElement.class \ |
34 | 34 |
/home/httpd/servlets/ |
35 | 35 |
|
36 |
query: |
|
36 |
query: util
|
|
37 | 37 |
javac -classpath "$(CPATH)" \ |
38 | 38 |
DBSimpleQuery.java |
39 | 39 |
cp DBSimpleQuery.class /home/httpd/servlets/ |
... | ... | |
42 | 42 |
javac -classpath "$(CPATH)" MetaCatServlet.java |
43 | 43 |
cp MetaCatServlet.class /home/httpd/servlets/ |
44 | 44 |
|
45 |
util: |
|
46 |
javac -classpath "$(CPATH)" \ |
|
47 |
MetaCatUtil.java |
|
48 |
cp MetaCatUtil.class /home/httpd/servlets/ |
|
49 |
|
|
45 | 50 |
test: |
46 | 51 |
java -cp $(CPATH) DBSAXWriter test.xml $(USER) $(PW) |
47 | 52 |
|
Also available in: Unified diff
changed database connection code, added utility class MetaCatUtil.java