1
|
# Ant build properties files for the metacat build
|
2
|
|
3
|
# Tomcat Properties
|
4
|
tomcat=/usr/local/devtools/jakarta-tomcat
|
5
|
deploy.dir=/var/www/org.ecoinformatics.knb
|
6
|
#deploy.dir=${tomcat}/webapps
|
7
|
|
8
|
# Tomcat version - tomcat3 or tomcat4 or tomcat5
|
9
|
tomcatversion=tomcat5
|
10
|
|
11
|
# Servlet properties
|
12
|
metacat.context=knb
|
13
|
authority.context=authority
|
14
|
|
15
|
# Server Properties
|
16
|
config.hostname=knb.ecoinformatics.org
|
17
|
config.port=80
|
18
|
server=${config.hostname}:${config.port}
|
19
|
httpserver=${server}
|
20
|
http.protocol=http
|
21
|
config.metacatserver=${http.protocol}://${server}/${metacat.context}/metacat
|
22
|
config.lsidauthority=ecoinformatics.org
|
23
|
|
24
|
# Installation directory for registry CGI scripts
|
25
|
inst.cgi.dir=/var/www/cgi-knb
|
26
|
cgi-prefix=http://${server}/cgi-bin
|
27
|
ldapUrl=ldap://ldap.ecoinformatics.org/dc=ecoinformatics,dc=org
|
28
|
|
29
|
# Select the database to use for metadata storage
|
30
|
# Valid values are oracle, postgresql, sqlserver
|
31
|
database=postgresql
|
32
|
|
33
|
# The JDBC connection string used to connect to the database
|
34
|
#jdbc-connect=jdbc:oracle:thin:@metacat.nceas.ucsb.edu:1521:knb
|
35
|
#jdbc-connect=jdbc:postgresql://localhost/postgres
|
36
|
#jdbc-connect=jdbc:microsoft:sqlserver://fatali.nceas.ucsb.edu:1433
|
37
|
jdbc-connect=jdbc:postgresql://localhost/metacat
|
38
|
|
39
|
# The base directory for locating JDBC jar files (not needed for postgresql)
|
40
|
jdbc_base=./lib
|
41
|
#jdbc-base=F:\\Program Files\\Microsoft SQL Server 2000 Driver for JDBC\\lib
|
42
|
|
43
|
# Metacat database user and password and location of file stores
|
44
|
user=metacat
|
45
|
password=yourPasswordHere
|
46
|
datafilepath=/var/metacat/data
|
47
|
inlinedatafilepath=/var/metacat/inline-data
|
48
|
|
49
|
# CVS access to retrieve latest EML
|
50
|
cvsroot=:ext:${env.USER}@cvs.ecoinformatics.org:/cvs
|
51
|
|
52
|
# Configure the installed skins, and select the default
|
53
|
default-style=default
|
54
|
|
55
|
# this is the url to the web context root for the knb site.
|
56
|
# It is used for the qformat=knb skin only
|
57
|
knb-site-url=http://knb.ecoinformatics.org
|
58
|
|
59
|
#Turn off or on for timed replication
|
60
|
#valide value is on, off
|
61
|
timedreplication=off
|
62
|
|
63
|
# The time for starting first timed replication if timedreplication is on
|
64
|
# The value should be in SHORT format (e.g. 2:00 AM) without date
|
65
|
# The first timed replication will start at the setting time which is
|
66
|
# shortest to the tomcat start time.
|
67
|
# Fox example, if the setting is 2:00 AM and tomcat was started at 8:00 AM.
|
68
|
# the first timed replication will start at 2:00 AM in the second day
|
69
|
# If the setting is 2:00 PM and tomcat was started at 8:00 AM, the first
|
70
|
# replication will start at 2:00 PM in the same day.
|
71
|
firsttimedreplication=10:00 PM
|
72
|
|
73
|
# The interval to next timed replication if timedreplication is on
|
74
|
# The value is in millisecond and default value is 48 hours
|
75
|
timedreplicationinterval=172800000
|
76
|
|
77
|
forcereplicationwaitingtime=30000
|
78
|
|
79
|
# Administrator accounts, in a colon separated list
|
80
|
administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
|
81
|
|
82
|
# Moderator accounts, in a colon seperated list
|
83
|
moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
|
84
|
|
85
|
# Specify the list of users which should be allowed to submit documents.
|
86
|
# If no value is specified, all users will be allowed to submit documents.
|
87
|
allowedSubmitters=
|
88
|
|
89
|
# Specify the list of users which should not be allowed to submit documents.
|
90
|
# If no value is specified, all users will be allowed to submit documents.
|
91
|
deniedSubmitters=
|
92
|
|
93
|
## Additional configuration options
|
94
|
# you probably don't want or need to change these
|
95
|
config.metadataLabelLsid=${config.lsidauthority}
|
96
|
build.dir=build
|
97
|
lsid.build.dir=${build.dir}/lsid
|
98
|
lib.dir=lib
|
99
|
lsid.lib.dir=${lib.dir}/lsid_lib
|
100
|
lsid.classes.dir=edu/ucsb/nceas/metacat/lsid
|
101
|
conf.dir=lib/lsid_conf
|
102
|
services.dir=${conf.dir}/services
|
103
|
webinf.dir=${conf.dir}/WEB-INF
|
104
|
|
105
|
compile.debug=true
|
106
|
compile.deprecation=false
|
107
|
compile.optimize=true
|
108
|
|
109
|
# paths to be indexed when document is inserted. these are the paths which will be searched often
|
110
|
indexPaths=organizationName,originator/individualName/surName,originator/individualName/givenName,originator/organizationName,creator/individualName/surName,creator/individualName/givenName,creator/organizationName,dataset/title,keyword,geographicCoverage/boundingCoordinates/northBoundingCoordinate,geographicCoverage/boundingCoordinates/southBoundingCoordinate,geographicCoverage/boundingCoordinates/westBoundingCoordinate,geographicCoverage/boundingCoordinates/eastBoundingCoordinate,eastBoundingCoordinate,title,entityName,individualName/surName,abstract/para,surName,givenName,para,geographicDescription,literalLayout,eastbc,northbc,westbc,southbc,dataset/access/allow/principal,entityName,taxonRankValue,dataset/dataTable/physical/distribution/online/url,dataset/spatialRaster/physical/distribution/online/url,@packageId,/reviewHistory/review/packageId,EcogridRegEntry/description,EcogridRegEntry/serviceName,EcogridRegEntry/endPoint,associatedParty/individualName/surName,associatedParty/organizationName,coverage/temporalCoverage/singleDateTime/alternativeTimeScale/timeScaleName,coverage/temporalCoverage/rangeOfDates/beginDate/alternativeTimeScale/timeScaleName,coverage/temporalCoverage/rangeOfDates/endDate/alternativeTimeScale/timeScaleName
|
111
|
|
112
|
# Flag to install ecogird or not. Possible values are true or false
|
113
|
install.ecogrid=false
|
114
|
|
115
|
# Flag to install and enable spatial metacat options
|
116
|
install.spatial=true
|
117
|
|
118
|
# The metacat current dir's abolute value. If you set install.ecogrid=false, this variable
|
119
|
# do NOT need to be configured
|
120
|
metacat.dir=/home/tao/project/metacat
|
121
|
|