Hi Justin,

Am 20.10.10 21:34, schrieb Justin Edelson:
Sandro-
If you get a chance, please try out trunk now. I just committed a fix
which seems to be working for me, but it'll be a while before Hudson
confirms.
No problem, Maven is building currently.


Thanks,
Justin

On 10/20/10 3:21 PM, Sandro Boehme wrote:
I'm glad it was not a user error ;-). The problem simply was, that I
checked out the trunk while it was not yet working properly.
I should have had a look at the hudson build before updating from trunk.
Using git (git://git.apache.org/sling.git) now to be able to easily
revert my local experiments to the last working version of the trunk
(right now this should be commit 129f4d btw).

Best,

Sandro

Am 20.10.10 01:23, schrieb Sandro Boehme:
Hello,

mvn clean install of sling on a fresh checkout from trunk did not show
any errors. Also running Jetty works and all bundles are active. But the
scripts of the Sling Explorer don't get executed and the
HtmlRendererServlet is show like that:
=========================================================


Resource dumped by HtmlRendererServlet

Resource path: */index.html*

Resource metadata: *{sling.creationTime=1287529282337,
sling.contentType=text/html, sling.resolutionPathInfo=.explorer.html,
sling.modificationTime=1287528833921, sling.contentLength=5898,
sling.resolutionPath=/index.html}*

Resource type: *nt:file*

Resource super type: *-*


Resource properties

jcr:createdBy: *admin*
jcr:created:
*java.util.GregorianCalendar[time=1287529282337,areFieldsSet=true,areAllFieldsSet=true,lenient=false,zone=sun.util.calendar.ZoneInfo[id="GMT+02:00",offset=7200000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2010,MONTH=9,WEEK_OF_YEAR=43,WEEK_OF_MONTH=4,DAY_OF_MONTH=20,DAY_OF_YEAR=293,DAY_OF_WEEK=4,DAY_OF_WEEK_IN_MONTH=3,AM_PM=0,HOUR=1,HOUR_OF_DAY=1,MINUTE=1,SECOND=22,MILLISECOND=337,ZONE_OFFSET=7200000,DST_OFFSET=0]*


jcr:primaryType: *nt:file
*

=========================================================
*The bundle of the Sling Explorer is marked active in the console.
*

Also the simple script from the 15min tutorial that renders the title
property does not get executed. Instead the HtmlRendererServlet dumps
the Resource like that:
=========================================================


Resource dumped by HtmlRendererServlet

Resource path: */content/mynode*

Resource metadata: *{sling.resolutionPathInfo=.html,
sling.resolutionPath=/content/mynode}*

Resource type: *foo/bar*

Resource super type: *-*


Resource properties

title: *some title*
sling:resourceType: *foo/bar*
jcr:primaryType: *nt:unstructured
*=========================================================

The curl commands that create the WebDAV folders and upload the script
are executed successfully. And via WebDAV I can see that the script is
there (/apps/foo/bar/html.esp).

I debugged some resolver classes, searched at Google and tried to find a
solution to that for quite some time now. But I have no idea left.
Does somebody have a hint what I could try to get it working?

Best,

Sandro






Reply via email to