-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.properties
203 lines (165 loc) · 9.1 KB
/
build.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
# The name of your project.
# This affects names of generated files, etc.
propel.project = clippy
# The package to use for the generated classes.
# This affects the value of the @package phpdoc tag, and it also affects
# the directory that the classes are placed in. By default this will be
# the same as the project. Note that the target package (and thus the target
# directory for generated classes) can be overridden in each `<database>` and
# `<table>` element in the XML schema.
# propel.targetPackage = {propel.project}|string
# Whether to join schemas using the same database name into a single schema.
# This allows splitting schemas in packages, and referencing tables in another
# schema (but in the same database) in a foreign key. Beware that database
# behaviors will also be joined when this parameter is set to true.
# propel.packageObjectModel = true|{false}
# If you use namespaces in your schemas, this setting tells Propel to use the
# namespace attribute for the package. Consequently, the namespace attribute
# will also stipulate the subdirectory in which model classes get generated.
# propel.namespace.autoPackage = true|{false}
# If your XML schema specifies SQL schemas for each table, you can copy the
# value of the `schema` attribute to other attributes.
# To copy the schema attribute to the package attribute, set this to true
# propel.schema.autoPackage = true|{false}
# To copy the schema attribute to the namespace attribute, set this to true
# propel.schema.autoNamespace = true|{false}
# To use the schema attribute as a prefix to all model phpNames, set this to true
# propel.schema.autoPrefix = true|{false}
# Whether to validate the XML schema using the XSD file.
# The default XSD file is located under `generator/resources/xsd/database.xsd`
# and you can use a custom XSD file by changing the `propel.schema.xsd.file`
# property.
# propel.schema.validate = {true}|false
# Whether to transform the XML schema using the XSL file.
# This was used in previous Propel versions to clean up the schema, but tended
# to hide problems in the schema. It is disabled by default since Propel 1.5.
# The default XSL file is located under `generator/resources/xsd/database.xsl`
# and you can use a custom XSL file by changing the `propel.schema.xsl.file`
# property.
# propel.schema.transform = true|{false}
# The Propel platform that will be used to determine how to build
# the SQL DDL, the PHP classes, etc.
# propel.database = pgsql|mysql|sqlite|mssql|oracle
propel.database = sqlite
# The database PDO connection settings at builtime.
# This setting is required for the sql, reverse, and datasql tasks.
# Note that some drivers (e.g. mysql, oracle) require that you specify the
# username and password separately from the DSN, which is why they are
# available as options.
# Example PDO connection strings:
# mysql:host=localhost;port=3307;dbname=testdb
# sqlite:/opt/databases/mydb.sq3
# sqlite::memory:
# pgsql:host=localhost;port=5432;dbname=testdb;user=bruce;password=mypass
# oci:dbname=//localhost:1521/mydb
# propel.database.url = {empty}|string
# propel.database.user = {empty}|string
# propel.database.password = {empty}|string
propel.database.url = sqlite:/home/jezm/sandbox/peer1/clippy/app/data/clippy.sq3
# The database PDO connection settings at builtime for reverse engineer
# or data dump. The default is to use the database connection defined by the
# `propel.database.url` property.
# propel.database.buildUrl = {propel.database.url}/string
# The database PDO connection settings at builtime for creating a database.
# The default is to use the database connection defined by the
# `propel.database.url` property.
# Propel is unable to create databases for some vendors because they do not
# provide a SQL method for creation; therefore, it is usually recommended that
# you actually create your database by hand.
# propel.database.createUrl = {propel.database.url}/string
# Optional schema name, for RDBMS supporting them.
# Propel will use this schema is provided.
# propel.database.schema = {empty}|string
# The encoding to use for the database.
# This can affect things such as transforming charsets when exporting to XML, etc.
# propel.database.encoding = {empty}|string
# Add a prefix to all the table names in the database.
# This does not affect the tables phpName.
# This setting can be overridden on a per-database basis in the schema.
# propel.tablePrefix = {empty}|string
# Whether to specify PHP names that are the same as the column names.
# propel.samePhpName = true|{false}
# Whether to add the vendor info. This is currently only used for MySQL, but
# does provide additional information (such as full-text indexes) which can
# affect the generation of the DDL from the schema.
# propel.addVendorInfo = true|{false}
# Which Propel validators to add to the generated schema,
# based on the database constraints.
# propel.addValidators = {none}|maxvalue|type|required|unique|all
# You can cherry-pick allowed validators by using a comma-separated value, e.g
# propel.addValidators = maxvalue,type,required
# Whether to add generic getter/setter methods.
# Generic accessors are `getByName()`, `getByPosition(), ` and `toArray()`.
# propel.addGenericAccessors = {true}|false
# Generic mutators are `setByName()`, `setByPosition()`, and `fromArray()`.
# propel.addGenericMutators = {true}|false
# Whether to add a timestamp to the phpdoc header of generated OM classes.
# If you use a versioning system, don't set this to true, or the classes
# will be committed too often with just a date change.
# propel.addTimeStamp = true|{false}
# Whether to add `validate()` method to your classes.
# Set to false if you don't use Propel validation.
# propel.addValidateMethod = {true}|false
# Whether to add `require` statements on the generated stub classes.
# Propel uses autoloading for OM classes, and doesn't insert require statements
# by default. If you don't want to use autoloading, set this to true.
# propel.addIncludes = true|{false}
# Whether to support pre- and post- hooks on `save()` and `delete()` methods.
# Set to false if you never use these hooks for a small speed boost.
# propel.addHooks = {true}|false
# The prefix to use for the base (super) classes that are generated.
# propel.basePrefix = {Base}|string
# Some sort of "namespacing": All Propel classes with get the Prefix
# "My_ORM_Prefix_" just like "My_ORM_Prefix_BookPeer".
# propel.classPrefix = {empty}|string
# Identifier quoting may result in undesired behavior (especially in Postgres),
# it can be disabled in DDL by setting this property to true in your build.properties file.
# propel.disableIdentifierQuoting = true|{false}
# Whether the generated `doSelectJoin*()` methods use LEFT JOIN or INNER JOIN
# (see ticket:491 and ticket:588 to understand more about why this might be
# important).
# propel.useLeftJoinsInDoJoinMethods = {true}|false
# Enable full use of the DateTime class.
# Setting this to true means that getter methods for date/time/timestamp
# columns will return a DateTime object when the default format is empty.
# propel.useDateTimeClass = {true}|false
# Specify a custom DateTime subclass that you wish to have Propel use
# for temporal values.
# propel.dateTimeClass = {DateTime}|string
# These are the default formats that will be used when fetching values from
# temporal columns in Propel. You can always specify these when calling the
# methods directly, but for methods like getByName() it is nice to change
# the defaults.
# To have these methods return DateTime objects instead, you should set these
# to empty values
# propel.defaultTimeStampFormat = {Y-m-d H:i:s}|string
# propel.defaultTimeFormat = { %X }|string
# propel.defaultDateFormat = { %x }|string
# Directory where the project files (`build.properties`, `schema.xml`,
# `runtime-conf.xml`, etc.) are located.
# If you use the `propel-gen` script, this value will get overridden by
# the path from which the script is called.
# propel.project.dir = {current_path}|string
# The directory where Propel expects to find the XML configuration files.
# propel.conf.dir = ${propel.project.dir}
# The XML configuration file names
# propel.runtime.conf.file = runtime-conf.xml
# propel.buildtime.conf.file = buildtime-conf.xml
# The directory where Propel expects to find your `schema.xml` file.
# propel.schema.dir = ${propel.project.dir}
# The schema base name
# propel.default.schema.basename = schema
# The directory where Propel should output classes, sql, config, etc.
# propel.output.dir = ${propel.project.dir}/build
propel.output.dir = ${propel.project.dir}/app
# The directory where Propel should output generated object model classes.
# propel.php.dir = ${propel.output.dir}/classes
propel.php.dir = ${propel.output.dir}/classes
# The directory where Propel should output the compiled runtime configuration.
# propel.phpconf.dir = ${propel.output.dir}/conf
propel.phpconf.dir = ${propel.output.dir}/conf
# The name of the compiled configuration and classmap files
# propel.runtime.phpconf.file = ${propel.project}-conf.php
# propel.runtime.phpconf-classmap.file = ${propel.project}-classmap.php
# The directory where Propel should output the generated DDL (or data insert statements, etc.)
# propel.sql.dir = ${propel.output.dir}/sql