Revision 3072
Added by perry about 18 years ago
docs/user/os_specific/build.properties.winxp | ||
---|---|---|
1 |
# Ant build properties files for the metacat build |
|
2 |
|
|
3 |
# Tomcat Properties |
|
4 |
tomcat=C:/tomcat5 |
|
5 |
deploy.dir=C:/tomcat5/webapps |
|
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=localhost |
|
17 |
config.port=8080 |
|
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=metacatpass |
|
46 |
datafilepath=C:/workspace/metacat-data |
|
47 |
inlinedatafilepath=C:/workspace/metacat-inline-data |
|
48 |
|
|
49 |
# CVS access to retrieve latest EML |
|
50 |
cvsroot=:ext:perry@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 |
|
|
122 | 0 |
docs/user/os_specific/build.properties.ubuntu | ||
---|---|---|
1 |
# Ant build properties files for the metacat build |
|
2 |
|
|
3 |
# Tomcat Properties |
|
4 |
tomcat=/usr/share/tomcat5 |
|
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=indus.msi.ucsb.edu |
|
17 |
config.port=80 |
|
18 |
#server=${config.hostname}:${config.port} |
|
19 |
server=${config.hostname} |
|
20 |
httpserver=${server} |
|
21 |
http.protocol=http |
|
22 |
config.metacatserver=${http.protocol}://${server}/${metacat.context}/metacat |
|
23 |
config.lsidauthority=ecoinformatics.org |
|
24 |
|
|
25 |
# Installation directory for registry CGI scripts |
|
26 |
inst.cgi.dir=/usr/lib/cgi-bin |
|
27 |
cgi-prefix=http://${server}/cgi-bin |
|
28 |
ldapUrl=ldap://ldap.ecoinformatics.org/dc=ecoinformatics,dc=org |
|
29 |
|
|
30 |
# Select the database to use for metadata storage |
|
31 |
# Valid values are oracle, postgresql, sqlserver |
|
32 |
database=postgresql |
|
33 |
|
|
34 |
# The JDBC connection string used to connect to the database |
|
35 |
#jdbc-connect=jdbc:oracle:thin:@metacat.nceas.ucsb.edu:1521:knb |
|
36 |
#jdbc-connect=jdbc:postgresql://localhost/postgres |
|
37 |
#jdbc-connect=jdbc:microsoft:sqlserver://fatali.nceas.ucsb.edu:1433 |
|
38 |
jdbc-connect=jdbc:postgresql://localhost/metacat |
|
39 |
|
|
40 |
# The base directory for locating JDBC jar files (not needed for postgresql) |
|
41 |
jdbc_base=./lib |
|
42 |
|
|
43 |
# Metacat database user and password and location of file stores |
|
44 |
user=metacat |
|
45 |
password=metacatpass |
|
46 |
datafilepath=/home/perry/data/metacat_data |
|
47 |
inlinedatafilepath=/home/perry/data/metacat_inline_data |
|
48 |
|
|
49 |
# CVS access to retrieve latest EML |
|
50 |
cvsroot=:ext:perry@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 |
## Metacat Spatial options |
|
94 |
shapelib.dir=/home/harris/development/shapelib-1.2.10/ |
|
95 |
|
|
96 |
## Additional configuration options |
|
97 |
# you probably don't want or need to change these |
|
98 |
config.metadataLabelLsid=${config.lsidauthority} |
|
99 |
build.dir=build |
|
100 |
lsid.build.dir=${build.dir}/lsid |
|
101 |
lib.dir=lib |
|
102 |
lsid.lib.dir=${lib.dir}/lsid_lib |
|
103 |
lsid.classes.dir=edu/ucsb/nceas/metacat/lsid |
|
104 |
conf.dir=lib/lsid_conf |
|
105 |
services.dir=${conf.dir}/services |
|
106 |
webinf.dir=${conf.dir}/WEB-INF |
|
107 |
|
|
108 |
compile.debug=true |
|
109 |
compile.deprecation=false |
|
110 |
compile.optimize=true |
|
111 |
|
|
112 |
# paths to be indexed when document is inserted. these are the paths which will be searched often |
|
113 |
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,title,entityName,individualName/surName,abstract/para,surName,givenName,para,geographicCoverage/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 |
|
114 |
|
|
115 |
# Flag to install ecogrid or not. Possible values are true or false |
|
116 |
install.ecogrid=true |
|
117 |
|
|
118 |
# Flag to install and enable spatial metacat options |
|
119 |
install.spatial=true |
|
120 |
|
|
121 |
# The metacat current dir's abolute value. |
|
122 |
# If you set install.ecogrid=false, this variable |
|
123 |
# does NOT need to be configured |
|
124 |
metacat.dir=/home/perry/workspace/metacat |
|
125 |
|
|
126 | 0 |
build.properties | ||
---|---|---|
112 | 112 |
# Flag to install ecogird or not. Possible values are true or false |
113 | 113 |
install.ecogrid=false |
114 | 114 |
|
115 |
# Flag to install and enable spatial metacat options |
|
116 |
install.spatial=true |
|
117 |
|
|
118 | 115 |
# The metacat current dir's abolute value. If you set install.ecogrid=false, this variable |
119 | 116 |
# do NOT need to be configured |
120 | 117 |
metacat.dir=/home/tao/project/metacat |
build.xml | ||
---|---|---|
49 | 49 |
<equals arg1="${install.ecogrid}" arg2="true" /> |
50 | 50 |
</condition> |
51 | 51 |
|
52 |
<!-- Determine if geoserver and spatial options are to be enabled --> |
|
53 |
<condition property="enable.spatial"> |
|
54 |
<equals arg1="${install.spatial}" arg2="true" /> |
|
55 |
</condition> |
|
56 |
|
|
57 | 52 |
<target name="check-db"> |
58 | 53 |
<condition property="use-oracle"> |
59 | 54 |
<equals arg1="${database}" arg2="oracle" /> |
... | ... | |
782 | 777 |
</sql> |
783 | 778 |
</target> |
784 | 779 |
|
785 |
<target name="install-spatial" depends="jar,clientjar,harvesterjar" if="enable.spatial"
|
|
780 |
<target name="install-spatial" depends="jar,clientjar,harvesterjar" |
|
786 | 781 |
description="Installs spatial option for metacat"> |
787 | 782 |
|
788 | 783 |
<property name="spatial.dir" value="./lib/spatial"/> |
Also available in: Unified diff
install.spatial no longer optional since metacat servlet requires some geotools libs. Spatial option can be still be turned off in metacat.properties