Revision 4080
Added by daigle over 16 years ago
build.properties | ||
---|---|---|
1 | 1 |
# Ant build properties files for the metacat build |
2 | 2 |
|
3 |
# Tomcat Properties |
|
4 |
tomcat=/usr/local/devtools/jakarta-tomcat |
|
5 |
deploy.dir=/var/www/org.ecoinformatics.knb |
|
6 |
#deploy.dir=${tomcat}/webapps |
|
3 |
#Version of this build |
|
4 |
metacat.version=1.9.0 |
|
7 | 5 |
|
8 |
# Tomcat version - tomcat4 or tomcat5 |
|
9 |
tomcatversion=tomcat5 |
|
6 |
# Tomcat dev deployment directory |
|
7 |
# dev.tomcat.dir=/usr/local/tomcat |
|
8 |
dev.deploy.dir=/usr/local/devtools/jakarta-tomcat |
|
10 | 9 |
|
11 |
# Servlet properties |
|
10 |
|
|
11 |
## metacat.context will be used to name war only |
|
12 | 12 |
metacat.context=knb |
13 | 13 |
authority.context=authority |
14 | 14 |
|
15 | 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 | 16 |
http.protocol=http |
23 |
config.metacatserver=${http.protocol}://${httpserver}/${metacat.context}/metacat |
|
24 | 17 |
config.lsidauthority=ecoinformatics.org |
25 | 18 |
|
26 | 19 |
# Installation directory for registry CGI scripts |
27 | 20 |
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 | 21 |
|
31 | 22 |
# Select the database to use for metadata storage |
32 | 23 |
# Valid values are oracle, postgresql, sqlserver |
24 |
# MCD the next line needs to go away |
|
33 | 25 |
database=postgresql |
34 | 26 |
|
35 | 27 |
# The JDBC connection string used to connect to the database |
36 | 28 |
#jdbc-connect=jdbc:oracle:thin:@metacat.nceas.ucsb.edu:1521:knb |
37 | 29 |
#jdbc-connect=jdbc:postgresql://localhost/postgres |
38 | 30 |
#jdbc-connect=jdbc:microsoft:sqlserver://fatali.nceas.ucsb.edu:1433 |
39 |
jdbc-connect=jdbc:postgresql://localhost/metacat |
|
40 | 31 |
|
41 | 32 |
# The base directory for locating JDBC jar files (not needed for postgresql) |
42 | 33 |
jdbc_base=./lib |
43 | 34 |
#jdbc-base=F:\\Program Files\\Microsoft SQL Server 2000 Driver for JDBC\\lib |
44 | 35 |
|
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 |
|
36 |
# TODO SCW remove this, should be exposed in initial configuration |
|
37 |
temp-dir=/var/metacat/temporary |
|
50 | 38 |
|
39 |
# Registry & LDAP properties |
|
40 |
# This section can safely be ignored if installing Metacat without the Perl components |
|
41 |
# LDAP configuration |
|
42 |
ldap.context=unaffiliated |
|
43 |
ldap.url=ldap.ecoinformatics.org |
|
44 |
ldap.password=LDAP_PASSWORD_HERE |
|
45 |
|
|
46 |
# Installation directory for registry CGI scripts |
|
47 |
# SCW: these should be detokenized |
|
48 |
inst.cgi.dir=${deploy.dir}/${metacat.context}/cgi-bin |
|
49 |
cgi-prefix=http://${httpserver}/${metacat.context}/cgi-bin |
|
50 |
|
|
51 |
# SCW: Set the cgi-user, either here or in scripts to properly |
|
52 |
# set the permissions on the temporary folder; cgi-writable files |
|
53 |
cgi-user=www-data |
|
54 |
|
|
51 | 55 |
# CVS access to retrieve latest EML |
52 | 56 |
cvsroot=:ext:${env.USER}@cvs.ecoinformatics.org:/cvs |
53 | 57 |
|
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 | 58 |
#Turn off or on for timed replication |
62 | 59 |
#valide value is true or false |
63 | 60 |
timedreplication=false |
64 | 61 |
|
65 |
#replication log directory |
|
66 |
#log.dir=/var/log/tomcat |
|
67 |
log.dir=${tomcat}/logs |
|
68 |
|
|
69 | 62 |
# The time for starting first timed replication if timedreplication is on |
70 | 63 |
# The value should be in SHORT format (e.g. 2:00 AM) without date |
71 | 64 |
# The first timed replication will start at the setting time which is |
... | ... | |
82 | 75 |
|
83 | 76 |
forcereplicationwaitingtime=30000 |
84 | 77 |
|
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 | 78 |
## Additional configuration options |
100 | 79 |
# you probably don't want or need to change these |
101 | 80 |
config.metadataLabelLsid=${config.lsidauthority} |
... | ... | |
120 | 99 |
|
121 | 100 |
# The metacat current dir's abolute value. If you set install.ecogrid=false, this variable |
122 | 101 |
# do NOT need to be configured |
123 |
metacat.dir=/home/tao/project/metacat
|
|
102 |
metacat.dir=/home/daigle/workspace/metacat
|
|
124 | 103 |
|
Also available in: Unified diff
Merge 1.9 changes into Head