Revision 27
Added by Matt Jones over 24 years ago
Makefile | ||
---|---|---|
5 | 5 |
|
6 | 6 |
USER=jones |
7 | 7 |
|
8 |
PW=provide-your-password-here
|
|
8 |
PW=your-pw-goes-here
|
|
9 | 9 |
|
10 |
default: reader
|
|
10 |
default: all
|
|
11 | 11 |
|
12 |
all: orasax reader |
|
12 |
all: orasax reader query
|
|
13 | 13 |
|
14 | 14 |
orasax: |
15 | 15 |
javac -classpath "$(CPATH)" \ |
... | ... | |
29 | 29 |
BasicElement.java \ |
30 | 30 |
ReaderElement.java |
31 | 31 |
|
32 |
query: |
|
33 |
javac -classpath "$(CPATH)" \ |
|
34 |
DBSimpleQuery.java |
|
35 |
|
|
32 | 36 |
test: |
33 | 37 |
java -cp $(CPATH) DBSAXWriter test.xml $(USER) $(PW) |
34 | 38 |
|
... | ... | |
42 | 46 |
rdtest1: |
43 | 47 |
java -cp $(CPATH) DBReader 31 $(USER) $(PW) |
44 | 48 |
|
49 |
qtest: |
|
50 |
java -cp $(CPATH) DBSimpleQuery \'Value1\' $(USER) $(PW) |
|
51 |
|
|
45 | 52 |
clean: |
46 | 53 |
-rm -f *.class Log |
Also available in: Unified diff
added DBSimpleQuery.java to illustrate a simple query strategy over the XML set in the database