beautypg.com

Downloading hibernate distribution on windows – HP Integrity NonStop H-Series User Manual

Page 365

background image

J Installing Hibernate Annotations Libraries on NonStop

Installing Hibernate Annotations framework libraries on a NonStop system requires the following
actions:

Downloading Hibernate Distribution on Windows

Copying Hibernate Distribution from Windows to NonStop

Downloading Hibernate Distribution on Windows

To download the Hibernate Annotations distribution on your Windows system, complete the
following steps:

1.

Go to

http://hibernate.org/6.html

.

2.

Under Binary Releases, click Browse all Hibernate downloads.
A web page from

SOURCEFORCE.NET,

displaying the Hibernate packages that can be

downloaded, is displayed.

3.

Under Package, click hibernate-annotations.
A web page with links to download the different Hibernate Annotations release versions is
displayed.

4.

Click 3.2.6.GA.
The links to the following files are displayed:

hibernate-annotations-3.2.0.GA.zip

hibernate-annotations-3.2.0.GA.tar.gz

5.

Download the

hibernate-annotations-3.2.0.GA.zip

file or the

hibernate-annotations-3.2.0.GA.tar.gz

file.

6.

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

<Hibernate Annotations Home>

.

Copying Hibernate Distribution from Windows to NonStop

To copy the the Hibernate Annotations distribution from your Windows system to your NonStop
system, complete the following steps:

1.

Go to the

<Hibernate Annotations Home> \lib

directory on your Windows system

using the command:

command prompt> cd “

command prompt> jar –cvf hibernate-annotations_lib.jar lib

For example:

command prompt> cd “C:\ hibernate-annotations-3.2.0.GA”

command prompt> jar –cvf hibernate-annotations_lib.jar lib

2.

Create a version-specific Hibernate Annotations directory

<NonStop Hibernate

Annotations Home>

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

OSS> mkdir -p

For example, create a directory structure

/usr/tandem/sash/

hibernate-annotations-3.2.0

as follows:

OSS> mkdir -p /usr/tandem/sash/hibernate-annotations-3.2.0

3.

Copy the

hibernate-annotations_lib.jar

and

hibernate-annotations.jar

files from

to

Home>

and extract

hibernate-annotations_lib.jar

using the OSS command:

OSS> cd

OSS> jar –xvf hibernate-annotations_lib.jar

Downloading Hibernate Distribution on Windows

365

This manual is related to the following products: