jvanzyl     01/07/12 13:45:10

  Modified:    conf/torque build.properties build.xml
  Log:
  - fedor's patches to revive the JDBC -> XML task.
  
  Revision  Changes    Path
  1.5       +4 -0      jakarta-turbine/conf/torque/build.properties
  
  Index: build.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine/conf/torque/build.properties,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.properties  2001/07/12 12:29:50     1.4
  +++ build.properties  2001/07/12 20:45:04     1.5
  @@ -87,6 +87,10 @@
   databasePassword = password
   databaseHost = 127.0.0.1
   
  +# Tells JDBC task that javaName attribute for the tables and columns
  +# should be made same as SQL name.
  +sameJavaName=false
  +
   # -------------------------------------------------------------------
   # You should NOT have to edit anything below here.
   # -------------------------------------------------------------------
  
  
  
  1.3       +25 -0     jakarta-turbine/conf/torque/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine/conf/torque/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.xml 2001/05/14 18:43:45     1.2
  +++ build.xml 2001/07/12 20:45:05     1.3
  @@ -81,6 +81,31 @@
         <classpath refid="classpath"/>
       </taskdef>
   
  +    <taskdef name="torque-jdbc"
  +      classname="org.apache.turbine.torque.TorqueJDBCTransformTask">
  +      <classpath refid="classpath"/>
  +    </taskdef>
  +    
  +  </target>
  +  
  +
  +  <!-- ================================================================ -->
  +  <!-- J D B C  ->  X M L
  +  <!-- ================================================================ -->
  +
  +  <target name="project-jdbc" depends="init-tasks">
  +
  +    <echo message="JDBC transform"/>
  +
  +    <torque-jdbc
  +      dbUrl="${databaseUrl}"
  +      dbDriver="${databaseDriver}"
  +      dbUser="${databaseUser}"
  +      dbPassword="${databasePassword}"
  +      outputFile="schema/schema.xml"
  +      sameJavaName="${sameJavaName}"
  +    />
  +
     </target>
   
     <!-- ================================================================ -->
  
  
  

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

Reply via email to