Hi,

On Thu, Jul 17, 2008 at 8:59 PM, janandith jayawardena
<[EMAIL PROTECTED]> wrote:
> ...I would like to know how to run the samples/webloader .  I've followed
> the README.txt file.
> but I get the error ,
>
> "cant find org.apache.sling.scripting.core.scripthelper.getService(object)
> (apps/sling/webloader/html.esp#34)"...

Seems like your build is not up to date - the webloader sample works
for me in revision 677702, by doing:

mvn clean build at the top level of the sling source code tree

cd launchpad/webapp ; mvn jetty:run

Then in another console, run this first in samples/webloader/service
then in samples/webloader/ui:

mvn -P autoInstallBundle clean install -D
sling.url=http://localhost:8888/system/console

This builds and installs the bundles in the running sling webapp instance.

After this, http://localhost:8888/bin/sling/webloader.html displays
the webloader form, which works as expected, retrieves and loads
documents when submitted.

Can you see if this works for you, and if not we'll have to find out
what's different in your setup.

-Bertrand

Reply via email to