beautypg.com

Downloading myfaces trinidad distribution – HP Integrity NonStop H-Series User Manual

Page 283

background image

E Installing MyFaces Trinidad Framework Libraries on

NonStop

Installing MyFaces Trinidad framework libraries on a NonStop system requires the following :

Downloading MyFaces Trinidad Distribution

Copying MyFaces Trinidad Runtime Libraries from Windows to NonStop

Downloading MyFaces Trinidad Distribution

To download the MyFaces Trinidad distribution on your Windows system, complete the following
steps:

1.

Go to

http://www.apache.org/dist/myfaces/binaries/.

A web page showing a list of all MyFaces distributions available for download is displayed.

2.

Select

trinidad-1.2.11-dist.zip

or

trinidad-1.2.11-dist.tar.gz.

3.

Extract the

trinidad-1.2.11-dist.zip

or

trinidad-1.2.11-dist.tar.gz

file

into a directory on your Windows system.
This directory will be referred as the

<MyFaces Trinidad Home>

.

NOTE:

The

trinidad-1.2.11-dist.zip

and

trinidad-1.2.11-dist.tar.gz

files include the MyFaces Trinidad framework libraries that are required to build MyFaces
Trinidad applications. These files only differ in their compression formats.

Copying MyFaces Trinidad Runtime Libraries from Windows to NonStop

To copy the MyFaces Trinidad runtime libraries from your Windows system to your NonStop
system, complete the following steps:

1.

Go to

<MyFaces Trinidad Home>

and create JAR files of the

<MyFaces Trinidad

Home>\lib

directory on your Windows system using the following commands:

command prompt> cd “<MyFaces Trinidad Home>”
command prompt> jar –cvf MyFaces-trinidad_lib.jar lib

For example:

command prompt> cd “C:\trinidad-1.2.11”
command prompt> jar –cvf MyFaces-trinidad_lib.jar lib

2.

Create a version-specific MyFaces Trinidad directory <

NonStop MyFaces Trinidad

Home

> in the OSS environment on your NonStop system using the command:

OSS> mkdir -p

For example, create a directory structure

/usr/tandem/sash/trinidad-1.2.11

OSS> mkdir -p /usr/tandem/sash/Trinidad-1.2.11

3.

Copy

MyFaces-trinidad_lib.jar

from

<MyFaces Trinidad Home>

to

<NonStop

MyFaces Trinidad Home>

and extract it using the OSS command:

OSS> cd <NonStop MyFaces Trinidad Home>
OSS> jar –xvf MyFaces-trinidad_lib.jar

This completes the installation of MyFaces Trinidad runtime libraries on your NonStop system.
You can use these libraries when developing and running MyFaces applications using Trinidad
components on a NonStop system, using the steps similar to those for installing the MyFaces
framework.

Downloading MyFaces Trinidad Distribution

283

This manual is related to the following products: