Project

General

Profile

« Previous | Next » 

Revision 2737

Added by Matt Jones over 18 years ago

Initial checkin of LSID support code for metacat. The LSID support here
provides access to metacat documents through an LSID identifier. The
identifier takes the form:
urn:lsid:ecoinformatics.org:jones:1:1

See http://lsid.sourceforge.net for more details.

LSID build support has been added to build.properties and build.xml but
still needs work on integrating it with the main metacat build. Build
and deploy the "authority" servlet by setting properties in
build.properties and then running "ant deploy-lsid".

Still to do: finish integrating with build, add ability to insert,
update, and delete documents using LSID id, allow read using LSID ID,
convert xslts to optionally display and link the LSID ID, and add
support for hosting multiple LSID authorities (Foreign Authority
Notification is the likely approach).

View differences:

build.properties
1
# Trying to create an Ant build properties files
1
# Ant build properties files for the metacat build
2 2

  
3 3
# Tomcat Properties
4 4
tomcat=/usr/local/devtools/jakarta-tomcat
5
deploy.dir=/var/www/org.ecoinformatics.knb
6
#deploy.dir=${tomcat}/webapps
7

  
5 8
# Tomcat version - tomcat3 or tomcat4 or tomcat5
6 9
tomcatversion=tomcat5
7
webapps=/var/www/org.ecoinformatics.knb
8
context=knb
9 10

  
11
# Servlet properties
12
metacat.context=knb
13
authority.context=authority
14

  
10 15
# Server Properties
11
# this server should be with ssl port if it is tomcat stand-alone
12
server=knb.ecoinformatics.org
13
# this server should be with http plaint port if it is tomcat stand-alone
14
httpserver=knb.ecoinformatics.org
16
config.hostname=knb.ecoinformatics.org
17
config.port=80
18
server=${config.hostname}
19
httpserver=${server}
20
config.metacatserver=http://${server}/${metacat.context}/metacat
21
config.lsidauthority=ecoinformatics.org
15 22

  
16 23
# Installation directory for registry CGI scripts
17 24
inst.cgi.dir=/var/www/cgi-knb
18
cgi-prefix=http://knb.ecoinformatics.org/cgi-bin
25
cgi-prefix=http://${server}/cgi-bin
19 26
ldapUrl=ldap://ldap.ecoinformatics.org/dc=ecoinformatics,dc=org
20 27

  
21 28
# Select the database to use for metadata storage
22 29
# Valid values are oracle, postgresql, sqlserver
23
database=oracle
30
database=postgresql
24 31

  
25 32
# The JDBC connection string used to connect to the database
26
jdbc-connect=jdbc:oracle:thin:@metacat.nceas.ucsb.edu:1521:knb
33
#jdbc-connect=jdbc:oracle:thin:@metacat.nceas.ucsb.edu:1521:knb
27 34
#jdbc-connect=jdbc:postgresql://localhost/postgres
28 35
#jdbc-connect=jdbc:microsoft:sqlserver://fatali.nceas.ucsb.edu:1433
36
jdbc-connect=jdbc:postgresql://localhost/metacat
29 37

  
30 38
# The base directory for locating JDBC jar files (not needed for postgresql)
31
jdbc_base=/usr/oracle/jdbc/lib
39
jdbc_base=./lib
32 40
#jdbc-base=F:\\Program Files\\Microsoft SQL Server 2000 Driver for JDBC\\lib
33 41

  
34 42
# Metacat database user and password and location of file stores
......
41 49
cvsroot=:ext:${env.USER}@cvs.ecoinformatics.org:/cvs
42 50

  
43 51
# Configure the installed skins, and select the default
44
default-style=knb
52
default-style=default
45 53

  
46 54
# this is the url to the web context root for the knb site. 
47 55
# It is used for the qformat=knb skin only
......
83 91

  
84 92
## Metacat Spatial options
85 93
shapelib.dir=/home/harris/development/shapelib-1.2.10/
94

  
95
## Additional configuration options
96
# you probably don't want or need to change these
97
config.metadataLabelLsid=${config.lsidauthority}
98
build.dir=build
99
lsid.build.dir=${build.dir}/lsid
100
lib.dir=lib
101
lsid.lib.dir=${lib.dir}/lsid_lib
102
lsid.classes.dir=edu/ucsb/nceas/metacat/lsid
103
conf.dir=lib/lsid_conf
104
services.dir=${conf.dir}/services
105
webinf.dir=${conf.dir}/WEB-INF
106

  
107
compile.debug=true
108
compile.deprecation=false
109
compile.optimize=true

Also available in: Unified diff