beautypg.com

Downloading​​ the spring distribution on windows, Downloading the spring distribution on – HP Integrity NonStop J-Series User Manual

Page 19

background image

1.

“Downloading the Spring Distribution on Windows” (page 19)

2.

“Copying Spring Runtime Libraries from Windows to NonStop” (page 19)

NOTE:

Throughout the section, references are made to the following directories:

: The directory on the Windows system where the Spring distribution

files are extracted.

: The OSS directory on the NonStop system where the Spring

runtime JAR files are located.

:

The directory on the Windows system where the contents of the

SAMPLES.zip

file (distributed as a part of the NonStop Samples for Java frameworks -

T0874 and available for download in Scout) is extracted.

:

The location of the iTP WebServer deployment

directory (on the NonStop system) in which NSJSP is setup.

Downloading the Spring Distribution on Windows

To download the Spring distribution on the Windows system, complete the following steps:
1.

Go to

http://www.springsource.com/download/community?project=Spring%20Framework

.

The Spring Community Downloads web page appears.

2.

Do one of the following:
1.

Register yourself.

2.

Click I'd rather not fill in the form. Just take me to the download page.

The Spring frameworks available for download appear.

3.

Select 3.1.0.RELEASE and download the spring-framework–3.1.0.RELEASE.zip file.

NOTE:

The spring-framework–3.1.0.RELEASE.zip file does not include the Spring

sample applications, the Spring framework libraries, and dependency JAR files that are
required to build the sample applications.

4.

Extract the spring-framework–3.1.0.RELEASE.zip file into a directory on the Windows
system.

This directory will be referred as <Spring Home>.

Copying Spring Runtime Libraries from Windows to NonStop

1.

Create JAR files in the <Spring Home> directory on the Windows system:

command prompt> cd <Spring Home>

command prompt> jar -cvf spring_dist.jar dist

For example:

command prompt> cd C:\spring-framework-3.1.0.RELEASE
command prompt> jar -cvf spring_dist.jar dist

2.

Create the <NonStop Spring Home> directory in the OSS environment on the NonStop
system:

OSS> mkdir -p <NonStop Spring Home>

For example, create a directory structure /usr/tandem/sash/spring_3.1.0.

OSS> mkdir -p /usr/tandem/sash/spring_3.1.0

3.

Transfer the spring_dist.jar file from to <NonStop Spring Home>
and extract it:

OSS> cd <NonStop Spring Home>

Installing the Spring Framework

19

This manual is related to the following products: