beautypg.com

Building myfaces-components on windows – HP Integrity NonStop H-Series User Manual

Page 233

background image

NOTE:

Besides the

jakarta-taglibs-standard-1.1.2.zip

and

jakarta-taglibs-standard-1.1.2.tar.gz

files, you will also find the links to their

respective signature files,

jakarta-taglibs-standard-1.1.2.zip.asc

and

jakarta-taglibs-standard-1.1.2.tar.gz.asc

. You need not download the signature

files.

oro-2.0.8.jar

Download

jakarta-oro-2.0.8.zip

or

jakarta-oro-2.0.8.tar.gz

from

http://

archive.apache.org/dist/jakarta/oro/binaries/

.

Both the files contain the binary distributions. The only difference is in their compression
formats.

NOTE:

Besides the

jakarta-oro-2.0.8.zip

and

jakarta-oro-2.0.8.tar.gz

files,

you will also find links to their respective signature files,

jakarta-oro-2.0.8.zip.asc

and

jakarta-oro-2.0.8.tar.gz.asc

. You need not download the signature files.

Building myfaces-components on Windows

To build myfaces-components on your Windows system, complete the following steps:

1.

Go to the

<My SASH Home>\myfaces\samples\myfaces-components

directory on

your Windows system. Among the other files, this directory consists of the following
sub-directories:

\src

includes the source files for myfaces-components sample application.

\WebContent

comprises all the necessary configuration files required to build the application WAR
file.

\dlib

stores all the downloaded distribution of the dependency JAR files.

2.

Extract all the downloaded distributions of the dependency JAR files to

<My SASH

Home>\myfaces\samples\myfaces-components\dlib

directory on your Windows

system.

3.

Modify

<My SASH Home>\myfaces\samples\myfaces-components\build.xml

file

to set the

myfaces.root

property with the absolute path of

<MyFaces Home>

Windows

directory.

For example, if the location of

<MyFaces Home>

is

C:\myfaces-core-1.2.5,

myfaces.root

must be set as:

4.

Build myfaces-components (

myfaces-components.war

) using Ant:

a.

Go to the

<My SASH Home>\myfaces\samples\myfaces-components

directory

on your Windows system, using the command:

command prompt> cd <My SASH Home>\myfaces\samples\myfaces-components

b.

Build the myfaces-components application web archive, using the command:

command prompt> ant all

c.

After successful build of myfaces-components, a new directory named

dist

is created

in the

<My SASH Home>\myfaces\samples\myfaces-components

directory. The

application WAR file (

myfaces-components.war

) is created in the

dist

directory.

Deploying and Running Sample MyFaces Application on NonStop

233

This manual is related to the following products: