HOJ and Maven

"Sasvata (Shash) Chatterjee" <[email protected]> Fri, 04 Mar 2005 10:53:31 +0800
Newsgroups gmane.comp.java.keel.user
Message-ID <4227CDAB.1090505__7470.84765830568$1109904596$gmane$org@badfw.org>
All,

I have just checked in keel-build/example-projects/hoj/* in CVS.  HOJ 
builds under Maven and runs just as it did before.

Here are the instructions (copied from the project.xml):

1) Setup your Java, Maven and Keel environment as described here: 
http://www.keelframework.org/release/HEAD/docbook/keel-doc/html_chunk/manual/ch13.html 
(use at least 1.2.9 of maven-keel-plugin).
2) Create an empty directory, and copy keel-build/example-projects/hoj/* 
to this newly created directory.  This is your HOJ project directory.
3) Change directory to your HOJ project directory
4) maven keel:maven
5) maven war
6) copy hoj.war from &lt;HOJ project dir&gt;/target into your servers 
webapp directory, restart your server
7) access http://localhost:8080/hoj

Once you have done a Maven build, and all your JARs are in the Maven 
REPO, you can get the app-hoj project in Eclipse by checking the module 
out from CVS from within Eclipse.  Remember to define MAVEN_REPO in 
Window-Preferences->Java->Classpath Variables->New to point to your 
local Maven repository.

HTH,
Shash