Changeset 1320
- Timestamp:
- 05/05/06 12:30:58 (3 years ago)
- Files:
-
- trunk/data/bin/build.xml (modified) (5 diffs)
- trunk/lib/vendor/propel-generator/build-propel.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/data/bin/build.xml
r1310 r1320 1 1 <project name="sf" default="main" basedir="."> 2 2 3 <property name="project.dir" value=" ${application.startdir}/config" />3 <property name="project.dir" value="config" /> 4 4 <property name="build.properties" value="${propel_ini}"/> 5 5 6 6 <target name="build-om"> 7 7 <phing dir="${propel_generator_dir}" target="om"> 8 <property name="project.dir" value=" ${application.startdir}/config" />8 <property name="project.dir" value="config" /> 9 9 <property name="project" value="${project}" /> 10 10 </phing> … … 13 13 <target name="build-sql"> 14 14 <phing dir="${propel_generator_dir}" target="sql"> 15 <property name="project.dir" value=" ${application.startdir}/config" />15 <property name="project.dir" value="config" /> 16 16 <property name="project" value="${project}" /> 17 17 </phing> … … 20 20 <target name="build-db"> 21 21 <phing dir="${propel_generator_dir}" target="create-db"> 22 <property name="project.dir" value=" ${application.startdir}/config" />22 <property name="project.dir" value="config" /> 23 23 <property name="project" value="${project}" /> 24 24 </phing> … … 27 27 <target name="insert-sql"> 28 28 <phing dir="${propel_generator_dir}" target="insert-sql"> 29 <property name="project.dir" value=" ${application.startdir}/config" />29 <property name="project.dir" value="config" /> 30 30 <property name="project" value="${project}" /> 31 31 </phing> … … 34 34 <target name="build-model-schema"> 35 35 <phing dir="${propel_generator_dir}" target="creole"> 36 <property name="project.dir" value=" ${application.startdir}/config" />36 <property name="project.dir" value="config" /> 37 37 <property name="project" value="${project}" /> 38 38 </phing> trunk/lib/vendor/propel-generator/build-propel.xml
r1310 r1320 125 125 </target> 126 126 127 <!-- temporary target to check whether postgres is being used with identifier quoting ON.128 If so, a warning is issued, since identifier quoting is only paritally implemented & this point. -->129 <target name="pgsql-quoting-check">130 <if>131 <and>132 <equals arg1="${propel.database}" arg2="pgsql"/>133 <equals arg1="${propel.disableIdentifierQuoting}" arg2=""/>134 </and>135 <then>136 <warn>ATTENTION: It appears you are using PostgreSQL and you have identifier-quoting turned on.</warn>137 <warn>It is suggested that you disable identifier quoting when using PostgreSQL -- especially if you</warn>138 <warn>have case-sensitive columns in your database.</warn>139 <warn></warn>140 <warn>To disable identifier quoting, add the following property to your build.properties (or specify</warn>141 <warn>it using -D on commandline):</warn>142 <warn></warn>143 <warn>propel.disableIdentifierQuoting=true</warn>144 <warn></warn>145 <warn>You can ignore this warning if you understand the issues related to case-sensitivity and Propel's</warn>146 <warn>DDL-only implementation of identifier quoting.</warn>147 </then>148 </if>149 </target>150 151 127 <target 152 128 name="sql" 153 depends="sql-check ,pgsql-quoting-check"129 depends="sql-check" 154 130 unless="propel.internal.sql.uptodate" 155 131 description="==> generates the SQL for your project">