HP Integrity NonStop J-Series User Manual
Page 286

I Installing MyFaces Tomahawk Framework Libraries on
NonStop
Installing the MyFaces Tomahawk framework libraries on a NonStop system requires the following:
•
“Downloading MyFaces Tomahawk Distribution on Windows” (page 286)
•
“Copying MyFaces Tomahawk Runtime Libraries from Windows to NonStop” (page 286)
Downloading MyFaces Tomahawk Distribution on Windows
To download the MyFaces Tomahawk distribution on your Windows system, complete the following
steps:
1.
Go to
A web page showing a list of all MyFaces distributions available for download is displayed.
2.
Select tomahawk12-1.1.8-bin.zip or tomahawk12-1.1.8-bin.tar.gz.
3.
Extract the tomahawk12-1.1.8-bin.zip or tomahawk12-1.1.8-bin.tar.gz file
into a directory on your Windows system.
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 Tomahawk Runtime Libraries from Windows to NonStop
To copy the MyFaces Tomahawk runtime libraries from your Windows system to your NonStop
system, complete the following steps:
1.
Go to <MyFaces Tomahawk Home> and create JAR files of the <MyFaces Tomahawk
Home>\lib
directory on your Windows system using this command:
command prompt> cd "
command prompt> jar -cvf MyFaces-tomahawk_lib.jar lib
For example:
command prompt> cd "C:\tomahawk12-1.1.8"
command prompt> jar -cvf MyFaces-tomahawk_lib.jar lib
2.
Create a version-specific MyFaces Tomahawk directory <NonStop MyFaces Tomahawk
Home
> in the OSS environment on your NonStop system using the command:
OSS> mkdir -p
For example, create a directory structure /usr/tandem/sash/tomahawk12-1.1.8
OSS> mkdir -p /usr/tandem/sash/tomahawk12-1.1.8
3.
Copy MyFaces-tomahawk_lib.jar from <MyFaces Tomahawk Home> to <NonStop
MyFaces Tomahawk Home>
and extract it using the OSS command:
OSS> cd
OSS> jar -xvf MyFaces-tomahawk_lib.jar
This completes the installation of MyFaces Tomahawk runtime libraries on your NonStop system.
You can use these libraries when developing and running MyFaces applications using Tomahawk
components on a NonStop system, using the steps similar to those for MyFaces framework.
286 Installing MyFaces Tomahawk Framework Libraries on NonStop