beautypg.com

Downloading myfaces trinidad/tomahawk distribution – HP Integrity NonStop J-Series User Manual

Page 340

background image

H Installing MyFaces Trinidad/Tomahawk Framework

Libraries on NonStop

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

“Downloading MyFaces Trinidad/Tomahawk Distribution” (page 340)

“Copying MyFaces Trinidad Runtime Libraries from Windows to NonStop” (page 340)

Downloading MyFaces Trinidad/Tomahawk Distribution

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 and extract the following file into a directory on your Windows system.
For Trinidad: trinidad-1.2.11-dist.zip or trinidad-1.2.11-dist.tar.gz
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.

For Tomahawk: tomahawk12-1.1.8-bin.zip or tomahawk12-1.1.8-bin.tar.gz
This directory will be referred as the <MyFaces Tomahawk Home>.

NOTE:

The tomahawk12-1.1.8-bin.zip and tomahawk12-1.1.8-bin.tar.gz

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

Copying MyFaces Trinidad Runtime Libraries from Windows to NonStop

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.

NOTE:

These steps can be used to copy the MyFaces Tomahawk Runtime Libraries from Windows

to NonStop, only the filenames and directories pertain to Tomahawk.

340 Installing MyFaces Trinidad/Tomahawk Framework Libraries on NonStop

This manual is related to the following products: