Hi Dominik,

On Fri, Dec 19, 2008 at 9:45 AM, Dominik Süß <[email protected]> wrote:
> ...As far as I did understand the conversations and code
> snippets here it is possible to bundle the scripts in an osgibundle and
> unpack it in jcr within the installation of the bundle....

Yes, that's what we call "initial content loading".

> ...Could anyone who has done this give me some hints which maven plugins to 
> use
> and how to set up my poms?...

The webloader example at [1] might be a good starting point, I have
explicitely split in in two bundles, one for java code and one for
scripting.

The app is not terribly interesting, but you should be able to use it
as a starting point to build yours. One thing that you might need to
change is that the poms there depend on the sling parent pom, you
probably don't want that in your own apps.

-Bertrand

[1] https://svn.eu.apache.org/repos/asf/incubator/sling/trunk/samples/webloader

Reply via email to