source: pro-violet-viettel/sourcecode/api.violet.vn/www/plugins/sfPropel13Plugin/lib/vendor/propel-generator/default.properties

Last change on this file was 289, checked in by dungnv, 11 years ago
File size: 8.5 KB
Line 
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
19propel.version = 1.3.0
20
21propel.home = .
22
23propel.project =
24propel.database =
25propel.targetPackage = ${propel.project}
26propel.runOnlyOnSchemaChange = false
27
28# Default behavior settings
29#
30propel.targetPlatform = php5
31propel.packageObjectModel = false
32propel.schema.validate = true
33propel.useDateTimeClass = true
34propel.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
39propel.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
47propel.database.url =
48propel.database.buildUrl = ${propel.database.url}
49propel.database.createUrl = ${propel.database.buildUrl}
50
51propel.database.driver =
52
53propel.database.schema =
54propel.database.encoding =
55propel.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
60propel.database.user =
61propel.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
67propel.database.creole.driver =
68propel.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
76propel.samePhpName = false
77propel.addVendorInfo = false
78propel.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
86propel.addGenericAccessors = false
87propel.addGenericMutators = false
88propel.addSaveMethod = true
89propel.addTimeStamp = false
90propel.basePrefix = Base
91propel.saveException = PropelException
92propel.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.
97propel.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
104propel.defaultTimeStampFormat = Y-m-d H:i:s
105propel.defaultTimeFormat = %X
106propel.defaultDateFormat = %x
107
108propel.omtar.src.base = false
109propel.omtar.src.extension = false
110propel.omtar.bin.base = false
111propel.omtar.bin.extension = false
112propel.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
125propel.template.conf = ${propel.home}/templates/conf/Control.tpl
126propel.template.sql = ${propel.home}/templates/sql/base/Control.tpl
127propel.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
136propel.project.dir = ${propel.home}/projects/${propel.project}
137
138propel.output.dir = ${propel.project.dir}/build
139propel.schema.dir = ${propel.project.dir}
140propel.templatePath = ${propel.home}/templates
141propel.conf.dir = ${propel.project.dir}
142
143propel.doc.dir = ${propel.output.dir}/doc
144propel.php.dir = ${propel.output.dir}/classes
145propel.phpconf.dir = ${propel.output.dir}/conf
146propel.phpdoc.dir = ${propel.output.dir}/phpdoc
147propel.sql.dir = ${propel.output.dir}/sql
148propel.graph.dir = ${propel.output.dir}/graph
149propel.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
160propel.runtime.conf.file = runtime-conf.xml
161propel.runtime.phpconf.file = ${propel.project}-conf.php
162propel.runtime.phpconf-classmap.file = ${propel.project}-classmap.php
163propel.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
169propel.schema.xsd.file = ${propel.home}/resources/xsd/database.xsd
170propel.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
178propel.schema.sql.includes = *schema.xml
179propel.schema.sql.excludes =
180propel.schema.doc.includes = *schema.xml
181propel.schema.doc.excludes =
182propel.schema.create-db.includes = *schema.xml
183propel.schema.create-db.excludes =
184propel.schema.init-sql.includes = *schema.xml
185propel.schema.init-sql.excludes = id-table-schema.xml
186propel.schema.om.includes = *schema.xml
187propel.schema.om.excludes = id-table-schema.xml
188propel.schema.datadtd.includes = *schema.xml
189propel.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)
198propel.datasql.mapper.from = *.xml
199propel.datasql.mapper.to = *.sql
200
201propel.datadump.mapper.from = *schema.xml
202propel.datadump.mapper.to = *data.xml
203
204propel.datadtd.mapper.from = *.xml
205propel.datadtd.mapper.to = *.dtd
206
207propel.sql.mapper.from = *.xml
208propel.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
218propel.builder.peer.class = propel.engine.builder.om.php5.PHP5PeerBuilder
219propel.builder.object.class = propel.engine.builder.om.php5.PHP5ObjectBuilder
220propel.builder.objectstub.class = propel.engine.builder.om.php5.PHP5ExtensionObjectBuilder
221propel.builder.peerstub.class = propel.engine.builder.om.php5.PHP5ExtensionPeerBuilder
222
223propel.builder.objectmultiextend.class = propel.engine.builder.om.php5.PHP5MultiExtendObjectBuilder
224
225propel.builder.mapbuilder.class = propel.engine.builder.om.php5.PHP5MapBuilderBuilder
226
227propel.builder.interface.class = propel.engine.builder.om.php5.PHP5InterfaceBuilder
228
229propel.builder.node.class = propel.engine.builder.om.php5.PHP5NodeBuilder
230propel.builder.nodepeer.class = propel.engine.builder.om.php5.PHP5NodePeerBuilder
231propel.builder.nodestub.class = propel.engine.builder.om.php5.PHP5ExtensionNodeBuilder
232propel.builder.nodepeerstub.class = propel.engine.builder.om.php5.PHP5ExtensionNodePeerBuilder
233
234propel.builder.nestedset.class = propel.engine.builder.om.php5.PHP5NestedSetBuilder
235propel.builder.nestedsetpeer.class = propel.engine.builder.om.php5.PHP5NestedSetPeerBuilder
236
237propel.builder.pluralizer.class = propel.engine.builder.util.DefaultEnglishPluralizer
238
239# SQL builders
240
241propel.builder.ddl.class = propel.engine.builder.sql.${propel.database}.${propel.database}DDLBuilder
242propel.builder.datasql.class = propel.engine.builder.sql.${propel.database}.${propel.database}DataSQLBuilder
243
244# Platform classes
245
246propel.platform.class = propel.engine.platform.${propel.database}Platform
247
248# Schema Parser (reverse-engineering) classes
249
250propel.reverse.parser.class = propel.engine.database.reverse.${propel.database}.${propel.database}SchemaParser
Note: See TracBrowser for help on using the repository browser.