HP Integrity NonStop J-Series User Manual

Page 155

Advertising
background image

6.

Extract the hibernate-distribution-3.5.1-Final-dist.zip file into a directory
on the Windows system.

This directory will be referred as <Hibernate Home>. Among other directories and files,
<Hibernate Home>

includes the following sub-directories:

\project

includes the Hibernate source code.

\project\annotations

includes the source code of Hibernate Annotations.

\project\entitymanager

includes the source code of Hibernate EntityManager.

\lib

includes libraries required to build Hibernate applications.

\documentation

includes the Hibernate reference documentation in PDF and HTML format.

Downloading Hibernate Dependency JAR Files using Maven

Because Hibernate 3.5.1 dependency JARs are placed in the Maven repository, you need to
download the dependency JAR files using Maven.

To download the Hibernate dependency JAR files using Maven, complete the following steps:

1.

Go to the <Hibernate Home>\projects directory on the Windows system.

2.

Run the following command to build the Hibernate framework and create the Hibernate
dependency JARs:

“command prompt> set MAVEN_OPTS=-Xmx512m
command prompt> mvn -fae install”

The Hibernate framework, Hibernate sub-projects, and dependency JAR files are downloaded
to C:\Documents and Settings\<User name>\.m2\repository

where,

<User name>

is the name of the user account being used on the Windows system.

Installing Hibernate Framework Libraries on NonStop

155

Advertising
This manual is related to the following products: