Ok several new questions did pop up regarding this topic.
If I didn't miss a point there is no more relation between content (or...
scripts) and bundle, so uninstalling the bundle won't have any effect on the
installed scripts. Is there any way to have content (...scripts ;)) that is
just mapped in jcr and uninstalled togehter with the bundle?

The other question I have is:
Is json the only way to define metadata for the content?

Best regards,
Dominik

On Fri, Dec 19, 2008 at 2:31 PM, Dominik Süß <[email protected]>wrote:

> Thanks to both of you :)
> Sometimes its just that simple....
>
> Best regards,
> Dominik
>
>
> On Fri, Dec 19, 2008 at 10:56 AM, Bertrand Delacretaz <
> [email protected]> wrote:
>
>> 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