HP Integrity NonStop H-Series User Manual
Page 46
1.
Register yourself.
2.
Click No thanks, take me to the download.
The Spring frameworks available for download are displayed.
3.
Download the
spring-framework 2.5.5-with-dependencies.zip
file.
NOTE:
•
The
spring-framework 2.5.5-with-dependencies.zip
file includes the Spring
sample applications, the Spring framework libraries, and third party libraries that are
required to build the sample applications. The other distributions,
spring-framework-2.5.5-with-docs.zip
and
spring-framework-2.5.5.zi
p,
do not include the samples or libraries required to build the sample applications.
•
The sample applications (PetClinic, JPetStore, and ImageDB) have been verified using
Spring version 2.5.5 only.
4.
Extract the
spring-framework 2.5.5-with-dependencies.zip
file into a directory
on your Windows system.
This directory will be referred as the
<Spring Home>
. Among other directories,
<Spring
Home>
contains the following sub-directories:
\dist
includes the Spring
JAR
files.
\lib
includes third-party libraries usually required to build Spring applications.
\docs
includes the Spring reference documentation in PDF and HTML format.
\samples
includes sample applications, namely, PetClinic, JPetStore, ImageDB, and PetPortal.
Copying Spring Runtime Libraries from Windows to NonStop
To copy the Spring runtime libraries from your Windows system to your NonStop system,
complete the following steps:
1.
Go to
<Spring Home>
and create JAR files of
<Spring Home>\dist
and
<Spring
Home>\lib
directories on your Windows system using these commands:
command prompt> cd “
command prompt> jar –cvf spring_dist.jar dist
command prompt> jar –cvf spring_lib.jar lib
For example:
command prompt> cd “C:\spring-framework-2.5.5”
command prompt> jar –cvf spring_dist.jar dist
command prompt> jar –cvf spring_lib.jar lib
2.
Create a version-specific Spring directory
<NonStop Spring Home>
in the OSS
environment on your NonStop system using the command:
OSS> mkdir -p
For example, create a directory structure
/usr/tandem/sash/spring_2.5.5
.
OSS> mkdir -p /usr/tandem/sash/spring_2.5.5
3.
Copy the
spring_dist.jar
and
spring_lib.jar
files from
to
<NonStop Spring Home>
and extract them using these OSS commands:
OSS> cd
46
Installing Spring Framework