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

Page 157

Advertising
background image

The

build_jdbct2.xml

file was modified to:

Update the Spring Root Location (

property:spring.root

)

Include the Commons DBCP

JAR

file (

commons-dbcp.jar

)

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

build_jdbct2.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_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>”/>

2.

The path of the Commons DBCP JAR file (

commons-dbcp.jar

) was set.

A new

<fileset>

tag was added to specify the path of the Commons DBCP JAR file location

under the <

path

> tag:

<path id="master-classpath">
<fileset dir="${spring.root}/lib/jakarta-commons">
<include name="commons-dbcp.jar"/>
</fileset>
….
….
</path>

build_jdbct4.xml

(<My SASH Home>\jpetstore\src\org\springframework\samples\jpetstore\
property\build_jdbct4.xml):

This is the build file for JPetStore when using the JDBC Type 4 driver for database connectivity.
The

build_jdbct4.xml

file was modified to:

Update Spring Root Location (

property:spring.root

)

Include JDBC Type 4 Root Location (

jdbct4.root

)

Include JDBC/MX Type 4 driver (

t4sqlmx.jar

)

Include the Commons DBCP JAR file (

commons-dbcp.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 appeared as:

<property name="spring.root" value="<Spring Home>”/>

2.

The

jdbct4.root

property tag was added and the

<JDBC T4 installation

directory>

was specified.

Customizing JPetStore

157

Advertising
This manual is related to the following products: