Re: test failures

2009-03-31 Thread Bertrand Delacretaz
Hi, On Fri, Mar 27, 2009 at 6:44 AM, Jim White j...@pagesmiths.com wrote: I get the following test failures with the trunk (r758703) : Results : Failed tests: testRemoveAce(org.apache.sling.launchpad.webapp.integrationtest.accessManager.RemoveAcesTest)

How about renaming the bundles source code folder to core ?

2009-03-31 Thread Bertrand Delacretaz
Hi, The names of the subfolders at the top of the Sling source code tree all make sense to me, except bundles: bundles contrib launchpad maven parent samples site How about renaming bundles to core? That folder contains api commons engine extensions jcr scripting servlets Which IMHO fit well

Re: JCR Install next steps

2009-03-31 Thread Bertrand Delacretaz
Hi Felix, On Tue, Mar 24, 2009 at 5:34 PM, Felix Meschberger fmesc...@gmail.com wrote: ...Therefore, I think, we might want to refactor JCR Install along the following lines... Agree 100% with what you suggest, the experiences collected while working on jcrinstall should help us make it

[jira] Closed: (SLING-646) jcrinstall - take two

2009-03-31 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz closed SLING-646. - Resolution: Fixed Implemented, SLING-904 is the next step jcrinstall - take two

[jira] Created: (SLING-904) jcrinstall - take three

2009-03-31 Thread Bertrand Delacretaz (JIRA)
jcrinstall - take three --- Key: SLING-904 URL: https://issues.apache.org/jira/browse/SLING-904 Project: Sling Issue Type: Improvement Components: JCR Install Reporter: Bertrand Delacretaz

Re: Sling javadocs?

2009-03-31 Thread Bertrand Delacretaz
On Thu, Mar 19, 2009 at 7:04 PM, Jukka Zitting jukka.zitt...@gmail.com wrote: ...Something I look for every now and then. Do we have the javadocs of a) the latest trunk and b) the release up somewhere?... I don't think so...the best might be to have a continuous integration server generate

Re: SlingWebDavServlet serves resource not only below /dav?

2009-03-31 Thread Bertrand Delacretaz
Hi Marc, On Tue, Mar 17, 2009 at 2:46 PM, Marc Speck marcsp...@gmail.com wrote: While testing a custom bundle, I found that the SlingWebDavServlet also handles HTTP POST requests which are not below the root path (default /dav). Is this expected or a bug?... I don't think that's expected, but

Renaming SlingWebDavServlet? (was: SlingWebDavServlet serves resource not only below /dav?)

2009-03-31 Thread Bertrand Delacretaz
(still catching up with my Sling mail ;-) Hi, On Tue, Mar 17, 2009 at 2:46 PM, Marc Speck marcsp...@gmail.com wrote: ...You have also my vote if you want to rename org.apache.sling.jcr.webdav.impl.servlets.SimpleWebdavServlet. public class SimpleWebDavServlet extends SimpleWebdavServlet is

Public snapshots, javadocs and CI

2009-03-31 Thread Bertrand Delacretaz
Hi, There were questions recently about making public snapshots of Sling available, and also about making javadocs available. I'm not an expert w.r.t to configuration of continuous integration servers - could someone outline what's needed to make this happen? I assume we need the artifacts

[jira] Commented: (SLING-788) Provide /etc/cron.d/ style approach to scripting timed events

2009-03-31 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12694139#action_12694139 ] Bertrand Delacretaz commented on SLING-788: --- See http://markmail.org/message

Re: Renaming SlingWebDavServlet? (was: SlingWebDavServlet serves resource not only below /dav?)

2009-03-31 Thread Bertrand Delacretaz
On Tue, Mar 31, 2009 at 4:46 PM, Carsten Ziegeler cziege...@apache.org wrote: 2009/3/31 Bertrand Delacretaz bdelacre...@apache.org I agree that this can be confusing, do people agree about renaming the Sling servlet, to SlingSimpleWebDavServlet, maybe? ...I'm fine with the name change

Welcome Vidar Ramdal as our new Sling committer!

2009-03-30 Thread Bertrand Delacretaz
Hi, Vidar Ramdal has been active on the Sling mailing list since January 2008, has made sustained contributions of good code in the last few months, is giving helpful help and advice and regularly participates in technical discussions. As a result, the Sling PPMC and the Incubator PMC recently

Re: Integration with Magnolia

