Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


<head><title>Hibernate Search in Action - companion code</title></head>
<h1>Hibernate Search in Action - companion code</h1>
<p>This document explains how to use the companion code of Hibernate Search in Action</p>
<p>This code is released under the ASL 2.0 License, See LICENSE.txt and NOTICE.txt for more info.</p>
<h2>Project structure</h2>
<p>Contains the example codes.</p>
<p>Contains the test framework. Several tests are making sure the examples runs. The test framework uses TestNG.</p>
<p>You can find the libraries necessary to compile and run the tests in common/lib</p>
<p>Each project contains an Ant based build system. The following tasks are available:
<li>clean: clean resources</li>
<li>compile: compile the source code</li>
<li>test: run the TestNG tests. Results can be found in build/reports.</li>
<p>This build has been tested with Ant 1.7 and JDK 1.5</p>
<h3>Eclipse users</h3>
<p>You can import each project in your workspace. Open a workspace pointing to the root directory. File -> import -> General -> Existing Projects into Workspace. Select the root directory as the code root directory (directory containing this file). Import all projects (including common).</p>
<p>This has been tested on Eclipse Europa. Using the TestNG plugin allows you to run TestNG tests from your IDE. The working directory for the tests mush be updated. In the Run dialog box, Arguments tab, replace Working directory with other... <code>${workspace_loc:chxx}/..</code>. Note that each project tests belong to the corresponding group chxx.</p>
<h3>IntelliJ users</h3>
<p>Open HSiA-DVDStore.ipr thout you can found in the root directory. Make sure that in preferences -> compiler the following resource patterns are present
?*.properties;?*.xml;?*.dtd;?*.txt;?*.sql . It should. Enjoy.</p>
<p>This procedure has been tested on IntelliJ 7.0.4. Using the TestNG plugin allows you to run TestNG tests from your IDE.</p>
<p><a href="ch02/readme.html">ch02</a><br/>
<a href="ch03/readme.html">ch03</a><br/>
<a href="ch04/readme.html">ch04</a><br/>
<a href="ch05/readme.html">ch05</a><br/>
<a href="ch06/readme.html">ch06</a><br/>
<a href="ch07/readme.html">ch07</a> (*)<br/> 
<a href="ch08/readme.html">ch08</a><br/>
<a href="ch09/readme.html">ch09</a><br/>
<a href="ch10/readme.html">ch10</a><br/>
<a href="ch11/readme.html">ch11</a> (*)<br/>
<a href="ch12/readme.html">ch12</a> (*)<br/>
<a href="ch13/readme.html">ch13</a> (*)<br/>
(*) no build file presently but Eclipse and IntelliJ IDEA files are working


All the code examples from the book Hibernate Search in Action from Emmanuel Bernard and John Griffin published by Manning are available here.




No packages published
You can’t perform that action at this time.