root/branches/criteria2-experiment/generator/default.properties

Revision 513, 7.3 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.criteriaClass = Criteria
70 propel.complexObjectModel = true
71 propel.saveException = PropelException
72 propel.emulateForeignKeyConstraints = false
73
74 # Identifier quoting is only implemented at the DDL layer at this point.
75 # Since this may result in undesired behavior (especially in Postgres),
76 # it can be disabled by setting this property to true in your build.properties file.
77 propel.disableIdentifierQuoting = false
78
79 # These are the default formats that will be used when fetching values
80 # from temporal columns in Propel.  You can always specify these when
81 # calling the methods directly, but for methods like getByName()
82 # it is nice to change the defaults.
83
84 propel.defaultTimeStampFormat = Y-m-d H:i:s
85 propel.defaultTimeFormat = %X
86 propel.defaultDateFormat = %x
87
88 propel.omtar.src.base = false
89 propel.omtar.src.extension = false
90 propel.omtar.bin.base = false
91 propel.omtar.bin.extension = false
92 propel.omtar.deleteFiles = false
93
94
95 # -------------------------------------------------------------------
96 #
97 #  C O N T R O L   T E M P L A T E S
98 #
99 # -------------------------------------------------------------------
100 #
101 # This is a deprecated idea, that will almost certainly be completely
102 # removed in Propel 1.2 and/or 2.0.
103 #
104
105 propel.template.conf = ${propel.home}/templates/conf/Control.tpl
106 propel.template.sql = ${propel.home}/templates/sql/base/Control.tpl
107 propel.template.sqlDbInit = ${propel.home}/templates/sql/db-init/Control.tpl
108
109
110 # -------------------------------------------------------------------
111 #
112 #  D I R E C T O R I E S
113 #
114 # -------------------------------------------------------------------
115
116 propel.project.dir = ${propel.home}/projects/${propel.project}
117
118 propel.output.dir = ${propel.project.dir}/build
119 propel.schema.dir = ${propel.project.dir}
120 propel.templatePath = ${propel.home}/templates
121 propel.conf.dir = ${propel.project.dir}
122
123 propel.doc.dir = ${propel.output.dir}/doc
124 propel.php.dir = ${propel.output.dir}/classes
125 propel.phpconf.dir = ${propel.output.dir}/conf
126 propel.phpdoc.dir = ${propel.output.dir}/phpdoc
127 propel.sql.dir = ${propel.output.dir}/sql
128 propel.graph.dir = ${propel.output.dir}/graph
129 propel.omtar.dir = ${propel.output.dir}
130
131
132 # -------------------------------------------------------------------
133 #
134 #  D E F A U L T   F I L E   N A M ES
135 #
136 # -------------------------------------------------------------------
137
138 # propel.sqlfile
139
140 propel.default.schema.basename = schema
141
142 # Can't use because of inconsistencies in where the files
143 # are named (some from build-propel.xml, but some from within templates)
144 # propel.default.data.basename = ${propel.project}-data
145
146 propel.schema.xsd.file = ${propel.home}/resources/xsd/database.xsd
147 propel.schema.xsl.file = ${propel.home}/resources/xsl/database.xsl
148
149 # -------------------------------------------------------------------
150 #
151 #  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
152 #
153 # -------------------------------------------------------------------
154
155 propel.runtime.conf.includes = *-conf.*
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.