2009-03-24 Thread Bertrand Delacretaz
Hi, On Mon, Mar 23, 2009 at 9:10 PM, Tyson Norris tnor...@organic.com wrote: ... Similarly, sling requires (albeit fewer) special nodes to help dictate rendering (correct me if I'm wrong on this...). The sling:resourceType property is the standard way of telling Sling how to process a

[jira] Closed: (SLING-587) JcrBundlesManager

2009-03-23 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz closed SLING-587. - Resolution: Fixed agree about closing JcrBundlesManager

Re: JCR Explorer (was: Summer of Code is upon us)

2009-03-20 Thread Bertrand Delacretaz
Hi Glenn, On Fri, Mar 20, 2009 at 1:05 AM, Glenn Silverman gl...@glenn3.securesites.net wrote: ...Bundlizing a GWT application that runs correctly in Sling needs a workaround to access the generated nocache.js Did you have a look at the Sling code under /contrib/extensions/gwt? I'm not

Re: JCR Explorer

2009-03-20 Thread Bertrand Delacretaz
Hi, On Fri, Mar 20, 2009 at 5:07 PM, Glenn Silverman gl...@glenn3.securesites.net wrote: Yes, I tried building from /contrib/extensions/gwt, but got the following error: 1 required artifact is missing. for artifact:  

Summer of Code is upon us

2009-03-19 Thread Bertrand Delacretaz
Hi, I've just added a Sling-based proposal for the Google Summer of Code 2009 at http://wiki.apache.org/general/SummerOfCode2009#sling-wikipedia More project ideas and mentors are welcome! -Bertrand

Re: Summer of Code is upon us

2009-03-19 Thread Bertrand Delacretaz
On Thu, Mar 19, 2009 at 10:42 AM, Christophe Lombart More project ideas and mentors are welcome!... ...What about a JCR browser and some admin tools for Sling (user/group management, ...) ?... Sure - a JCR browser with OSGi-based plugins selected based on node type/path/properties/phase of

Re: Summer of Code is upon us

2009-03-19 Thread Bertrand Delacretaz
Hi Valentin, On Thu, Mar 19, 2009 at 12:01 PM, Valentin Jacquemin jacquem...@gmail.com wrote: I proposed a prototype for the JCR browser sometime ago on the mailing list but just to know, will it be a project assigned to a GSoc student?... Yes, sorry I didn't reply to your proposal. Totally

JCR Explorer (was: Summer of Code is upon us)

2009-03-19 Thread Bertrand Delacretaz
On Thu, Mar 19, 2009 at 12:37 PM, Christophe Lombart christophe.lomb...@gmail.com wrote: 2009/3/19 Bertrand Delacretaz bdelacre...@apache.org ... Ok - a good JCR explorer is something that many of us are looking forward to, and it's not a trivial task, and Sling's OSGi plugins open some very

Re: JCR Explorer (was: Summer of Code is upon us)

2009-03-19 Thread Bertrand Delacretaz
On Thu, Mar 19, 2009 at 2:24 PM, Christophe Lombart christophe.lomb...@gmail.com wrote: 2009/3/19 Bertrand Delacretaz bdelacre...@apache.org Sure - creating a minimal kernel that allows for editing plugins would be a good start. Just to avoid confusion ... What do you mean by editing

Re: JCR Explorer (was: Summer of Code is upon us)

2009-03-19 Thread Bertrand Delacretaz
On Thu, Mar 19, 2009 at 5:38 PM, Torgeir Veimo torg...@pobox.com wrote: ...There's a limit to what you can do without any server side component though, and I think that determining which capabilities to incorporate into that component is much more interesting than the client side javascript

Re: JCR Explorer (was: Summer of Code is upon us)

2009-03-19 Thread Bertrand Delacretaz
On Thu, Mar 19, 2009 at 6:19 PM, Carsten Ziegeler cziege...@apache.org wrote: Just to add my 2 cents: as we're talking about sling here, the explorer should rather be based on the resource tree and not be tied directly to jcr Agreed, and that wouldn't prevent connecting it to any

Re: Custom Sling War

2009-03-17 Thread Bertrand Delacretaz
2009/3/16 Juan José Vázquez Delgado juanjo.vazq...@gmail.com: ...it should be nice to have a way to override some component properties when building a custom sling app. Maybe you can make use of Apache Felix File Install [1] (but i´m not sure about this) The sling jcrinstall module [1]

Re: Custom Sling War

2009-03-17 Thread Bertrand Delacretaz
On Tue, Mar 17, 2009 at 7:53 AM, Bertrand Delacretaz bdelacre...@apache.org wrote: ...The sling jcrinstall module [1] is similar in scope, but more integrated with Sling forgot the ref: [1] http://svn.apache.org/repos/asf/incubator/sling/trunk/contrib/extensions/jcrinstall -Bertrand

Re: JCR/Sling meetup in Amsterdam, confirmed? (was: sling for apachecon site)

2009-03-16 Thread Bertrand Delacretaz
On Sun, Mar 15, 2009 at 5:03 PM, Arje Cahn a.c...@onehippo.com wrote: ...Tuesday is OK, but conflicting with the Lucene Meetup. Since there might be quite some people from Jackrabbit interested in Lucene, I thought it would be good to at least mention this to you. I can't move Lucene to

Re: JCR/Sling meetup in Amsterdam, confirmed? (was: sling for apachecon site)

2009-03-16 Thread Bertrand Delacretaz
On Mon, Mar 16, 2009 at 10:56 AM, Jukka Zitting jukka.zitt...@gmail.com wrote: ...I'd personally rather not overlay the JCR and Lucene meetups, and the Tuesday evening is already pretty crowded with the committers reception also taking place. Having the meetup on Monday would further detract

JCR/Sling meetup in Amsterdam, confirmed? (was: sling for apachecon site)

2009-03-14 Thread Bertrand Delacretaz
On Fri, Mar 13, 2009 at 3:47 PM, Torgeir Veimo torg...@pobox.com wrote: On 13 Mar 2009, at 15:23, David Nuescheler wrote: i am trying to make it out to apache con europe, but i am not sure that i definitely will make it. Is the informal get-together happening? I seem to recall that there

Re: ESP vs. JSP vs. ?

2009-03-10 Thread Bertrand Delacretaz
Hi Andreas, On Mon, Mar 9, 2009 at 8:58 PM, Andreas Hartmann andr...@apache.org wrote: from your experience – is there any significant difference between the scripting languages?... Here's my personal opinion, comparing ESP to JSP, YMMV ;-) I'm biased, as a big fan of server-side javascript.

Re: Pipeline support

2009-03-10 Thread Bertrand Delacretaz
Hi Juanjo, On Tue, Mar 10, 2009 at 9:47 AM, Juan José Vázquez Delgado juanjo.vazq...@gmail.com wrote: ...After some work, the pipeline support prototype [1] has ended up as follows:... Cool stuff! Still haven't tested it, shame on me...but your description looks great. Just two quick comments

Re: Pipeline support

2009-03-10 Thread Bertrand Delacretaz
On Tue, Mar 10, 2009 at 10:43 AM, Juan José Vázquez Delgado juanjo.vazq...@gmail.com wrote: ...1. A XML pipeline is expressed as a W3C XProc [2] file with xpl extension Is this xpl extension standard? If you're choosing your own I'd prefer not having an L at the end as it's too easy to

Re: How can I realize authentication in sling?

2009-03-10 Thread Bertrand Delacretaz
On Tue, Mar 10, 2009 at 11:59 AM, Andreas Hartmann andr...@apache.org wrote: ...thanks a lot, I managed to enable OpenID authentication. Now I have to figure out how to set write permissions (I'm getting a javax.jcr.AccessDeniedException when I send a post request). The entry barrier to get

Re: How can I realize authentication in sling?

2009-03-10 Thread Bertrand Delacretaz
Hi Andreas, On Tue, Mar 10, 2009 at 1:03 PM, Andreas Hartmann andr...@apache.org wrote: ...I hope I'll find the time to document my findings. Actually there is a lot of documentation, but it is distributed in various places – the Sling website, mailing list, dev.day.com blog etc. Maybe some

Re: eventListener doesn't work

2009-03-09 Thread Bertrand Delacretaz
2009/3/8 vkrejcirik vkrejci...@gmail.com: i have this in my code... FWIW, the Sling espblog sample includes an event listener, you might want to compare [1] with your code. -Bertrand [1]

Re: Jackrabbit User Admininstration

2009-03-05 Thread Bertrand Delacretaz
On Thu, Mar 5, 2009 at 11:27 AM, Carsten Ziegeler cziege...@apache.org wrote: ...from now on we should really add new bundles to contrib first. Always Agree with that as the default. Rules are made to be broken though - never say never ;-) -Bertrand

Re: SLING-857 patch

2009-03-02 Thread Bertrand Delacretaz
On Mon, Mar 2, 2009 at 11:22 AM, Vidar Ramdal vi...@idium.no wrote: ...I have attached a patch for the testcase to the JIRA issue Fantastic, thanks! Patch applied. -Bertrand

Re: SLING-857 patch

2009-03-01 Thread Bertrand Delacretaz
Hi Vidar, On Fri, Feb 27, 2009 at 2:43 PM, Vidar Ramdal vi...@idium.no wrote: Any change of having the SLING-857 patch (reviewed and possibly) commited any day soon? Pretty-please-with-sugar-on-top?... I had a look now that Felix committed that patch, and IIUC there are no automated tests for

Re: StarResource.adaptTo(Node.class)

2009-02-24 Thread Bertrand Delacretaz
On Tue, Feb 24, 2009 at 2:38 PM, Felix Meschberger fmesc...@gmail.com wrote: Bertrand Delacretaz schrieb: ...Although I agree with the intention, I think the edit the magic star to create content use case is a valid one, and we need to provide an alternative before breaking

Re: StarResource.adaptTo(Node.class)

2009-02-24 Thread Bertrand Delacretaz
Hi, 2009/2/24 Felix Meschberger fmesc...@gmail.com: ...SLING-344 [1] added the StarResource [2] to support requests to explicitly unknown resources like /* or /*.html. One feature of this class is, that it adapts to a FakeNode Yes, the use case for that is when building a simple CRUD

Re: [Proposal] Script resolution: Consider request extension for all methods

2009-02-23 Thread Bertrand Delacretaz
On Mon, Feb 23, 2009 at 1:51 PM, Alexander Klimetschek aklim...@day.com wrote: On Mon, Feb 23, 2009 at 1:09 PM, Felix Meschberger fmesc...@gmail.com wrote: So I would even go a step further define the name of scripts considered for request processing as follows: [ (parent | selector) ] [

[jira] Created: (SLING-869) Three tests fail in contrib integration tests

2009-02-23 Thread Bertrand Delacretaz (JIRA)
Environment: macosx, JDK 1.6.0_07 Reporter: Bertrand Delacretaz mvn clean install in contrib fails for me: [INFO] Building Apache Sling Launchpad Contrib Testing ... [ Failed tests: testAptDocument(org.apache.sling.launchpad.webapp.integrationtest.apt.SimpleAptRenderingTest

Re: How can I automatic run my project in sling ?

2009-02-05 Thread Bertrand Delacretaz
Hi, On Thu, Feb 5, 2009 at 10:29 AM, yanshaozhiGmail yanshaozhi...@gmail.com wrote: ...can anyone tell me a method to automatic run my project in sling ?... Not sure what you mean, we need a more specific description of what you're trying to achive - run my project doesn't have a specific

[jira] Commented: (SLING-848) Support getting versioned resources by using uri path parameters

2009-02-05 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12670717#action_12670717 ] Bertrand Delacretaz commented on SLING-848: --- i'd rather see a global query

Re: Re: How can I automatic run my project in sling ?

2009-02-05 Thread Bertrand Delacretaz
Hi, On Thu, Feb 5, 2009 at 12:51 PM, yanshaozhiGmail yanshaozhi...@gmail.com wrote: ...You can think that I made a copy of launch app project , I think I should change the pom.xml to include other projects , in other projects there are servlet with osgi service , how can I make the

Re: Sling board report is due February 11th

2009-02-05 Thread Bertrand Delacretaz
On Thu, Feb 5, 2009 at 1:09 PM, Felix Meschberger fmesc...@gmail.com wrote: ...As usual our report is being prepared in the Wiki at [1]. So please have a look and extend and fix. Thanks... Thanks Felix - I made a few minor changes. -Bertrand [1]

[jira] Assigned: (SLING-738) Make jcrinstall folder names runmode-aware

2009-02-05 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz reassigned SLING-738: - Assignee: Bertrand Delacretaz Make jcrinstall folder names runmode-aware

[jira] Commented: (SLING-848) Support getting versioned resources by using uri path parameters

2009-02-04 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12670273#action_12670273 ] Bertrand Delacretaz commented on SLING-848: --- I think /content/home/tobi.html;v

Re: Groovlets and Groovy Server Pages

2009-02-04 Thread Bertrand Delacretaz
Hi, On Wed, Feb 4, 2009 at 10:51 AM, Felix Meschberger fmesc...@gmail.com wrote: ...How about creating a ScriptEngineFactory, which supports these by treating scripts with the .groovlet extension as Groovlets and scripts with the .gsp extension as Groovy Server Pages +1 ...Is this

[jira] Commented: (SLING-549) Scala script engine

2009-02-02 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12669581#action_12669581 ] Bertrand Delacretaz commented on SLING-549: --- Thanks Felix for taking care

[jira] Created: (SLING-846) IllegalStateException: The service registration is no longer valid at launchpad tests shutdown

2009-01-30 Thread Bertrand Delacretaz (JIRA)
Project: Sling Issue Type: Bug Components: Launchpad Environment: macosx, JDK 1.5 Reporter: Bertrand Delacretaz Priority: Minor Attachments: ise-trace.txt Got this while running a full build of the current trunk (revision

[jira] Commented: (SLING-846) IllegalStateException: The service registration is no longer valid at launchpad tests shutdown

2009-01-30 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12668853#action_12668853 ] Bertrand Delacretaz commented on SLING-846: --- Currently -- for Sling -- we have

Re: Integration Tests

2009-01-29 Thread Bertrand Delacretaz
On Thu, Jan 29, 2009 at 9:21 AM, Felix Meschberger fmesc...@gmail.com wrote: Felix Meschberger schrieb: It seems that currently not all integration tests seem to be successfull. I am working on this. The integration tests are now running fine again (at least on my platform). The jcrinstall

Re: Provide version-independent command(s) to start launchpad?

2009-01-28 Thread Bertrand Delacretaz
On Wed, Jan 28, 2009 at 5:46 PM, Jim White j...@pagesmiths.com wrote: ...Of course an executable JAR is even better if it suits the application... The launchpad/app jar is executable, you don't need ant to run it. -Bertrand

Re: Script Naming Convention

2009-01-19 Thread Bertrand Delacretaz
On Mon, Jan 19, 2009 at 12:14 PM, Carsten Ziegeler cziege...@apache.org wrote: Felix Meschberger wrote: ...So, the resource collector has now knowledge here and handling .java scripts specially at this place is an absolute no-go (IMHO). But what about delegating the resolution to the script

Re: Error in bundle installation using maven-sling-plugin

2009-01-19 Thread Bertrand Delacretaz
On Mon, Jan 19, 2009 at 1:56 PM, Carsten Ziegeler cziege...@apache.org wrote: Bertrand Delacretaz wrote: ...I'm thinking of something like http://localhost:/system/console/info.properties which returns console-version: 1.2.2 installed-plugins: foo, bar... The web console already

[jira] Commented: (SLING-830) Startup failure when after a full build of Sling.

2009-01-15 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12664130#action_12664130 ] Bertrand Delacretaz commented on SLING-830: --- The launchpad/app jar works for me

Re: Updating the Felix Framework used to launch Sling

2009-01-14 Thread Bertrand Delacretaz
On Tue, Jan 13, 2009 at 8:01 PM, Carsten Ziegeler cziege...@apache.org wrote: Excellent stuff!!! I think we should move this to trunk. +1 (assuming integration tests still work after that ;-) Having minimal bootstrap code for both app and webapp is cool! -Bertrand

Re: Initialization of properties in OSGi service

2009-01-13 Thread Bertrand Delacretaz
On Tue, Jan 13, 2009 at 12:15 PM, Felix Meschberger fmesc...@gmail.com wrote: Juan José Vázquez Delgado schrieb: ...but what happens for instance if you want the property being initialized from the result of a method accesing to bundle context?... ...You can do that in the activator method

Re: Initialization of properties in OSGi service

2009-01-13 Thread Bertrand Delacretaz
Hi Juanjo, On Tue, Jan 13, 2009 at 1:37 PM, Juan José Vázquez Delgado juanjo.vazq...@gmail.com wrote: I have tried this: protected void activate(ComponentContext context) throws IOException { // the bundle context BundleContext bundleContext = context.getBundleContext();

[jira] Commented: (SLING-824) Build fails due to multiple test failures. (Could not initialize class org.apache.commons.httpclient.HttpClient)

2009-01-13 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12663356#action_12663356 ] Bertrand Delacretaz commented on SLING-824: --- The build process succeeded after I

Re: create new node

2009-01-12 Thread Bertrand Delacretaz
On Mon, Jan 12, 2009 at 12:56 PM, Juan José Vázquez Delgado juanjo.vazq...@gmail.com wrote: Hi Francisco, javax.jcr.nodetype.ConstraintViolationException: no definition found in parent node's node type for new node: no matching child node definition found for {}a: no matching child node

[jira] Commented: (SLING-820) Implement OSGi User Admin Service on JCR

2009-01-09 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12662324#action_12662324 ] Bertrand Delacretaz commented on SLING-820: --- Sling is IMHO the home

Re: why sling can't be built

2009-01-07 Thread Bertrand Delacretaz
Hi, On Wed, Jan 7, 2009 at 12:10 PM, yanshaozhiGmail yanshaozhi...@gmail.com wrote: ...[INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to

Re: script selector when resource has no resourceType property

2009-01-07 Thread Bertrand Delacretaz
Hi, On Sat, Jan 3, 2009 at 5:21 AM, Torgeir Veimo torg...@pobox.com wrote: ...Ok, I found the configuration for DefaultResourceTypeProvider. However, looking at the source for this component, it seem to be used only for node types of type nt:unstructured?... That's correct, and maybe that

Re: Implicit dependencies in launchpad/app pom.xml (was: why sling can't be built)

2009-01-07 Thread Bertrand Delacretaz
On Wed, Jan 7, 2009 at 1:50 PM, Felix Meschberger fmesc...@gmail.com wrote: ...So it seems, that if the module is registered in the root pom (as I have done in Rev. 732275 and no further dependency registration is thus required Doesn't work for me, details in SLING-815. -Bertrand

Re: script selector when resource has no resourceType property

2009-01-07 Thread Bertrand Delacretaz
On Wed, Jan 7, 2009 at 2:00 PM, Torgeir Veimo torg...@pobox.com wrote: On 7 Jan 2009, at 22:25, Felix Meschberger wrote: * otherwise use primary node type Shouldn't node type determination be scriptable like other things in sling? You could implement that in a custom JcrResourceTypeProvider

Re: [newbie] WebDav - Content Negociation

2009-01-06 Thread Bertrand Delacretaz
Hi, On Mon, Jan 5, 2009 at 9:46 PM, JY cronier...@gmail.com wrote: ...For example: The page http://example.com/main can be modified by one of this file : / |- main.html (for modifications with an HTML Editor like DreamWeaver) |- main.doc (for modifications with MS Office) |- main.odt

[jira] Assigned: (SLING-757) Cannot configure SlingAuthenticator anonymous access setting, need webconsole update

2009-01-06 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz reassigned SLING-757: - Assignee: Bertrand Delacretaz Cannot configure SlingAuthenticator anonymous

[jira] Closed: (SLING-757) Cannot configure SlingAuthenticator anonymous access setting, need webconsole update

2009-01-06 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz closed SLING-757. - Resolution: Fixed Updated launchpad modules to Felix webconsole 1.2.2 (which now requires

[jira] Commented: (SLING-513) How to run the JCR Explorer with Sling?

2009-01-06 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12661147#action_12661147 ] Bertrand Delacretaz commented on SLING-513: --- I have written a blog post at http

Re: dev/deployment question

2009-01-06 Thread Bertrand Delacretaz
Hi Jason, On Tue, Jan 6, 2009 at 7:27 PM, Jason Pratt jpratt3...@gmail.com wrote: ... 1. since this project is not in the sling trunk, do i still need to refer to the sling parent pom?... No, this is only a convenience in our samples, it's probably better for your to manage your

Re: A question about sling launchpad

2009-01-05 Thread Bertrand Delacretaz
Hi, On Mon, Jan 5, 2009 at 3:04 PM, yanshaozhiGmail yanshaozhi...@gmail.com wrote: ...2009-01-05 21:48:43.616:/:WARN: ERROR: Error starting slinginstall:org.apache.sling.jcr.ocm-2.0.3-i ncubator-SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved package in bundle 31: package;

[jira] Reopened: (SLING-760) Filter characters in http error messages

2009-01-05 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz reopened SLING-760: --- Filter characters in http error messages

Re: Dependency Management

2009-01-05 Thread Bertrand Delacretaz
Hi Felix, On Mon, Jan 5, 2009 at 11:40 AM, Felix Meschberger fmesc...@gmail.com wrote: ...There may be some shades of gray, though: If the 1.1 versions is really that buggy, the bundle itself may of course request version 1.1.4, esp. if the operation of the bundle cannot be guaranteed with any

[jira] Resolved: (SLING-760) Filter characters in http error messages

2009-01-05 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-760. --- Resolution: Fixed Fix Version/s: (was: Engine 2.0.4

Re: default node type for webdav collections

2009-01-03 Thread Bertrand Delacretaz
Hi, On Sat, Jan 3, 2009 at 7:09 AM, Torgeir Veimo torg...@pobox.com wrote: ...If I take the current sling svn trunk code, do a mvn install in the root, then a mvn install in launchpad/webapp, then use the resulting war file in the target directory, then I should get the latest sling trunk

Re: json on root node

2008-12-24 Thread Bertrand Delacretaz
Hi, On Wed, Dec 24, 2008 at 4:09 AM, Torgeir Veimo torg...@pobox.com wrote: On 24 Dec 2008, at 01:43, Bertrand Delacretaz wrote: ...Fixed, see https://issues.apache.org/jira/browse/SLING-795... Updating to current trunk, I'm still getting the same exception.. Is there a way to check runtime

[jira] Created: (SLING-795) JSON dump of / children fails due to /system synthetic resource

2008-12-23 Thread Bertrand Delacretaz (JIRA)
Components: Servlets Get Reporter: Bertrand Delacretaz Priority: Minor Fix For: Servlets Get 2.0.4 Requesting http://localhost:8080/.1.json for example fails with org.apache.sling.commons.json.JSONException: Misplaced endArray -- This message is automatically

[jira] Assigned: (SLING-795) JSON dump of / children fails due to /system synthetic resource

2008-12-23 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz reassigned SLING-795: - Assignee: Bertrand Delacretaz JSON dump of / children fails due to /system

[jira] Closed: (SLING-795) JSON dump of / children fails due to /system synthetic resource

2008-12-23 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz closed SLING-795. - Resolution: Fixed Fixed in revision 729005, by not recursing into synthetic resources

Re: json on root node

2008-12-23 Thread Bertrand Delacretaz
On Mon, Dec 22, 2008 at 2:00 AM, Torgeir Veimo torg...@pobox.com wrote: Using http://localhost:8080/.json works, but trying http://localhost:8080/.infinity.json or http://localhost:8080/.1.json gives me an exception and error 500;... Fixed, see https://issues.apache.org/jira/browse/SLING-795

Re: json on root node

2008-12-23 Thread Bertrand Delacretaz
On Tue, Dec 23, 2008 at 5:41 PM, Rory Douglas rory.doug...@oracle.com wrote: I had a similar issue dumping bundle resources (e.g. extensions/dojo content), does this fix address this too? I haven't tested that one (that's the http://localhost:/dojo.1.json mentioned in this thread I

Re: Maven based projects

2008-12-19 Thread Bertrand Delacretaz
Hi Dominik, On Fri, Dec 19, 2008 at 9:45 AM, Dominik Süß dominik.su...@gmail.com 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

Re: User identity for event scripts (was: [jira] Created: (SLING-788)...)

2008-12-19 Thread Bertrand Delacretaz
On Fri, Dec 19, 2008 at 4:38 PM, Lars Trieloff ltrie...@day.com wrote: I doubt that. On my Gentoo box with Vixie-Cron I can find following statements in the crontab: */10 * * * * roottest -x /usr/sbin/run-crons /usr/sbin/run-crons which means it is more or less hardcoded that root

User identity for event scripts (was: [jira] Created: (SLING-788)...)

2008-12-18 Thread Bertrand Delacretaz
Hi, On Thu, Dec 18, 2008 at 5:25 PM, Lars Trieloff (JIRA) j...@apache.org wrote: Key: SLING-788 ...I would like to be able to script scheduled events in an easy fashion that works just like the /etc/cron.d/ directory on my Linux server: I put a shell script into

[jira] Created: (SLING-783) SlingPostServlet's jcr:mixinTypes parameter is not tested

2008-12-17 Thread Bertrand Delacretaz (JIRA)
: Testing Reporter: Bertrand Delacretaz I don't think we have tests for the jcr:mixinTypes parameter of the SlingPostServlet. The description of that feature at http://incubator.apache.org/sling/site/manipulating-content-the-slingpostservlet.html is also incomplete, there's no example

[jira] Resolved: (SLING-691) support for Python

2008-12-17 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-691. --- Resolution: Fixed Assignee: Bertrand Delacretaz Patches committed in revision

Re: Using JSTL core taglib

2008-12-16 Thread Bertrand Delacretaz
On Tue, Dec 16, 2008 at 8:21 AM, Felix Meschberger fmesc...@gmail.com wrote: ...The JSTL is not included in the scripting/jsp project and must be deployed separately. But it would probably make sense to include it with out scripting/jsp-taglib bundle Or as a specific script/jsp-jstl

Re: Upgrade to Jackrabbit 1.5 (was: user management)

2008-12-12 Thread Bertrand Delacretaz
On Fri, Dec 12, 2008 at 10:12 AM, Felix Meschberger fmesc...@gmail.com wrote: ...Now that the Jackrabbit project has released 1.5 which contains a lot of new functionality and even initial implementation of JSR-283 functionality, it would probably good to upgrade our Jackrabbit dependencies to

[jira] Created: (SLING-768) jcrinstall: bundle not reactivated after adding and removing a newer version of the same bundle

2008-12-12 Thread Bertrand Delacretaz (JIRA)
Project: Sling Issue Type: Bug Components: JCR Install Reporter: Bertrand Delacretaz Priority: Minor Scenario: 1. Install a bundle V1.0 by copying it to the repository under /libs/install 2. Copy bundle V1.1 to /libs/install - jcrinstall

[jira] Updated: (SLING-757) Cannot configure SlingAuthenticator anonymous access setting, need webconsole update

2008-12-12 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-757: -- Summary: Cannot configure SlingAuthenticator anonymous access setting, need webconsole

[jira] Commented: (SLING-757) Cannot configure SlingAuthenticator anonymous access setting, need webconsole update

2008-12-12 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12655954#action_12655954 ] Bertrand Delacretaz commented on SLING-757: --- I talked to (our) Felix and he says

[jira] Commented: (SLING-768) jcrinstall: bundle not reactivated after adding and removing a newer version of the same bundle

2008-12-12 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12655960#action_12655960 ] Bertrand Delacretaz commented on SLING-768: --- I assume you mean V1.0 is updated

[jira] Created: (SLING-770) Integration tests fail due to change in default rendering semantics

2008-12-12 Thread Bertrand Delacretaz (JIRA)
Components: Testing Reporter: Bertrand Delacretaz The changes of SLING-723 cause many launchpad/testing tests to fail, as they expect that a node URL without extension produces the default .txt rendering. After SLING-723, requesting /foo redirects to /foo/ instead of acting like

[jira] Closed: (SLING-770) Integration tests fail due to change in default rendering semantics

2008-12-12 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz closed SLING-770. - Resolution: Fixed Fixed in revision 726016 - that revision is a good example of what

Re: Path component disappears

2008-12-12 Thread Bertrand Delacretaz
Hi Rory, On Fri, Dec 12, 2008 at 10:07 PM, Rory Douglas rory.doug...@oracle.com wrote: ...If I browse to http://localhost:/sample/content/test/entries (i.e no selectors or extension), I get redirected to http://localhost:/sample/test/entries/... Yes, this recently changed (see

Re: Reference Properties

2008-12-12 Thread Bertrand Delacretaz
Hi Darrell, On Wed, Dec 3, 2008 at 7:24 PM, Darrell Pittman darrell.pitt...@zeditsolutions.com wrote: ... Is there a way to post an html form in sling and have it automatically create a REFERENCE property or do I have to handle to post in code and create the REFERENCE property manually The

Re: Data Validation

2008-12-11 Thread Bertrand Delacretaz
Hi Darrell, On Tue, Dec 9, 2008 at 6:22 PM, Darrell Pittman [EMAIL PROTECTED] wrote: ...I see what I have to do, thanks. Is there any plan to incorporate some kind of validation functionality in the future?... I don't think we have a concrete plan to do that, but a validation framework would

[jira] Created: (SLING-762) jcrinstall sets the framework's start level to its own start level when stopped

2008-12-09 Thread Bertrand Delacretaz (JIRA)
Issue Type: Bug Components: JCR Install Reporter: Bertrand Delacretaz Priority: Minor Fix For: JCR Install 2.0.4 jcrinstall brings the start level down to its own start level if the repository disappears, which is fine (see SLING-747), but should

[jira] Created: (SLING-763) Install bundles at the default framework start level

2008-12-09 Thread Bertrand Delacretaz (JIRA)
Reporter: Bertrand Delacretaz Priority: Minor Fix For: JCR Install 2.0.4 Currently jcrinstall installs bundles at a specific, configurable start level (SLING-747). This is not needed, as long as jcrinstall is installed at a level lower than the platform's

<    1   2   3   4   5   6   7   8   9   10   >