By Geertjan-Oracle on Mar 22, 2010
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.