Monday Mar 22, 2010

Getting Started with Hippo Development in NetBeans IDE

As a free and open-source Wicket-based Maven-built content-management system with a very cool name, Hippo deserves praise.

Getting started developing a website on Hippo with NetBeans IDE is trivial. Start with the Maven Project archetype:

Use the Generate Project Setup page to create the project, with these values:

  • Repository: http://repository.hippocms.org/maven2
  • GroupId: org.onehippo.ecm.archetypes
  • ArtifactId: website
  • Version: 1.01.00

I.e., in the IDE, use the dialog you get when clicking Add (after clicking Next) in the above dialog:

You'll end up with this project structure in NetBeans IDE:

The structure of the above project is described on the structure of the generated Maven project page.

I used Jetty from the command line (as described here) to launch the two web applications. The "cms" application launches an application for managing the website:

Meanwhile, the "site" application is the website itself, which you can simply refresh in the browser whenever you make a change in the application shown above. Here's how the website currently looks:

Next thing I want to explore is how to create plugins for Hippo.

About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« March 2010 »
SunMonTueWedThuFriSat
 
4
6
8
12
16
20
21
25
   
       
Today