root/branches/1.1/generator/default.properties

Revision 3, 4.8 kB (checked in by hans, 4 years ago)

Added exported CVS repository.

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 # -------------------------------------------------------------------
28 #
29 #  D A T A B A S E   S E T T I N G S
30 #
31 # -------------------------------------------------------------------
32
33 propel.database.url =
34 propel.database.buildUrl = ${propel.database.url}
35 propel.database.createUrl = ${propel.database.buildUrl}
36
37 # by default leave the databaseDriver blank, so that bundled driver is used by Creole
38 propel.database.driver =
39
40 propel.database.schema =
41 propel.database.encoding =
42 propel.database.manualCreation = false
43
44 propel.samePhpName = false
45
46 # -------------------------------------------------------------------
47 #
48 #  T E M P L A T E   V A R I A B L E S
49 #
50 # -------------------------------------------------------------------
51
52 propel.addGenericAccessors = false
53 propel.addGenericMutators = false
54 propel.addSaveMethod = true
55 propel.addTimeStamp = true
56 propel.basePrefix = Base
57 propel.complexObjectModel = true
58 propel.saveException = PropelException
59
60 propel.omtar.src.base = false
61 propel.omtar.src.extension = false
62 propel.omtar.bin.base = false
63 propel.omtar.bin.extension = false
64 propel.omtar.deleteFiles = false
65
66
67 # -------------------------------------------------------------------
68 #
69 #  C O N T R O L   T E M P L A T E S
70 #
71 # -------------------------------------------------------------------
72 #
73 # This is a deprecated idea, that will almost certainly be completely
74 # removed in Propel 1.2 and/or 2.0.
75 #
76
77 propel.template.conf = conf/Control.tpl
78 propel.template.sql = sql/base/Control.tpl
79 propel.template.sqlDbInit = sql/db-init/Control.tpl
80
81 # -------------------------------------------------------------------
82 #
83 #  D I R E C T O R I E S
84 #
85 # -------------------------------------------------------------------
86
87 propel.output.dir = ${propel.home}/projects/${propel.project}/build
88 propel.schema.dir = ${propel.home}/projects/${propel.project}
89 propel.templatePath = ${propel.home}/templates
90 propel.conf.dir = ${propel.home}/projects/${propel.project}
91
92 propel.doc.dir = ${propel.output.dir}/doc
93 propel.php.dir = ${propel.output.dir}/classes
94 propel.phpconf.dir = ${propel.output.dir}/conf
95 propel.phpdoc.dir = ${propel.output.dir}/phpdoc
96 propel.sql.dir = ${propel.output.dir}/sql
97 propel.graph.dir = ${propel.output.dir}/graph
98 propel.omtar.dir = ${propel.output.dir}
99
100
101 # -------------------------------------------------------------------
102 #
103 #  D E F A U L T   F I L E   N A M ES
104 #
105 # -------------------------------------------------------------------
106
107 # propel.sqlfile
108
109 propel.runtime.conf.file = runtime-conf.xml
110 propel.runtime.phpconf.file = ${propel.project}-conf.php
111 propel.default.schema.basename = schema
112
113 # Can't use because of inconsistencies in where the files
114 # are named (some from build-propel.xml, but some from within templates)
115 # propel.default.data.basename = ${propel.project}-data
116
117
118 # -------------------------------------------------------------------
119 #
120 #  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
121 #
122 # -------------------------------------------------------------------
123
124 propel.schema.sql.includes = *schema.xml
125 propel.schema.sql.excludes =
126 propel.schema.doc.includes = *schema.xml
127 propel.schema.doc.excludes =
128 propel.schema.create-db.includes = *schema.xml
129 propel.schema.create-db.excludes =
130 propel.schema.init-sql.includes = *schema.xml
131 propel.schema.init-sql.excludes = id-table-schema.xml
132 propel.schema.om.includes = *schema.xml
133 propel.schema.om.excludes = id-table-schema.xml
134 propel.schema.datadtd.includes = *schema.xml
135 propel.schema.datadtd.excludes = id-table-schema.xml
136
137 # -------------------------------------------------------------------
138 #
139 #  M A P P E R   S E T T I N G S
140 #
141 # -------------------------------------------------------------------
142
143 # (note: data xml files are selected based on datadbmap file)
144 propel.datasql.mapper.from = *.xml
145 propel.datasql.mapper.to = *.sql
146
147 propel.datadump.mapper.from = *schema.xml
148 propel.datadump.mapper.to = *data.xml
149
150 propel.datadtd.mapper.from = *.xml
151 propel.datadtd.mapper.to = *.dtd
152
153 propel.sql.mapper.from = *.xml
154 propel.sql.mapper.to = *.sql
155
156
157
Note: See TracBrowser for help on using the browser.