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

K Installing Hibernate EntityManager Libraries on NonStop
Installing the Hibernate EntityManager framework libraries on a NonStop system requires the
following:
•
Downloading Hibernate Distribution on Windows
•
Copying Hibernate Distribution from Windows to NonStop
Downloading Hibernate Distribution on Windows
To download the Hibernate EntityManager distribution on your Windows system, complete the
following steps:
1.
Go to
2.
Under Binary Releases, click Browse all Hibernate downloads.
A web page from
SOURCEFORCE.NET,
showing various Hibernate packages that can be
downloaded, is displayed.
3.
Under Package, click hibernate-entitymanager.
A web page with links to download the different Hibernate EntityManager release versions
is displayed.
4.
Click 3.2.1.GA.
The links to the following files are displayed:
•
hibernate-entitymanager-3.2.1.GA.zip
•
hibernate-annotations-3.2.0.GA.tar.gz
5.
Download the
hibernate-entitymanager-3.2.1.GA.zip
file or the
hibernate-entitymanager-3.2.1.GA.tar.gz
file.
6.
Extract the downloaded file into a directory on your Windows system.
This directory will be referred as the
<Hibernate EntityManager Home>
.
Copying Hibernate Distribution from Windows to NonStop
To copy the the Hibernate EntityManager distribution from your Windows system to your
NonStop system, complete the following steps:
1.
Go to
<Hibernate EntityManager Home>
and create a
JAR
of the
<Hibernate
EntityManager Home>\lib
directory on your Windows system using the command:
command prompt> cd “
command prompt> jar –cvf hibernate-entitymanager_lib.jar lib
For example:
command prompt> cd “C:\ hibernate-entitymanager-3.2.1.GA”
command prompt> jar –cvf hibernate-entitymanager_lib.jar lib
2.
Create a version-specific Hibernate EntityManager directory
<NonStop Hibernate
EntityManager 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-entitymanager-3.2.1
as follows:
OSS> mkdir -p /usr/tandem/sash/hibernate-entitymanager-3.2.1
3.
Copy the
hibernate-entitymanager_lib.jar
and
hibernate-entitymanager.jar
files from your
to
EntityManager Home>
and extract
hibernate-entitymanager_lib.jar
using the
OSS command:
Downloading Hibernate Distribution on Windows
367