Project

General

Profile

metacat / build.properties @ 3523

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 - 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
config.port.https=443
19
# Server is the domain name for replication purpose, which should be with https port
20
server=${config.hostname}:${config.port.https}
21
httpserver=${config.hostname}:${config.port}
22
http.protocol=http
23
config.metacatserver=${http.protocol}://${httpserver}/${metacat.context}/metacat
24
config.lsidauthority=ecoinformatics.org
25

    
26
# Installation directory for registry CGI scripts
27
inst.cgi.dir=/var/www/cgi-knb
28
cgi-prefix=http://${httpserver}/cgi-bin
29
ldapUrl=ldap://ldap.ecoinformatics.org/dc=ecoinformatics,dc=org
30

    
31
# Select the database to use for metadata storage
32
# Valid values are oracle, postgresql, sqlserver
33
database=postgresql
34

    
35
# The JDBC connection string used to connect to the database
36
#jdbc-connect=jdbc:oracle:thin:@metacat.nceas.ucsb.edu:1521:knb
37
#jdbc-connect=jdbc:postgresql://localhost/postgres
38
#jdbc-connect=jdbc:microsoft:sqlserver://fatali.nceas.ucsb.edu:1433
39
jdbc-connect=jdbc:postgresql://localhost/metacat
40

    
41
# The base directory for locating JDBC jar files (not needed for postgresql)
42
jdbc_base=./lib
43
#jdbc-base=F:\\Program Files\\Microsoft SQL Server 2000 Driver for JDBC\\lib
44

    
45
# Metacat database user and password and location of file stores
46
user=metacat
47
password=yourPasswordHere
48
datafilepath=/var/metacat/data
49
inlinedatafilepath=/var/metacat/inline-data
50

    
51
# CVS access to retrieve latest EML 
52
cvsroot=:ext:${env.USER}@cvs.ecoinformatics.org:/cvs
53

    
54
# Configure the installed skins, and select the default
55
default-style=default
56

    
57
# this is the url to the web context root for the knb site. 
58
# It is used for the qformat=knb skin only
59
knb-site-url=http://knb.ecoinformatics.org
60

    
61
#Turn off or on for timed replication
62
#valide value is true or false
63
timedreplication=false
64

    
65
#replication log directory
66
#log.dir=/var/log/tomcat
67
log.dir=${tomcat}/logs
68

    
69
# The time for starting first timed replication if timedreplication is on
70
# The value should be in SHORT format (e.g. 2:00 AM) without date
71
# The first timed replication will start at the setting time which is 
72
# shortest to the tomcat start time.
73
# Fox example, if the setting is 2:00 AM and tomcat was started at 8:00 AM.
74
# the first timed replication will start at 2:00 AM in the second day
75
# If the setting is 2:00 PM and tomcat was started at 8:00 AM, the first
76
# replication will start at 2:00 PM in the same day.
77
firsttimedreplication=10:00 PM
78

    
79
# The interval to next timed replication if timedreplication is on
80
# The value is in millisecond and default value is 48 hours
81
timedreplicationinterval=172800000
82

    
83
forcereplicationwaitingtime=30000
84

    
85
# Administrator accounts, in a colon separated list
86
administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
87

    
88
# Moderator accounts, in a colon seperated list
89
moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
90

    
91
# Specify the list of users which should be allowed to submit documents. 
92
# If no value is specified, all users will be allowed to submit documents.
93
allowedSubmitters=
94

    
95
# Specify the list of users which should not be allowed to submit documents. 
96
# If no value is specified, all users will be allowed to submit documents.
97
deniedSubmitters=
98

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

    
111
compile.debug=true
112
compile.deprecation=false
113
compile.optimize=true
114

    
115
# paths to be indexed when document is inserted. these are the paths which will be searched often
116
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
117

    
118
# Flag to install ecogird or not. Possible values are true or false
119
install.ecogrid=false
120

    
121
# The metacat current dir's abolute value. If you set install.ecogrid=false, this variable
122
#  do NOT need to be configured
123
metacat.dir=/home/tao/project/metacat
124