Project

General

Profile

« Previous | Next » 

Revision 67

Added by Matt Jones over 24 years ago

modified make to add xml validation code

View differences:

Makefile
1 1
# For Win32, make 'SEP' be a semicolon
2 2
SEP=:
3 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)/usr/lib/apache/ApacheJServ.jar$(SEP)/home/httpd/classes/servlet-2.0.jar$(SEP)./classes
4
CPATH=/home/httpd/servlets/xsql/lib/xmlparserv2.jar$(SEP)$(ORACLE_HOME)/jdbc/lib/classes111.zip$(SEP)/usr/lib/apache/ApacheJServ.jar$(SEP)/home/httpd/classes/servlet-2.0.jar$(SEP)./classes$(SEP)catalog.jar
5 5

  
6 6
USER=jones
7 7
PW=your-pw-goes-here
......
10 10

  
11 11
default: all
12 12

  
13
all: orasax reader query servlet
13
all: orasax reader query servlet xvalid
14 14

  
15
xvalid:
16
	$(JAVAC) -classpath "$(CPATH)" \
17
		XMLValidate.java \
18
		GenericXMLValidate.java
19

  
15 20
orasax: util
16 21
	$(JAVAC) -classpath "$(CPATH)" \
17 22
		DBSAXWriter.java \
......
65 70
	java -cp $(CPATH) edu.ucsb.nceas.metacat.DBSimpleQuery \
66 71
		lakename $(USER) $(PW) 
67 72

  
73
xvtest:
74
	java -cp $(CPATH) XMLValidate \
75
		test.xml
76

  
68 77
javadoc:
69 78
	javadoc -classpath $(CPATH) -d docs \
70 79
		-sourcepath ./classes edu.ucsb.nceas.metacat

Also available in: Unified diff