knielsen 01/07/27 13:43:23
Modified: build build.properties.sample build.xml
Log:
adding jdbc jar
Revision Changes Path
1.3 +1 -0 jakarta-turbine-torque/build/build.properties.sample
Index: build.properties.sample
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/build/build.properties.sample,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- build.properties.sample 2001/07/26 22:51:13 1.2
+++ build.properties.sample 2001/07/27 20:43:22 1.3
@@ -29,3 +29,4 @@
# xerces.jar = ${lib.repo}/xerces-1.3.0.jar
# village.jar = ${lib.repo}/village-1.5.1.jar
# log4j.jar = ${lib.repo}/log4j-1.1.jar
+# jdbc.jar = ${lib.repo}/jdbc2_0-stdext.jar
1.8 +15 -0 jakarta-turbine-torque/build/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/build/build.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- build.xml 2001/07/26 22:51:13 1.7
+++ build.xml 2001/07/27 20:43:22 1.8
@@ -39,6 +39,7 @@
<echo message="velocity.jar = ${velocity.jar}"/>
<echo message="xerces.jar = ${xerces.jar}"/>
<echo message="log4j.jar = ${log4j.jar}"/>
+ <echo message="jdbc.jar = ${jdbc.jar}"/>
<echo message=""/>
</target>
@@ -84,6 +85,12 @@
property="log4j.present"
classpathref="classpath"
/>
+
+ <available
+ classname="javax.sql.ConnectionPoolDataSource"
+ property="jdbc.present"
+ classpathref="classpath"
+ />
</target>
<!-- ================================================================== -->
@@ -118,6 +125,13 @@
</antcall>
</target>
+ <target name="check.jdbc" unless="jdbc.present">
+ <antcall target="property-warning">
+ <param name="name" value="jdbc.jar"/>
+ <param name="value" value="${jdbc.jar}"/>
+ </antcall>
+ </target>
+
<target name="property-warning">
<echo>
+----------------------------------------------------------------+
@@ -295,6 +309,7 @@
<copy file="${xerces.jar}" todir="${torque.dir}/lib"/>
<copy file="${village.jar}" todir="${torque.dir}/lib"/>
<copy file="${log4j.jar}" todir="${torque.dir}/lib"/>
+ <copy file="${jdbc.jar}" todir="${torque.dir}/lib"/>
<filter token="TORQUE_HOME" value="."/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]