Hi,

I have the following in ROOT.json at the route of the bundle content
but after I deploy the bundle I still get redirected to index.html

{
    "sling:resourceType": "website",
        "headline": "Loaded from ROOT.json"
}

Is there anyway to dump the contents of jackrabbit so I can see if the
properties are set as expected?

Regards

Ben

2009/10/13 Bertrand Delacretaz <[email protected]>:
> Hi Ben,
>
> On Tue, Oct 13, 2009 at 11:45 AM, Ben Short <[email protected]> wrote:
>> ...When I connect via webdav I can see a index.html file. If I point my
>> browser to htttp://127.0.0.1:8888 (I deployed the webapp as root) I
>> get redirected to the index.html file.
>>
>> How is the redirect configured and how can I change it to redirect to
>> some other file?...
>
> In the Sling Launchpad this is configured by the
> org.apache.sling.launchpad.content which supplies some initial
> content.
>
> See 
> http://svn.apache.org/repos/asf/sling/trunk/launchpad/content/src/main/resources/content/ROOT.json
> for more specific info on the root node properties that configure the
> redirect.
>
>>
>> Also how can I import bundle content to the root node?
>>
>> Taking the following XML Descriptor id like the content of the root
>> node to be rendered via a GET.jsp located at
>> /apps/website/home/GET.jsp
>>
>> <node>
>>    <name>root</name>
>>    <primaryNodeType>nt:unstructured</primaryNodeType>
>>    <property>
>>            <name>sling:resourceType</name>
>>            <value>website/home</value>
>>        </property>
>> </node>
>
> ROOT.json, as shown above, should allow you to setup the root node as 
> required.
>
> -Bertrand
>

Reply via email to