source: branches/1.2/generator/default.properties @ 535

Revision 535, 7.4 KB checked in by heltem, 4 years ago (diff)

Set svn:keywords property uniformly to .php, .xml and .properties files

  • Property svn:keywords set to Id Rev Date Author HeadURL Revision
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.home = .
20
21propel.project =
22propel.database =
23propel.targetPackage = ${propel.project}
24propel.runOnlyOnSchemaChange = false
25propel.targetPlatform = php5
26
27propel.packageObjectModel = false
28
29propel.schema.validate = true
30
31# -------------------------------------------------------------------
32#
33#  D A T A B A S E   S E T T I N G S
34#
35# -------------------------------------------------------------------
36
37propel.database.url =
38propel.database.buildUrl = ${propel.database.url}
39propel.database.createUrl = ${propel.database.buildUrl}
40
41# by default leave the databaseDriver blank, so that bundled driver is used by Creole
42propel.database.driver =
43
44propel.database.schema =
45propel.database.encoding =
46propel.database.manualCreation = false
47
48# -------------------------------------------------------------------
49#
50#  C R E O L E  TO  X M L  S E T T I N G S
51#
52# -------------------------------------------------------------------
53
54propel.samePhpName = false
55propel.addVendorInfo = true
56propel.addValidators = none
57
58# -------------------------------------------------------------------
59#
60#  T E M P L A T E   V A R I A B L E S
61#
62# -------------------------------------------------------------------
63
64propel.addGenericAccessors = false
65propel.addGenericMutators = false
66propel.addSaveMethod = true
67propel.addTimeStamp = true
68propel.basePrefix = Base
69propel.complexObjectModel = true
70propel.saveException = PropelException
71propel.emulateForeignKeyConstraints = false
72
73# Identifier quoting is only implemented at the DDL layer at this point.
74# Since this may result in undesired behavior (especially in Postgres),
75# it can be disabled by setting this property to true in your build.properties file.
76propel.disableIdentifierQuoting = false
77
78# These are the default formats that will be used when fetching values
79# from temporal columns in Propel.  You can always specify these when
80# calling the methods directly, but for methods like getByName()
81# it is nice to change the defaults.
82
83propel.defaultTimeStampFormat = Y-m-d H:i:s
84propel.defaultTimeFormat = %X
85propel.defaultDateFormat = %x
86
87propel.omtar.src.base = false
88propel.omtar.src.extension = false
89propel.omtar.bin.base = false
90propel.omtar.bin.extension = false
91propel.omtar.deleteFiles = false
92
93
94# -------------------------------------------------------------------
95#
96#  C O N T R O L   T E M P L A T E S
97#
98# -------------------------------------------------------------------
99#
100# This is a deprecated idea, that will almost certainly be completely
101# removed in Propel 1.2 and/or 2.0.
102#
103
104propel.template.conf = ${propel.home}/templates/conf/Control.tpl
105propel.template.sql = ${propel.home}/templates/sql/base/Control.tpl
106propel.template.sqlDbInit = ${propel.home}/templates/sql/db-init/Control.tpl
107
108
109# -------------------------------------------------------------------
110#
111#  D I R E C T O R I E S
112#
113# -------------------------------------------------------------------
114
115propel.project.dir = ${propel.home}/projects/${propel.project}
116
117propel.output.dir = ${propel.project.dir}/build
118propel.schema.dir = ${propel.project.dir}
119propel.templatePath = ${propel.home}/templates
120propel.conf.dir = ${propel.project.dir}
121
122propel.doc.dir = ${propel.output.dir}/doc
123propel.php.dir = ${propel.output.dir}/classes
124propel.phpconf.dir = ${propel.output.dir}/conf
125propel.phpdoc.dir = ${propel.output.dir}/phpdoc
126propel.sql.dir = ${propel.output.dir}/sql
127propel.graph.dir = ${propel.output.dir}/graph
128propel.omtar.dir = ${propel.output.dir}
129
130
131# -------------------------------------------------------------------
132#
133#  D E F A U L T   F I L E   N A M ES
134#
135# -------------------------------------------------------------------
136
137# propel.sqlfile
138
139propel.runtime.conf.file = runtime-conf.xml
140propel.runtime.phpconf.file = ${propel.project}-conf.php
141propel.default.schema.basename = schema
142
143# Can't use because of inconsistencies in where the files
144# are named (some from build-propel.xml, but some from within templates)
145# propel.default.data.basename = ${propel.project}-data
146
147propel.schema.xsd.file = ${propel.home}/resources/xsd/database.xsd
148propel.schema.xsl.file = ${propel.home}/resources/xsl/database.xsl
149
150# -------------------------------------------------------------------
151#
152#  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
153#
154# -------------------------------------------------------------------
155
156propel.schema.sql.includes = *schema.xml
157propel.schema.sql.excludes =
158propel.schema.doc.includes = *schema.xml
159propel.schema.doc.excludes =
160propel.schema.create-db.includes = *schema.xml
161propel.schema.create-db.excludes =
162propel.schema.init-sql.includes = *schema.xml
163propel.schema.init-sql.excludes = id-table-schema.xml
164propel.schema.om.includes = *schema.xml
165propel.schema.om.excludes = id-table-schema.xml
166propel.schema.datadtd.includes = *schema.xml
167propel.schema.datadtd.excludes = id-table-schema.xml
168
169# -------------------------------------------------------------------
170#
171#  M A P P E R   S E T T I N G S
172#
173# -------------------------------------------------------------------
174
175# (note: data xml files are selected based on datadbmap file)
176propel.datasql.mapper.from = *.xml
177propel.datasql.mapper.to = *.sql
178
179propel.datadump.mapper.from = *schema.xml
180propel.datadump.mapper.to = *data.xml
181
182propel.datadtd.mapper.from = *.xml
183propel.datadtd.mapper.to = *.dtd
184
185propel.sql.mapper.from = *.xml
186propel.sql.mapper.to = *.sql
187
188
189# -------------------------------------------------------------------
190#
191#  B U I L D E R    S E T T I N G S
192#
193# -------------------------------------------------------------------
194
195# Object Model builders
196propel.builder.peer.class = propel.engine.builder.om.php5.PHP5ComplexPeerBuilder
197propel.builder.object.class = propel.engine.builder.om.php5.PHP5ComplexObjectBuilder
198propel.builder.objectstub.class = propel.engine.builder.om.php5.PHP5ExtensionObjectBuilder
199propel.builder.peerstub.class = propel.engine.builder.om.php5.PHP5ExtensionPeerBuilder
200
201propel.builder.objectmultiextend.class = propel.engine.builder.om.php5.PHP5MultiExtendObjectBuilder
202
203propel.builder.mapbuilder.class = propel.engine.builder.om.php5.PHP5MapBuilderBuilder
204
205propel.builder.interface.class = propel.engine.builder.om.php5.PHP5InterfaceBuilder
206
207propel.builder.node.class = propel.engine.builder.om.php5.PHP5NodeBuilder
208propel.builder.nodepeer.class = propel.engine.builder.om.php5.PHP5NodePeerBuilder
209propel.builder.nodestub.class = propel.engine.builder.om.php5.PHP5ExtensionNodeBuilder
210propel.builder.nodepeerstub.class = propel.engine.builder.om.php5.PHP5ExtensionNodePeerBuilder
211
212# SQL builders
213
214propel.builder.ddl.class = propel.engine.builder.sql.${propel.database}.${propel.database}DDLBuilder
215propel.builder.datasql.class = propel.engine.builder.sql.${propel.database}.${propel.database}DataSQLBuilder
216
217# Platform classes
218
219propel.platform.class = propel.engine.platform.${propel.database}Platform
Note: See TracBrowser for help on using the repository browser.