1 | # ------------------------------------------------------------------- |
---|
2 | # |
---|
3 | # D E F A U L T P R O P E R T I E S |
---|
4 | # |
---|
5 | # ------------------------------------------------------------------- |
---|
6 | # This file sets default properties. You can override any of these |
---|
7 | # by specifying your new value in the build.properties file for your |
---|
8 | # project or a top-level build.properties file. Either way, you |
---|
9 | # should not need to edit this file. |
---|
10 | # ------------------------------------------------------------------- |
---|
11 | |
---|
12 | |
---|
13 | # ------------------------------------------------------------------- |
---|
14 | # |
---|
15 | # B A S I C P R O P E R T I E S |
---|
16 | # |
---|
17 | # ------------------------------------------------------------------- |
---|
18 | |
---|
19 | propel.version = 1.3.0 |
---|
20 | |
---|
21 | propel.home = . |
---|
22 | |
---|
23 | propel.project = |
---|
24 | propel.database = |
---|
25 | propel.targetPackage = ${propel.project} |
---|
26 | propel.runOnlyOnSchemaChange = false |
---|
27 | |
---|
28 | # Default behavior settings |
---|
29 | # |
---|
30 | propel.targetPlatform = php5 |
---|
31 | propel.packageObjectModel = false |
---|
32 | propel.schema.validate = true |
---|
33 | propel.useDateTimeClass = true |
---|
34 | propel.dateTimeClass = DateTime |
---|
35 | |
---|
36 | # controls what type of joins will be used in the doSelectJoin*() peer methods, |
---|
37 | # if set to true, LEFT JOINS will be used, INNER JOINS otherwise |
---|
38 | # see ticket #491, #588 |
---|
39 | propel.useLeftJoinsInDoJoinMethods = true |
---|
40 | |
---|
41 | # ------------------------------------------------------------------- |
---|
42 | # |
---|
43 | # D A T A B A S E S E T T I N G S |
---|
44 | # |
---|
45 | # ------------------------------------------------------------------- |
---|
46 | |
---|
47 | propel.database.url = |
---|
48 | propel.database.buildUrl = ${propel.database.url} |
---|
49 | propel.database.createUrl = ${propel.database.buildUrl} |
---|
50 | |
---|
51 | propel.database.driver = |
---|
52 | |
---|
53 | propel.database.schema = |
---|
54 | propel.database.encoding = |
---|
55 | propel.database.manualCreation = false |
---|
56 | |
---|
57 | # if these arent blank then when we try to connect with insert-sql to a database |
---|
58 | # that doesnt require them and it isnt in the build.properties it sends |
---|
59 | # the ${blah} for the username and password |
---|
60 | propel.database.user = |
---|
61 | propel.database.password = |
---|
62 | |
---|
63 | # Creole database settings for reverse engineering applications |
---|
64 | # ------------------------------------------------------------- |
---|
65 | |
---|
66 | # by default leave the databaseDriver blank, so that bundled driver is used by Creole |
---|
67 | propel.database.creole.driver = |
---|
68 | propel.database.creole.url = |
---|
69 | |
---|
70 | # ------------------------------------------------------------------- |
---|
71 | # |
---|
72 | # C R E O L E TO X M L S E T T I N G S |
---|
73 | # |
---|
74 | # ------------------------------------------------------------------- |
---|
75 | |
---|
76 | propel.samePhpName = false |
---|
77 | propel.addVendorInfo = false |
---|
78 | propel.addValidators = none |
---|
79 | |
---|
80 | # ------------------------------------------------------------------- |
---|
81 | # |
---|
82 | # T E M P L A T E V A R I A B L E S |
---|
83 | # |
---|
84 | # ------------------------------------------------------------------- |
---|
85 | |
---|
86 | propel.addGenericAccessors = false |
---|
87 | propel.addGenericMutators = false |
---|
88 | propel.addSaveMethod = true |
---|
89 | propel.addTimeStamp = false |
---|
90 | propel.basePrefix = Base |
---|
91 | propel.saveException = PropelException |
---|
92 | propel.emulateForeignKeyConstraints = false |
---|
93 | |
---|
94 | # Identifier quoting is only implemented at the DDL layer at this point. |
---|
95 | # Since this may result in undesired behavior (especially in Postgres), |
---|
96 | # it can be disabled by setting this property to true in your build.properties file. |
---|
97 | propel.disableIdentifierQuoting = false |
---|
98 | |
---|
99 | # These are the default formats that will be used when fetching values |
---|
100 | # from temporal columns in Propel. You can always specify these when |
---|
101 | # calling the methods directly, but for methods like getByName() |
---|
102 | # it is nice to change the defaults. |
---|
103 | |
---|
104 | propel.defaultTimeStampFormat = Y-m-d H:i:s |
---|
105 | propel.defaultTimeFormat = %X |
---|
106 | propel.defaultDateFormat = %x |
---|
107 | |
---|
108 | propel.omtar.src.base = false |
---|
109 | propel.omtar.src.extension = false |
---|
110 | propel.omtar.bin.base = false |
---|
111 | propel.omtar.bin.extension = false |
---|
112 | propel.omtar.deleteFiles = false |
---|
113 | |
---|
114 | |
---|
115 | # ------------------------------------------------------------------- |
---|
116 | # |
---|
117 | # C O N T R O L T E M P L A T E S |
---|
118 | # |
---|
119 | # ------------------------------------------------------------------- |
---|
120 | # |
---|
121 | # This is a deprecated idea, that will almost certainly be completely |
---|
122 | # removed in Propel 1.2 and/or 2.0. |
---|
123 | # |
---|
124 | |
---|
125 | propel.template.conf = ${propel.home}/templates/conf/Control.tpl |
---|
126 | propel.template.sql = ${propel.home}/templates/sql/base/Control.tpl |
---|
127 | propel.template.sqlDbInit = ${propel.home}/templates/sql/db-init/Control.tpl |
---|
128 | |
---|
129 | |
---|
130 | # ------------------------------------------------------------------- |
---|
131 | # |
---|
132 | # D I R E C T O R I E S |
---|
133 | # |
---|
134 | # ------------------------------------------------------------------- |
---|
135 | |
---|
136 | propel.project.dir = ${propel.home}/projects/${propel.project} |
---|
137 | |
---|
138 | propel.output.dir = ${propel.project.dir}/build |
---|
139 | propel.schema.dir = ${propel.project.dir} |
---|
140 | propel.templatePath = ${propel.home}/templates |
---|
141 | propel.conf.dir = ${propel.project.dir} |
---|
142 | |
---|
143 | propel.doc.dir = ${propel.output.dir}/doc |
---|
144 | propel.php.dir = ${propel.output.dir}/classes |
---|
145 | propel.phpconf.dir = ${propel.output.dir}/conf |
---|
146 | propel.phpdoc.dir = ${propel.output.dir}/phpdoc |
---|
147 | propel.sql.dir = ${propel.output.dir}/sql |
---|
148 | propel.graph.dir = ${propel.output.dir}/graph |
---|
149 | propel.omtar.dir = ${propel.output.dir} |
---|
150 | |
---|
151 | |
---|
152 | # ------------------------------------------------------------------- |
---|
153 | # |
---|
154 | # D E F A U L T F I L E N A M ES |
---|
155 | # |
---|
156 | # ------------------------------------------------------------------- |
---|
157 | |
---|
158 | # propel.sqlfile |
---|
159 | |
---|
160 | propel.runtime.conf.file = runtime-conf.xml |
---|
161 | propel.runtime.phpconf.file = ${propel.project}-conf.php |
---|
162 | propel.runtime.phpconf-classmap.file = ${propel.project}-classmap.php |
---|
163 | propel.default.schema.basename = schema |
---|
164 | |
---|
165 | # Can't use because of inconsistencies in where the files |
---|
166 | # are named (some from build-propel.xml, but some from within templates) |
---|
167 | # propel.default.data.basename = ${propel.project}-data |
---|
168 | |
---|
169 | propel.schema.xsd.file = ${propel.home}/resources/xsd/database.xsd |
---|
170 | propel.schema.xsl.file = ${propel.home}/resources/xsl/database.xsl |
---|
171 | |
---|
172 | # ------------------------------------------------------------------- |
---|
173 | # |
---|
174 | # 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 |
---|
175 | # |
---|
176 | # ------------------------------------------------------------------- |
---|
177 | |
---|
178 | propel.schema.sql.includes = *schema.xml |
---|
179 | propel.schema.sql.excludes = |
---|
180 | propel.schema.doc.includes = *schema.xml |
---|
181 | propel.schema.doc.excludes = |
---|
182 | propel.schema.create-db.includes = *schema.xml |
---|
183 | propel.schema.create-db.excludes = |
---|
184 | propel.schema.init-sql.includes = *schema.xml |
---|
185 | propel.schema.init-sql.excludes = id-table-schema.xml |
---|
186 | propel.schema.om.includes = *schema.xml |
---|
187 | propel.schema.om.excludes = id-table-schema.xml |
---|
188 | propel.schema.datadtd.includes = *schema.xml |
---|
189 | propel.schema.datadtd.excludes = id-table-schema.xml |
---|
190 | |
---|
191 | # ------------------------------------------------------------------- |
---|
192 | # |
---|
193 | # M A P P E R S E T T I N G S |
---|
194 | # |
---|
195 | # ------------------------------------------------------------------- |
---|
196 | |
---|
197 | # (note: data xml files are selected based on datadbmap file) |
---|
198 | propel.datasql.mapper.from = *.xml |
---|
199 | propel.datasql.mapper.to = *.sql |
---|
200 | |
---|
201 | propel.datadump.mapper.from = *schema.xml |
---|
202 | propel.datadump.mapper.to = *data.xml |
---|
203 | |
---|
204 | propel.datadtd.mapper.from = *.xml |
---|
205 | propel.datadtd.mapper.to = *.dtd |
---|
206 | |
---|
207 | propel.sql.mapper.from = *.xml |
---|
208 | propel.sql.mapper.to = *.sql |
---|
209 | |
---|
210 | |
---|
211 | # ------------------------------------------------------------------- |
---|
212 | # |
---|
213 | # B U I L D E R S E T T I N G S |
---|
214 | # |
---|
215 | # ------------------------------------------------------------------- |
---|
216 | |
---|
217 | # Object Model builders |
---|
218 | propel.builder.peer.class = propel.engine.builder.om.php5.PHP5PeerBuilder |
---|
219 | propel.builder.object.class = propel.engine.builder.om.php5.PHP5ObjectBuilder |
---|
220 | propel.builder.objectstub.class = propel.engine.builder.om.php5.PHP5ExtensionObjectBuilder |
---|
221 | propel.builder.peerstub.class = propel.engine.builder.om.php5.PHP5ExtensionPeerBuilder |
---|
222 | |
---|
223 | propel.builder.objectmultiextend.class = propel.engine.builder.om.php5.PHP5MultiExtendObjectBuilder |
---|
224 | |
---|
225 | propel.builder.mapbuilder.class = propel.engine.builder.om.php5.PHP5MapBuilderBuilder |
---|
226 | |
---|
227 | propel.builder.interface.class = propel.engine.builder.om.php5.PHP5InterfaceBuilder |
---|
228 | |
---|
229 | propel.builder.node.class = propel.engine.builder.om.php5.PHP5NodeBuilder |
---|
230 | propel.builder.nodepeer.class = propel.engine.builder.om.php5.PHP5NodePeerBuilder |
---|
231 | propel.builder.nodestub.class = propel.engine.builder.om.php5.PHP5ExtensionNodeBuilder |
---|
232 | propel.builder.nodepeerstub.class = propel.engine.builder.om.php5.PHP5ExtensionNodePeerBuilder |
---|
233 | |
---|
234 | propel.builder.nestedset.class = propel.engine.builder.om.php5.PHP5NestedSetBuilder |
---|
235 | propel.builder.nestedsetpeer.class = propel.engine.builder.om.php5.PHP5NestedSetPeerBuilder |
---|
236 | |
---|
237 | propel.builder.pluralizer.class = propel.engine.builder.util.DefaultEnglishPluralizer |
---|
238 | |
---|
239 | # SQL builders |
---|
240 | |
---|
241 | propel.builder.ddl.class = propel.engine.builder.sql.${propel.database}.${propel.database}DDLBuilder |
---|
242 | propel.builder.datasql.class = propel.engine.builder.sql.${propel.database}.${propel.database}DataSQLBuilder |
---|
243 | |
---|
244 | # Platform classes |
---|
245 | |
---|
246 | propel.platform.class = propel.engine.platform.${propel.database}Platform |
---|
247 | |
---|
248 | # Schema Parser (reverse-engineering) classes |
---|
249 | |
---|
250 | propel.reverse.parser.class = propel.engine.database.reverse.${propel.database}.${propel.database}SchemaParser |
---|