With 5.0 the way to do custom version of Roller is to use Maven's WAR
overlay feature:
   http://maven.apache.org/plugins/maven-war-plugin/overlays.html

The high-level steps are:
1) Create a Maven webapp project with your new Java classes in
src/main/java and your web files in src/main/webapp as with any Maven
webapp project
2) Declare the Roller Webapp module as one of the dependencies for
your new project
3) Run Maven to build your new WAR file with both Roller and your custom classes

That's what I do for my website at rollerweblogger.org, which includes
custom classes, files, etc.

Hope that helps...

- Dave





2011/6/15 Piotr Gliźniewicz <p.glizniew...@netpr.pl>:
> Hi!
> We are using a custom version of Roller 4.0 We customized it by adding
> necessary classes to the apps\weblogger\custom\ directory - new Struts 2
> actions, a WebEntryEditor implementation, resource files. I would like to
> upgrade it to Roller 5.0, but I don't know how to merge our changes with the
> new maven project structure. Is there any documented way to extend Roller
> 5.0 as it was possible with apps\weblogger\custom?
> Best,
>  Piotr Gliźniewicz
>

Reply via email to