dlr         02/04/10 14:54:44

  Modified:    src/conf build-torque.xml
  Log:
  Parameterized ${idTableXMLFile} for use by the <project-sql> task.
  This obviated the need for the "project-sql-no-idtable" target (which,
  incidently, was already identical to the "project-sql" target -- it
  differed only in the deprecated build.xml copy of this file).
  
  Revision  Changes    Path
  1.21      +2 -35     jakarta-turbine-torque/src/conf/build-torque.xml
  
  Index: build-torque.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/conf/build-torque.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -u -r1.20 -r1.21
  --- build-torque.xml  14 Mar 2002 20:06:44 -0000      1.20
  +++ build-torque.xml  10 Apr 2002 21:54:43 -0000      1.21
  @@ -4,6 +4,7 @@
     <property name="build.properties" value="build.properties"/>
     <property file="${build.properties}"/>
     <property name="lib.dir" value="lib"/>
  +  <property name="idTableXMLFile" value=""/>
   
     <!-- Build classpath -->
     <path id="torque-classpath">
  @@ -71,45 +72,11 @@
         sqldbmap="${torque.home}/${outputDirectory}/sql/sqldb.map"
         outputFile="report.${project}.sql.generation"
         targetDatabase="${database}">
  +      idTableXMLFile="${idTableXMLFile}"
         <fileset dir="${torque.home}/${schemaDirectory}">
           <include name="*-schema.xml"/>
         </fileset>
       </torque-sql>
  -  </target>
  -
  -  <!-- Same as the project-sql target except that it does
  -       not generate the id-table -->
  -  <target
  -    name="project-sql-no-idtable"
  -    description="==> generates the SQL for your project">
  -
  -    <echo message="+------------------------------------------+"/>
  -    <echo message="|                                          |"/>
  -    <echo message="| Generating SQL for YOUR Turbine project! |"/>
  -    <echo message="| Woo hoo!                                 |"/>
  -    <echo message="|                                          |"/>
  -    <echo message="+------------------------------------------+"/>
  -
  -    <taskdef
  -      name="torque-sql"
  -      classname="org.apache.torque.task.TorqueSQLTask">
  -      <classpath refid="torque-classpath"/>
  -    </taskdef>
  -
  -    <torque-sql
  -      contextProperties="${build.properties}"
  -      controlTemplate="${SQLControlTemplate}"
  -      outputDirectory="${torque.home}/${outputDirectory}/sql"
  -      templatePath="${templatePath}"
  -      basePathToDbProps="sql/base/"
  -      sqldbmap="${torque.home}/${outputDirectory}/sql/sqldb.map"
  -      outputFile="report.${project}.sql.generation"
  -      targetDatabase="${database}">
  -      <fileset dir="${torque.home}/${schemaDirectory}">
  -        <include name="*-schema.xml"/>
  -      </fileset>
  -    </torque-sql>
  -
     </target>
   
     <!-- ================================================================ -->
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to