Re: HOJ and Maven
"QuikDraw" <[email protected]> Fri, 4 Mar 2005 08:29:22 -0600
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Message-ID | <[email protected]> |
> 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 <HOJ project dir>/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. Shash, Long time, no see; er hear; er Email... <G> Glad to see Keelers can now take advantage of Maven. I do think it is worth mentioning that AFAIK, all Maven plugins for Eclipse require Eclipse 3.x. While several of you may be saying, Duh... I mention this because other environments extending the Eclipse platform such as WSAD may be built on the Eclipse 2.x APIs, which again AFAIK, are not compatible with any Maven Eclipse plugins. So to be specific, I am referring to the Eclipse plugin API, not the Maven plugin API. The new RAD (Rational Application Developer) from IBM, which is the next version of WSAD + RationIDE is based on Eclipse 3.x, so this should support the latest Keel/Maven integration from Shash, et al. Of course if there is an Eclipse 2.x Maven plugin that someone is aware of, please speak up; I'm just not aware of it. Keel on! Thanks, Derek ===================================== --- The Gunslinger quikdraw-x/[email protected]