Project

General

Profile

« Previous | Next » 

Revision 74

Added by Matt Jones over 24 years ago

Fixed package bugs in new Entity and comment handling code, updated Makefile

View differences:

DBSAXDocument.java
8 8
 *     Version: '$Id$'
9 9
 */
10 10

  
11
//package edu.ucsb.nceas.metacat;
11
package edu.ucsb.nceas.metacat;
12 12

  
13 13
import java.sql.*;
14 14
import java.io.IOException;
src/edu/ucsb/nceas/metacat/DBDTDHandler.java
9 9
 *     Version: '$Id$'
10 10
 */
11 11

  
12
//package edu.ucsb.nceas.metacat;
12
package edu.ucsb.nceas.metacat;
13 13

  
14 14
import org.xml.sax.*;
15 15

  
src/edu/ucsb/nceas/metacat/BasicNode.java
8 8
 *     Version: '$Id$'
9 9
 */
10 10

  
11
//package edu.ucsb.nceas.metacat;
11
package edu.ucsb.nceas.metacat;
12 12

  
13 13
import java.io.IOException;
14 14
import java.util.Hashtable;
src/edu/ucsb/nceas/metacat/BasicElement.java
8 8
 *     Version: '$Id$'
9 9
 */
10 10

  
11
//package edu.ucsb.nceas.metacat;
11
package edu.ucsb.nceas.metacat;
12 12

  
13 13
import java.io.IOException;
14 14
import java.util.Hashtable;
DBSAXElement.java
8 8
 *     Version: '$Id$'
9 9
 */
10 10

  
11
//package edu.ucsb.nceas.metacat;
11
package edu.ucsb.nceas.metacat;
12 12

  
13 13
import java.sql.*;
14 14
import java.io.IOException;
BasicElement.java
8 8
 *     Version: '$Id$'
9 9
 */
10 10

  
11
//package edu.ucsb.nceas.metacat;
11
package edu.ucsb.nceas.metacat;
12 12

  
13 13
import java.io.IOException;
14 14
import java.util.Hashtable;
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$(SEP)catalog.jar
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$(SEP)./classes
5 5

  
6 6
USER=jones
7 7
PW=your-pw-goes-here
......
22 22
		DBSAXWriter.java \
23 23
		BasicElement.java \
24 24
		DBSAXElement.java \
25
		DBSAXHandler.java
25
		DBSAXHandler.java \
26
		DBEntityResolver.java \
27
		DBDTDHandler.java \
28
		DBSAXDocument.java
26 29
		
27 30
sundom:
28 31
	$(JAVAC) -classpath "$(CPATH)" \
......
39 42
	$(JAVAC) -classpath "$(CPATH)" \
40 43
		DBSimpleQuery.java
41 44

  
42
servlet: query reader
45
servlet: query reader xvalid
43 46
	$(JAVAC) -classpath "$(CPATH)" MetaCatServlet.java
44
	cp -r classes/edu /home/httpd/servlets/
47
	#cp -r classes/edu /home/httpd/servlets/
45 48

  
46 49
util: 
47 50
	$(JAVAC) -classpath "$(CPATH)" \
......
79 82
		-sourcepath ./classes edu.ucsb.nceas.metacat
80 83

  
81 84
clean:
82
	-rm -f *.class Log classes/edu/ucsb/nceas/metacat/*.class
85
	-rm -f *.class Log classes/edu/ucsb/nceas/metacat/*.class classes/*.class
DBSAXWriter.java
9 9
 *     Version: '$Id$'
10 10
 */
11 11

  
12
//package edu.ucsb.nceas.metacat;
12
package edu.ucsb.nceas.metacat;
13 13

  
14 14
import org.xml.sax.*;
15 15

  
DBSAXHandler.java
9 9
 *     Version: '$Id$'
10 10
 */
11 11

  
12
//package edu.ucsb.nceas.metacat;
12
package edu.ucsb.nceas.metacat;
13 13

  
14 14
import org.xml.sax.*;
15 15

  
DBEntityResolver.java
9 9
 *     Version: '$Id$'
10 10
 */
11 11

  
12
//package edu.ucsb.nceas.metacat;
12
package edu.ucsb.nceas.metacat;
13 13

  
14 14
import org.xml.sax.*;
15 15

  
DBDTDHandler.java
9 9
 *     Version: '$Id$'
10 10
 */
11 11

  
12
//package edu.ucsb.nceas.metacat;
12
package edu.ucsb.nceas.metacat;
13 13

  
14 14
import org.xml.sax.*;
15 15

  

Also available in: Unified diff