root/branches/1.2/generator/default.properties

Revision 535, 7.4 kB (checked in by heltem, 2 years ago)

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
19 propel.home = .
20
21 propel.project =
22 propel.database =
23 propel.targetPackage = ${propel.project}
24 propel.runOnlyOnSchemaChange = false
25 propel.targetPlatform = php5
26
27 propel.packageObjectModel = false
28
29 propel.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
37 propel.database.url =
38 propel.database.buildUrl = ${propel.database.url}
39 propel.database.createUrl = ${propel.database.buildUrl}
40
41 # by default leave the databaseDriver blank, so that bundled driver is used by Creole
42 propel.database.driver =
43
44 propel.database.schema =
45 propel.database.encoding =
46 propel.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
54 propel.samePhpName = false
55 propel.addVendorInfo = true
56 propel.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
64 propel.addGenericAccessors = false
65 propel.addGenericMutators = false
66 propel.addSaveMethod = true
67 propel.addTimeStamp = true
68 propel.basePrefix = Base
69 propel.complexObjectModel = true
70 propel.saveException = PropelException
71 propel.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.
76 propel.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
83 propel.defaultTimeStampFormat = Y-m-d H:i:s
84 propel.defaultTimeFormat = %X
85 propel.defaultDateFormat = %x
86
87 propel.omtar.src.base = false
88 propel.omtar.src.extension = false
89 propel.omtar.bin.base = false
90 propel.omtar.bin.extension = false
91 propel.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
104 propel.template.conf = ${propel.home}/templates/conf/Control.tpl
105 propel.template.sql = ${propel.home}/templates/sql/base/Control.tpl
106 propel.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
115 propel.project.dir = ${propel.home}/projects/${propel.project}
116
117 propel.output.dir = ${propel.project.dir}/build
118 propel.schema.dir = ${propel.project.dir}
119 propel.templatePath = ${propel.home}/templates
120 propel.conf.dir = ${propel.project.dir}
121
122 propel.doc.dir = ${propel.output.dir}/doc
123 propel.php.dir = ${propel.output.dir}/classes
124 propel.phpconf.dir = ${propel.output.dir}/conf
125 propel.phpdoc.dir = ${propel.output.dir}/phpdoc
126 propel.sql.dir = ${propel.output.dir}/sql
127 propel.graph.dir = ${propel.output.dir}/graph
128 propel.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
139 propel.runtime.conf.file = runtime-conf.xml
140 propel.runtime.phpconf.file = ${propel.project}-conf.php
141 propel.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
147 propel.schema.xsd.file = ${propel.home}/resources/xsd/database.xsd
148 propel.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
156 propel.schema.sql.includes = *schema.xml
157 propel.schema.sql.excludes =
158 propel.schema.doc.includes = *schema.xml
159 propel.schema.doc.excludes =
160 propel.schema.create-db.includes = *schema.xml
161 propel.schema.create-db.excludes =
162 propel.schema.init-sql.includes = *schema.xml
163 propel.schema.init-sql.excludes = id-table-schema.xml
164 propel.schema.om.includes = *schema.xml
165 propel.schema.om.excludes = id-table-schema.xml
166 propel.schema.datadtd.includes = *schema.xml
167 propel.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)
176 propel.datasql.mapper.from = *.xml
177 propel.datasql.mapper.to = *.sql
178
179 propel.datadump.mapper.from = *schema.xml
180 propel.datadump.mapper.to = *data.xml
181
182 propel.datadtd.mapper.from = *.xml
183 propel.datadtd.mapper.to = *.dtd
184
185 propel.sql.mapper.from = *.xml
186 propel.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
196 propel.builder.peer.class = propel.engine.builder.om.php5.PHP5ComplexPeerBuilder
197 propel.builder.object.class = propel.engine.builder.om.php5.PHP5ComplexObjectBuilder
198 propel.builder.objectstub.class = propel.engine.builder.om.php5.PHP5ExtensionObjectBuilder
199 propel.builder.peerstub.class = propel.engine.builder.om.php5.PHP5ExtensionPeerBuilder
200
201 propel.builder.objectmultiextend.class = propel.engine.builder.om.php5.PHP5MultiExtendObjectBuilder
202
203 propel.builder.mapbuilder.class = propel.engine.builder.om.php5.PHP5MapBuilderBuilder
204
205 propel.builder.interface.class = propel.engine.builder.om.php5.PHP5InterfaceBuilder
206
207 propel.builder.node.class = propel.engine.builder.om.php5.PHP5NodeBuilder
208 propel.builder.nodepeer.class = propel.engine.builder.om.php5.PHP5NodePeerBuilder
209 propel.builder.nodestub.class = propel.engine.builder.om.php5.PHP5ExtensionNodeBuilder
210 propel.builder.nodepeerstub.class = propel.engine.builder.om.php5.PHP5ExtensionNodePeerBuilder
211
212 # SQL builders
213
214 propel.builder.ddl.class = propel.engine.builder.sql.${propel.database}.${propel.database}DDLBuilder
215 propel.builder.datasql.class = propel.engine.builder.sql.${propel.database}.${propel.database}DataSQLBuilder
216
217 # Platform classes
218
219 propel.platform.class = propel.engine.platform.${propel.database}Platform
Note: See TracBrowser for help on using the browser.