mpoeschl 01/11/15 04:54:46
Modified: profile oracle.profile
src/conf build-torque.xml
Log:
fix oracle profile
add dbSchema to data export task (effects only oracle)
Revision Changes Path
1.6 +1 -1 jakarta-turbine-torque/profile/oracle.profile
Index: oracle.profile
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/profile/oracle.profile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- oracle.profile 2001/11/15 03:53:35 1.5
+++ oracle.profile 2001/11/15 12:54:46 1.6
@@ -7,7 +7,7 @@
torque.databaseAdapter = DBOracle
torque.sqlTest.defaultDatabase = sqltest
-torque.sqlTest.databaseUrl = ??
+torque.sqlTest.databaseUrl = jdbc:oracle:thin:@192.168.0.1:1521:ORCL
lib.dir = ../lib
1.11 +10 -3 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.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- build-torque.xml 2001/11/15 03:05:04 1.10
+++ build-torque.xml 2001/11/15 12:54:46 1.11
@@ -4,7 +4,7 @@
<property name="build.properties" value="build.properties"/>
<property file="${build.properties}"/>
<property name="lib.dir" value="lib"/>
-
+
<!-- Build classpath -->
<path id="torque-classpath">
<fileset dir="${lib.dir}">
@@ -158,7 +158,13 @@
name="project-jdbc"
description="==> jdbc to xml">
- <echo message="JDBC transform"/>
+ <echo message="+-----------------------------------------------+"/>
+ <echo message="| |"/>
+ <echo message="| Generating XML from JDBC connection ! |"/>
+ <echo message="| Woo hoo! |"/>
+ <echo message="| |"/>
+ <echo message="+-----------------------------------------------+"/>
+ <echo message=" taking build.properties from: ${build.properties}"/>
<taskdef
name="torque-jdbc"
@@ -171,6 +177,7 @@
dbDriver="${databaseDriver}"
dbUser="${databaseUser}"
dbPassword="${databasePassword}"
+ dbSchema="${databaseSchema}"
outputFile="${torque.home}/${outputDirectory}/schema.xml"
sameJavaName="${sameJavaName}"
/>
@@ -247,7 +254,7 @@
<include name="*-schema.xml"/>
<exclude name="id-table-schema.xml"/>
</fileset>
- </torque-sql>
+ </torque-sql>
</target>
<!-- ================================================================ -->
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>