Build_jdbct4.xml – HP Integrity NonStop H-Series User Manual
Page 161

NOTE:
The
build.xml
file in the Spring distribution has been customized for the JDBC Type
2 driver and is provided as
build_jdbct2.xml
in the
SAMPLES.zip
file.
Changes to the
build_jdbct2.xml
file
The following modification was made in the
build_jdbct2.xml
file:
The
spring.root
property was updated with the
<Spring Home>
directory.
For example:
Before updating, the
spring.root
property in the
build_jdbct2.xml
file appeared as:
<property name="spring.root" value="../.."/>
After updating, the
spring.root
property in the
build_jdbct2.xml
file appears as:
<property name="spring.root" value="<Spring Home>”/>
build_jdbct4.xml
(<Spring Home>\samples\imagedb\build_jdbct4.xml)
:
This is the build file for ImageDB when using the JDBC Type 4 driver for database connectivity.
The
build_jdbct4.xml
file was modified to:
•
Update the Spring Root Location (property:
spring.root
)
•
Include the JDBC Type 4 Root Location (
jdbct4.root
)
•
Include the JDBC/MX Type 4 driver (
t4sqlmx.jar
)
NOTE:
The
build.xml
file in the Spring distribution has been customized for the JDBC
Type 4 driver and is provided as
build_jdbct4.xml
in the
SAMPLES.zip
file.
Changes to the
build_jdbct4.xml
file
The
build_jdbct4.xml
file was modified as follows:
1.
The
spring.root
property was updated with the
<Spring Home>
directory.
For example:
Before updating, the
spring.root
property in the
build_jdbct4.xml
file appeared
as:
<property name="spring.root" value="../.."/>
After updating, the
spring.root
property in the
build_jdbct4.xml
file appears as:
<property name="spring.root" value="<Spring Home>”/>
2.
The
jdbct4.root
property tag was added and the
<JDBC T4 installation
directory>
was specified.
<property name="jdbct4.root" value="<JDBC T4 installation directory>”/>
3.
The path of the JDBC/MX Type 4 driver (
t4sqlmx.jar
) was set.
A new <
fileset
> tag was added to specify the absolute path of the SQL/MX JDBC Type
4 driver under the
<copy todir>
tag:
<copy todir="${weblib.dir}" preservelastmodified="true">
….
….
<fileset dir="${jdbct4.root}/lib">
<include name="t4sqlmx.jar"/>
</fileset>
</copy>
Customizing ImageDB
161