-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.properties
131 lines (112 loc) · 4.59 KB
/
build.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
host=127.0.0.1
#cspace
release.version=4.1
cspace.release=${release.version}-SNAPSHOT
cspace.services.release=cspace-services-${cspace.release}
domain.cspace=cspace-services
cspace.services.context=${domain.cspace}
cspace.services.war=${cspace.services.context}.war
domain.nuxeo=nuxeo-server
#nuxeo
nuxeo.release=5.5-HF07
nuxeo.ear=nuxeo.ear
nuxeo.system=bundles
## #old# nuxeo.plugins=${nuxeo.ear}/plugins
nuxeo.plugins=plugins
## #old#
nuxeo.templates=templates
## #old# distribution
dist=dist
dist.cspace=${dist}/cspace
dist.nuxeo=${dist}/nuxeo
dist.installer=${dist}/installer
dist.installer.services=${dist.installer}/services
## #old# dist cspace domain
dist.domain.cspace=${domain.cspace}
dist.server.cspace=${dist.cspace}/server/${jee.domain.cspace}
dist.deploy.cspace=${dist.server.cspace}/deploy
dist.lib.cspace=${dist.server.cspace}/lib
## #old# dist nuxeo domain
dist.domain.nuxeo=${domain.nuxeo}
dist.server.nuxeo=${dist.nuxeo}/server/${jee.domain.nuxeo}
dist.deploy.nuxeo=${dist.server.nuxeo}/deploy
dist.lib.nuxeo=${dist.server.nuxeo}/lib
dist.deploy.nuxeo.system=${dist.deploy.nuxeo}/${nuxeo.system}
dist.deploy.nuxeo.plugins=${dist.deploy.nuxeo}/${nuxeo.plugins}
#JEE Application Server
jee.release=apache-tomcat-6.0.33
jee.dir=${env.CSPACE_JEESERVER_HOME}
jee.home=${jee.dir}
jee.bin=${jee.home}/bin
#JEE Application Server cspace domain
jee.domain.cspace=${domain.cspace}
jee.domain.cspace.port=8180
jee.server.cspace=${jee.home}
jee.deploy.cspace=${jee.server.cspace}/webapps
jee.lib.cspace=${jee.server.cspace}/lib
jee.deploy.cspace.services=${jee.deploy.cspace}/${cspace.services.war}
#JEE Application Server nuxeo domain
jee.domain.nuxeo=${domain.nuxeo}
##old# #jee.domain.nuxeo.port=8080
jee.server.nuxeo=${jee.home}/${jee.domain.nuxeo}
jee.deploy.nuxeo=${jee.server.nuxeo}
jee.lib.nuxeo=${jee.server.nuxeo}/lib
jee.deploy.nuxeo.system=${jee.deploy.nuxeo}/${nuxeo.system}
jee.deploy.nuxeo.plugins=${jee.deploy.nuxeo}/${nuxeo.plugins}
# Apache Tomcat specific variables
catalina.engine=Catalina
catalina.hostname=localhost
catalina.base=${jee.dir}
catalina.context.cspace=${jee.dir}/conf/${catalina.engine}/${catalina.hostname}/${cspace.services.context}.xml
#nuxeo database templates directory
##old# nuxeo.templates.dir=${jboss.home}/${nuxeo.templates}
#nuxeo main config file
nuxeo.main.config.file=${jee.bin}/nuxeo.conf
#nuxeo database templates directory
nuxeo.templates.dir=${jee.home}/${nuxeo.templates}
db.base.dir=${jee.server.cspace}/cspace/services/db
#database - select one or the other (not both!), and then uncomment the
# appropriate section below the common settings
#db=mysql|postgresql
# db=mysql
db=postgresql
#For mysql, uncomment this, and comment out postgres section
# db.port=3306
# db.driver.jar=${db.base.dir}/jdbc_drivers/mysql-connector-java-5.1.7.jar
# db.jdbc.driver.class=com.mysql.jdbc.Driver
# db.dialect=org.hibernate.dialect.MySQLDialect
# db.typemapping=mySQL
# db.exceptionsorter=org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
# db.spring.acl.classIdentityQuery=SELECT @@IDENTITY
# db.spring.acl.sidIdentityQuery=SELECT @@IDENTITY
# db.xaDataSource=com.mysql.jdbc.jdbc2.optional.MysqlXADataSource
#For postgresql, uncomment this, and comment out mysql section
db.port=5432
db.driver.jar=${db.base.dir}/jdbc_drivers/postgresql-9.1-901.jdbc4.jar
db.jdbc.driver.class=org.postgresql.Driver
db.dialect=org.hibernate.dialect.PostgreSQLDialect
db.typemapping=PostgreSQL 8.0
# Should be org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLExceptionSorter
# but current JBoss does not seem to include it...
db.exceptionsorter=
db.spring.acl.classIdentityQuery=select currval(pg_get_serial_sequence('acl_class', 'id'))
db.spring.acl.sidIdentityQuery=select currval(pg_get_serial_sequence('acl_sid', 'id'))
db.xaDataSource=org.postgresql.xa.PGXADataSource
#Hibernate properties for Ant and Maven plugins
hibernate.dialect=${db.dialect}
#database common settings
db.script.dir=${jee.server.cspace}/cspace/services/db/${db}
db.user=${env.DB_USER}
db.user.password=${env.DB_PASSWORD}
db.nuxeo.user=nuxeo
db.nuxeo.user.password=${env.DB_PASSWORD_NUXEO}
db.cspace.user=cspace
db.cspace.user.password=${env.DB_PASSWORD_CSPACE}
db.host=localhost
db.jdbc.baseurl=jdbc:${db}://${db.host}:${db.port}
#
# JDBC URL's. The csadmin URL is needed to authenticate with the PostGreSQL server because an existing database must be supplied during authentication.
#
db.jdbc.csadmin.url=${db.jdbc.baseurl}/postgres
db.jdbc.nuxeo.url=${db.jdbc.baseurl}/nuxeo
db.jdbc.cspace.url=${db.jdbc.baseurl}/cspace