/
default.properties
267 lines (210 loc) · 9.23 KB
/
default.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
# -------------------------------------------------------------------
#
# D E F A U L T P R O P E R T I E S
#
# -------------------------------------------------------------------
# This file sets default properties. You can override any of these
# by specifying your new value in the build.properties file for your
# project or a top-level build.properties file. Either way, you
# should not need to edit this file.
# -------------------------------------------------------------------
# -------------------------------------------------------------------
#
# B A S I C P R O P E R T I E S
#
# -------------------------------------------------------------------
propel.version = 1.5.3-dev
propel.home = .
propel.project =
propel.database =
propel.targetPackage = ${propel.project}
propel.runOnlyOnSchemaChange = false
# Default behavior settings
#
propel.targetPlatform = php5
propel.packageObjectModel = false
propel.useDateTimeClass = true
propel.dateTimeClass = DateTime
propel.schema.validate = true
propel.schema.transform = false
# controls what type of joins will be used in the doSelectJoin*() peer methods,
# if set to true, LEFT JOINS will be used, INNER JOINS otherwise
# see ticket #491, #588
propel.useLeftJoinsInDoJoinMethods = true
# -------------------------------------------------------------------
#
# D A T A B A S E S E T T I N G S
#
# -------------------------------------------------------------------
propel.database.url =
propel.database.buildUrl = ${propel.database.url}
propel.database.createUrl = ${propel.database.buildUrl}
propel.database.driver =
propel.database.schema =
propel.database.encoding =
propel.database.manualCreation = false
# if these arent blank then when we try to connect with insert-sql to a database
# that doesnt require them and it isnt in the build.properties it sends
# the ${blah} for the username and password
propel.database.user =
propel.database.password =
# -------------------------------------------------------------------
#
# D A T A B A S E T O X M L S E T T I N G S
#
# -------------------------------------------------------------------
propel.samePhpName = false
propel.addVendorInfo = false
propel.addValidators = none
# -------------------------------------------------------------------
#
# T E M P L A T E V A R I A B L E S
#
# -------------------------------------------------------------------
propel.addGenericAccessors = true
propel.addGenericMutators = true
propel.addSaveMethod = true
propel.addTimeStamp = false
propel.addValidateMethod = true
propel.addIncludes = false
propel.addHooks = true
propel.basePrefix = Base
propel.saveException = PropelException
propel.emulateForeignKeyConstraints = false
# Identifier quoting is only implemented at the DDL layer at this point.
# Since this may result in undesired behavior (especially in Postgres),
# it can be disabled by setting this property to true in your build.properties file.
propel.disableIdentifierQuoting = false
# These are the default formats that will be used when fetching values
# from temporal columns in Propel. You can always specify these when
# calling the methods directly, but for methods like getByName()
# it is nice to change the defaults.
propel.defaultTimeStampFormat = Y-m-d H:i:s
propel.defaultTimeFormat = %X
propel.defaultDateFormat = %x
propel.namespace.om = om
propel.namespace.map = map
propel.namespace.autoPackage = false
propel.omtar.src.base = false
propel.omtar.src.extension = false
propel.omtar.bin.base = false
propel.omtar.bin.extension = false
propel.omtar.deleteFiles = false
# -------------------------------------------------------------------
#
# D I R E C T O R I E S
#
# -------------------------------------------------------------------
propel.project.dir = ${propel.home}/projects/${propel.project}
propel.output.dir = ${propel.project.dir}/build
propel.schema.dir = ${propel.project.dir}
propel.templatePath = ${propel.home}/templates
propel.conf.dir = ${propel.project.dir}
propel.doc.dir = ${propel.output.dir}/doc
propel.php.dir = ${propel.output.dir}/classes
propel.phpconf.dir = ${propel.output.dir}/conf
propel.phpdoc.dir = ${propel.output.dir}/phpdoc
propel.sql.dir = ${propel.output.dir}/sql
propel.graph.dir = ${propel.output.dir}/graph
propel.omtar.dir = ${propel.output.dir}
# -------------------------------------------------------------------
#
# D E F A U L T F I L E N A M ES
#
# -------------------------------------------------------------------
# propel.sqlfile
propel.runtime.conf.file = runtime-conf.xml
propel.runtime.phpconf.file = ${propel.project}-conf.php
propel.runtime.phpconf-classmap.file = ${propel.project}-classmap.php
propel.default.schema.basename = schema
# Can't use because of inconsistencies in where the files
# are named (some from build-propel.xml, but some from within templates)
# propel.default.data.basename = ${propel.project}-data
propel.schema.xsd.file = ${propel.home}/resources/xsd/database.xsd
propel.schema.xsl.file = ${propel.home}/resources/xsl/database.xsl
# -------------------------------------------------------------------
#
# I N C L U D E A N D E X C L U D E S E T T I N G S
#
# -------------------------------------------------------------------
propel.schema.sql.includes = *schema.xml
propel.schema.sql.excludes =
propel.schema.doc.includes = *schema.xml
propel.schema.doc.excludes =
propel.schema.create-db.includes = *schema.xml
propel.schema.create-db.excludes =
propel.schema.init-sql.includes = *schema.xml
propel.schema.init-sql.excludes = id-table-schema.xml
propel.schema.om.includes = *schema.xml
propel.schema.om.excludes = id-table-schema.xml
propel.schema.datadtd.includes = *schema.xml
propel.schema.datadtd.excludes = id-table-schema.xml
# -------------------------------------------------------------------
#
# M A P P E R S E T T I N G S
#
# -------------------------------------------------------------------
# (note: data xml files are selected based on datadbmap file)
propel.datasql.mapper.from = *.xml
propel.datasql.mapper.to = *.sql
propel.datadump.mapper.from = *schema.xml
propel.datadump.mapper.to = *data.xml
propel.datadtd.mapper.from = *.xml
propel.datadtd.mapper.to = *.dtd
propel.sql.mapper.from = *.xml
propel.sql.mapper.to = *.sql
# -------------------------------------------------------------------
#
# B U I L D E R S E T T I N G S
#
# -------------------------------------------------------------------
# Object Model builders
propel.builder.peer.class = builder.om.PHP5PeerBuilder
propel.builder.object.class = builder.om.PHP5ObjectBuilder
propel.builder.objectstub.class = builder.om.PHP5ExtensionObjectBuilder
propel.builder.peerstub.class = builder.om.PHP5ExtensionPeerBuilder
propel.builder.objectmultiextend.class = builder.om.PHP5MultiExtendObjectBuilder
propel.builder.tablemap.class = builder.om.PHP5TableMapBuilder
propel.builder.query.class = builder.om.QueryBuilder
propel.builder.querystub.class = builder.om.ExtensionQueryBuilder
propel.builder.queryinheritance.class = builder.om.QueryInheritanceBuilder
propel.builder.queryinheritancestub.class = builder.om.ExtensionQueryInheritanceBuilder
propel.builder.interface.class = builder.om.PHP5InterfaceBuilder
propel.builder.node.class = builder.om.PHP5NodeBuilder
propel.builder.nodepeer.class = builder.om.PHP5NodePeerBuilder
propel.builder.nodestub.class = builder.om.PHP5ExtensionNodeBuilder
propel.builder.nodepeerstub.class = builder.om.PHP5ExtensionNodePeerBuilder
propel.builder.nestedset.class = builder.om.PHP5NestedSetBuilder
propel.builder.nestedsetpeer.class = builder.om.PHP5NestedSetPeerBuilder
propel.builder.pluralizer.class = builder.util.DefaultEnglishPluralizer
# SQL builders
propel.builder.ddl.class = builder.sql.${propel.database}.${propel.database}DDLBuilder
propel.builder.datasql.class = builder.sql.${propel.database}.${propel.database}DataSQLBuilder
# Platform classes
propel.platform.class = platform.${propel.database}Platform
# Schema Parser (reverse-engineering) classes
propel.reverse.parser.class = reverse.${propel.database}.${propel.database}SchemaParser
# -------------------------------------------------------------------
#
# M Y S Q L S P E C I F I C S E T T I N G S
#
# -------------------------------------------------------------------
# Default table type
propel.mysql.tableType = MyISAM
# Keyword used to specify table type. MYSQL < 5 should use TYPE instead
propel.mysql.tableEngineKeyword = ENGINE
# -------------------------------------------------------------------
#
# B E H A V I O R S E T T I N G S
#
# -------------------------------------------------------------------
propel.behavior.timestampable.class = behavior.TimestampableBehavior
propel.behavior.alternative_coding_standards.class = behavior.AlternativeCodingStandardsBehavior
propel.behavior.soft_delete.class = behavior.SoftDeleteBehavior
propel.behavior.auto_add_pk.class = behavior.AutoAddPkBehavior
propel.behavior.nested_set.class = behavior.nestedset.NestedSetBehavior
propel.behavior.sortable.class = behavior.sortable.SortableBehavior
propel.behavior.sluggable.class = behavior.sluggable.SluggableBehavior
propel.behavior.concrete_inheritance.class = behavior.concrete_inheritance.ConcreteInheritanceBehavior
propel.behavior.query_cache.class = behavior.query_cache.QueryCacheBehavior
propel.behavior.aggregate_column.class = behavior.aggregate_column.AggregateColumnBehavior