Re: Discover Sling in 15 minutes

2008-01-29 Thread Gert Vanthienen
L.S., While following the instructions on the wiki page you mentioned, I ran into a problem when executing the 'curl ...' command to add a first node of content: Method POST not supported (405) The requested URL /content/mynode resulted in an error in Sling Core Default Servlet What have

Re: Discover Sling in 15 minutes

2008-01-29 Thread Gert Vanthienen
Bernard, An 'svn up;mvn clean install' fixed the issue. Thank you for the fast reponse, Gert Bertrand Delacretaz wrote: On Jan 29, 2008 3:16 PM, Gert Vanthienen <[EMAIL PROTECTED]> wrote: ...I ran into a problem when executing the 'curl ...' command to a

Just a few questions...

2008-03-01 Thread Gert Vanthienen
L.S., Ever since I first read about Sling on the Incubator website, it seemed to have a lot of potential so I was eager to try it out. This post is actually just a 'reality check' to make sure I'm getting what the project is really about and that I'm using it in a 'right' way (if such a thi

Re: Just a few questions...

2008-03-03 Thread Gert Vanthienen
Felix, Thank you for your reply! Felix Meschberger wrote: Hi, Am Samstag, den 01.03.2008, 22:55 +0100 schrieb Gert Vanthienen: L.S., Ever since I first read about Sling on the Incubator website, it seemed to have a lot of potential so I was eager to try it out. This post is actually

Convenient way for installing Sling in another OSGi container?

2008-03-12 Thread Gert Vanthienen
L.S., I'm trying to get Sling to run inside the ServiceMix 4 Kernel by looking at a running Sling /console to determine the list of bundles and manually copying them to SMX4 Kernel's deploy directory. Isn't there a more convenient way to deploy this, e.g. using an OBR/Maven repository and au

Re: Convenient way for installing Sling in another OSGi container?

2008-03-18 Thread Gert Vanthienen
repository, e.g. ${HOME}/.m2/repository and assuming the smx system is available at localhost:8080. Now you should be able to select the bundles you want ... Hope this helps, but I have to admit, that this is a pure theoretical run-down ;-) Regards Felix Am Mittwoch, den 12.03.2008,

Re: Convenient way for installing Sling in another OSGi container?

2008-03-19 Thread Gert Vanthienen
Felix, Thanks for your answers. Just one additional question on the following... Another ESP question: is there a way to get only a limited number of children of a given node? For my ServiceMix monitoring solution, I would prefer to get only the last 50 or so MessageExchanges on the list by

How-to execute a query from an ESP script?

2008-04-14 Thread Gert Vanthienen
L.S., The subject basically covers the entire question: I would like to execute a JCR query from within an ESP page to get a set of nodes in the order I want (descending by date created). How can I do this? Thanks for any help, Gert

Accessing the version history

2008-04-15 Thread Gert Vanthienen
L.S., How can I access a node's version history in ESP? Right now, I have... <% history = currentNode.getVersionHistory(); out.println(history); versions = history.getAllVersions(); out.println(versions); %> The first println shows a VersionHistory object instance, but the subsequent ca

Re: Simplifying script paths and names?

2008-04-17 Thread Gert Vanthienen
L.S., As a user, I wouldn't mind having to change the paths of my scripts now if this improves developer usability by avoiding the 15-tabs-called-html.esp-in-gedit ;) Gert Bertrand Delacretaz wrote: On Thu, Apr 17, 2008 at 8:20 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: ...Rethinking

Generating links for 'previous version'

2008-04-21 Thread Gert Vanthienen
L.S., Once again, I'm looking for some help with the ESP script writing. This time, I would like to generate a link on a page to show the previous version of the page (in my case: I want to show the ServiceMix MessageExchange just before it got processed). Using the VersionHistory and Versi

Re: Convenient way for installing Sling in another OSGi container?

2008-04-21 Thread Gert Vanthienen
pure theoretical run-down ;-) Regards Felix Am Mittwoch, den 12.03.2008, 17:01 +0100 schrieb Gert Vanthienen: L.S., I'm trying to get Sling to run inside the ServiceMix 4 Kernel by looking at a running Sling /console to determine the list of bundles and manually copying them to SMX4

Re: What are the best practices used in Sling.

2008-04-25 Thread Gert Vanthienen
Janandith, Congratulations on your GSoC project! If you're looking for an example of a Maven pom.xml for use with Scala, we have one in Apache Camel [1] Regards, Gert [1] http://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-scala/pom.xml Felix Meschberger wrote: ... One

Unable to build trunk -- missing repositories

2008-07-21 Thread Gert Vanthienen
L.S., It has been a while since I built Sling on my machine, so my local repository doesn't have all the previous versions of poms and artifacts any more. This causes the build of the current trunk to fail -- mainly because: - it can't find version 3-incubator of the parent pom without the

ConstraintViolationException in initial content loading

2008-07-21 Thread Gert Vanthienen
hing child node definition found for {}servicemix I guess something has changed in between versions. What has changed and what do we need to change to get this initial content loaded again? Thanks, Gert Vanthienen

Re: ConstraintViolationException in initial content loading

2008-07-22 Thread Gert Vanthienen
Alex, Thanks for your help! We managed to get this working again by adding a .json file to specify the correct node types for the /content and /apps folder. Regards, Gert Alexander Klimetschek wrote: On Mon, Jul 21, 2008 at 4:19 PM, Gert Vanthienen <[EMAIL PROTECTED]> wrote:

Re: bundle deployment

2008-08-17 Thread Gert Vanthienen
Vladislav, I'm not even sure stopping the bundle is supposed to delete the contents from the repository. Just to give you an example: in our bundle, we create a /content/servicemix/exchanges node. You don't want to delete that one if the bundle is uninstalled because this would delete the e

Re: Maven based projects

2008-12-19 Thread Gert Vanthienen
Dominik, We have an example on how to do this in the Apache ServiceMix code sandbox (http://svn.eu.apache.org/viewvc/servicemix/sandbox/gertv/smx-sling/servicemix-sling-console/). This pom.xml will create a bundle that can be deployed on Sling. We just added the Felix bundle plugin and conf

[jira] Updated: (SLING-382) VersionHistoryImpl is incorrectly wrapped as a Node in server-side javascript

2008-04-15 Thread Gert Vanthienen (JIRA)
[ https://issues.apache.org/jira/browse/SLING-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gert Vanthienen updated SLING-382: -- Attachment: SLING-382.diff Bertrand, The WrapFactory.wrapAsJavaObject was indeed the cause of