[jira] Resolved: (SLING-383) Add simple JavaScript (Rhino) Wrappers for Version and VersionHistory interfaces

2008-04-30 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-383. --- Resolution: Fixed Committed in revision 652323 > Add simple JavaScript (Rh

Re: [RT] Cleaning up our modules (Part II)

2008-04-30 Thread Bertrand Delacretaz
On Wed, Apr 30, 2008 at 11:24 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > Ok, this is part two :) ... Hmm..just wondering how many episodes we signed up for ;-) > ... I think the extensions folder is great as well and it should contain > useful > extensions new Sling users do not need to w

Re: [RT] Cleaning up our modules (Part I)

2008-04-30 Thread Bertrand Delacretaz
On Tue, Apr 29, 2008 at 5:28 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ... So, wrapping up: > a) "commons" is a place for common code/bundles which is not directly tied > to Sling (but used by Sling) > b) We move the stuff from the "osgi" dir to "better places" > c) osgi/assembly -> san

[jira] Updated: (SLING-383) Add simple JavaScript (Rhino) Wrappers for Version and VersionHistory interfaces

2008-04-30 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-383: -- Attachment: SLING-383.patch I'm getting connection reset by peer (

[jira] Assigned: (SLING-383) Add simple JavaScript (Rhino) Wrappers for Version and VersionHistory interfaces

2008-04-29 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz reassigned SLING-383: - Assignee: Bertrand Delacretaz > Add simple JavaScript (Rhino) Wrappers

[jira] Resolved: (SLING-154) Allow access to Node and Property Methods on ScriptableNode and ScriptableProperty

2008-04-29 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-154. --- Resolution: Fixed SLING-397 should give access to all Node and Property methods, and

[jira] Resolved: (SLING-399) Remove useless launchpad.app bundle from launchpad.webapp

2008-04-29 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-399. --- Resolution: Fixed Patch committed in revision 652270 > Remove useless launchpad.

[jira] Resolved: (SLING-397) Generate javascript wrapper methods from specific interfaces automatically

2008-04-29 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-397. --- Resolution: Fixed Patch committed in revision 652268 > Generate javascript wrap

[jira] Resolved: (SLING-396) RepositoryAccessor cannot cast to Repository anymore

2008-04-29 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-396. --- Resolution: Fixed Patch applied in revision 652267 > RepositoryAccessor cannot c

[jira] Updated: (SLING-399) Remove useless launchpad.app bundle from launchpad.webapp

2008-04-29 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-399: -- Attachment: SLING-399.patch Will apply this patch when SVN write access is back

[jira] Created: (SLING-399) Remove useless launchpad.app bundle from launchpad.webapp

2008-04-29 Thread Bertrand Delacretaz (JIRA)
: Launchpad Reporter: Bertrand Delacretaz Priority: Minor Attachments: SLING-399.patch The launchpad.app bundle is not used by the webapp, which only depends on it to get the same list of dependencies. Removing the extra bundle will make the webapp 20MB slimmer

Re: Moving default-rtp to samples?

2008-04-29 Thread Bertrand Delacretaz
On Tue, Apr 29, 2008 at 5:11 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ...I think we should move the integration tests to a separate module > as ewll As long as they run automatically and can also be run against a separate Sling instance, I'm fine. We'll have to find a way for bundle

Re: Moving default-rtp to samples?

2008-04-29 Thread Bertrand Delacretaz
On Tue, Apr 29, 2008 at 4:55 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ... For what is it used there?... Integration tests only at the moment, which verify that the mechanism works. But I suspect we'll use it for examples as well, once we finally create them ;-) -Bertrand

[jira] Updated: (SLING-397) Generate javascript wrapper methods from specific interfaces automatically

2008-04-29 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-397: -- Attachment: SLING-397.patch Patch that uses a different mechanism than initially

Re: Moving default-rtp to samples?

2008-04-29 Thread Bertrand Delacretaz
On Tue, Apr 29, 2008 at 4:47 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ... I think we should move the default-rtp bundle from the jcr dir to the > samples. It's a nice little module which more servers as a sample Agreed, but note that it is used by launchpad/app (which is itself also k

[jira] Created: (SLING-397) Generate javascript wrapper methods from specific interfaces automatically

2008-04-29 Thread Bertrand Delacretaz (JIRA)
Type: Improvement Components: Scripting Reporter: Bertrand Delacretaz Assignee: Bertrand Delacretaz As discussed http://markmail.org/message/nrnuw2gad5z5wupx, it would be useful to have a way to autogenerate javascript wrappers, while allowing some methods to be

[jira] Closed: (SLING-282) missing node functions in node wrapper

2008-04-29 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz closed SLING-282. - Resolution: Fixed Works, closing > missing node functions in node wrap

[jira] Updated: (SLING-396) RepositoryAccessor cannot cast to Repository anymore

2008-04-29 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-396: -- Attachment: SLING-396.patch The cause was a missing jcr-client.properties in the

Re: Repository classloading problem with RepositoryAccessor, any hints?

2008-04-29 Thread Bertrand Delacretaz
On Mon, Apr 28, 2008 at 5:25 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ... I'm not 100% sure, but I don't think that this is caused by a change in > Sling. It might be caused by changes in the repository implementation you > use? Perhaps some other classes are missing in the global class l

[jira] Created: (SLING-396) RepositoryAccessor cannot cast to Repository anymore

2008-04-29 Thread Bertrand Delacretaz (JIRA)
Reporter: Bertrand Delacretaz My custom Sling webaapp gets a Repository via JNDI from another webapp, and up to Sling revision 651211 that works fine - I have added jcr.jar to the global libraries of my web container, so that both webapps get the same Repository interface definition

Re: Simplifying script paths and names?

2008-04-29 Thread Bertrand Delacretaz
Hi, On Mon, Apr 28, 2008 at 5:33 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...After re-reading this proposal and discussing it with David, also > considering any consequences with respect to backwards compatibility, > performance and usability, I would like to summarize, what we came u

Repository classloading problem with RepositoryAccessor, any hints?

2008-04-28 Thread Bertrand Delacretaz
Hi, I'm currently hunting a bug where the org.apache.sling.jcr.base.util.RepositoryAccessor cannot cast an object acquired via JNDI to Repository, although the object does implement the Repository interface. That Repository object is initialized in a different webapp than the one which runs Sling.

Re: Simplifying script paths and names?

2008-04-28 Thread Bertrand Delacretaz
Hi, On Sun, Apr 27, 2008 at 1:37 PM, David Nuescheler <[EMAIL PROTECTED]> wrote: > ... i think that it is probably the easiest if toby and i come up with a > proposal > as an actual patch that suits our needs and experiences from a users > perspective and meets the performance requirements, and

Re: Apache Sling wins 5. Prize at the JAX Innovation Award

2008-04-28 Thread Bertrand Delacretaz
On Fri, Apr 25, 2008 at 1:40 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ... PS: Felix likes to thank Carsten for making this possible by initially > submitting Apache Sling for this award !... And we thank you guys for making this happen! -Bertrand

Re: What are the best practices used in Sling.

2008-04-28 Thread Bertrand Delacretaz
Hi, On Fri, Apr 25, 2008 at 1:39 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Am Freitag, den 25.04.2008, 00:48 +0600 schrieb janandith jayawardena: > > > 1. If there is any preferred coding standard used. > > We have no special coding standard. As such we generally adhere to the > d

Re: IncludeTest fails

2008-04-28 Thread Bertrand Delacretaz
Hi Andreas (nice to see you here BTW ;-) On Thu, Apr 24, 2008 at 4:26 PM, Andreas Hartmann <[EMAIL PROTECTED]> wrote: > ... FYI: the IncludeTest fails on my machine after a fresh check-out (stack > trace attached below). I wasn't sure if this belongs to an existing issue > report (e.g. SLING-207),

Re: SVN write access is currently disabled

2008-04-28 Thread Bertrand Delacretaz
On Mon, Apr 28, 2008 at 1:34 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > ...our beloved infra team is working on > resolving the issue Looks like new hardware needs to be brought up to avoid any risks, I assume that will take a few hours. http://monitoring.apache.org/

SVN write access is currently disabled

2008-04-28 Thread Bertrand Delacretaz
Hi, More details should be available soon, but right now http://monitoring.apache.org/status/ indicates that https access to the ASF's subversion repository is disabled. Watch that page for updates, our beloved infra team is working on resolving the issue. -Bertrand

Re: JCR Explorer UI considerations

2008-04-28 Thread Bertrand Delacretaz
On Wed, Apr 23, 2008 at 8:46 PM, Craig L. Ching <[EMAIL PROTECTED]> wrote: > ...I need a system that allows users to create > pages from a palette of controls that we provide and a way to hook those > pages and their widgets up to our real-time data. Then I'll need to > build bridges to other

Re: JCR Explorer

2008-04-22 Thread Bertrand Delacretaz
Hi Craig, On Tue, Apr 22, 2008 at 10:55 PM, Craig L. Ching <[EMAIL PROTECTED]> wrote: > ...1) Just about to go digging, but if someone could point me to the code > that gets the node properties and sends them via json to the browser, > I'd appreciate it The starting point would be the Json

Re: JCR Explorer

2008-04-22 Thread Bertrand Delacretaz
On Tue, Apr 22, 2008 at 5:01 PM, David Nuescheler <[EMAIL PROTECTED]> wrote: > ... personally, i think that it would be great if the jcr explorer was backed > on the > standard sling json serialization and the standard forms conventions for > writing content Agreed - and that interface is p

Re: JCR Explorer

2008-04-22 Thread Bertrand Delacretaz
On Tue, Apr 22, 2008 at 6:10 PM, Torgeir Veimo <[EMAIL PROTECTED]> wrote: > > ...I thought Apache didn't allow GPL'd > code in their projects. Has that changed with the GPL version 3?... No, we're not allowed to redistribute GPL code. -Bertrand

Re: JCR Explorer

2008-04-22 Thread Bertrand Delacretaz
On Tue, Apr 22, 2008 at 6:03 PM, Craig L. Ching <[EMAIL PROTECTED]> wrote: > ...code speaks louder than > words. So I'll continue with my concept based on dojo, if someone beats > me to it with ext, then so be it ;-)... Whoever does the work gets to decide, so go for it! -Bertrand, too ignora

Re: Clearing JCR repository

2008-04-22 Thread Bertrand Delacretaz
Hi Peter, (sorry, just remembered about that message now) On Fri, Apr 18, 2008 at 8:30 PM, Peter Svensson <[EMAIL PROTECTED]> wrote: > ... My intention has been to deliver something finished, but I can only work > an > hour or so a day on it, and have some other projects on the side. It's hard

JCR explorer requirements (was: Welcome Janandith...)

2008-04-22 Thread Bertrand Delacretaz
On Tue, Apr 22, 2008 at 4:37 PM, Craig L. Ching <[EMAIL PROTECTED]> wrote: > ...I'll take a shot at the JCR explorer Great! > ... My time is very limited, but I'll > try and get a start this weekend. Is there a JIRA with some good > requirements yet?... I have started a wiki page at http

Re: Generating links for 'previous version'

2008-04-22 Thread Bertrand Delacretaz
Hi, On Tue, Apr 22, 2008 at 8:44 AM, Gert Vanthienen <[EMAIL PROTECTED]> wrote: > ...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) Cool - here's an example that wo

Re: Welcome Janandith, let's make Scala happen for Sling during GSoc!

2008-04-22 Thread Bertrand Delacretaz
On Tue, Apr 22, 2008 at 12:08 PM, Vidar Ramdal <[EMAIL PROTECTED]> wrote: > ... I guess this means that the JCR Explorer project was declined?... Yes, unfortunately that won't happen, and there was another project about creating more tests (yum ;-) which won't happen either as part of GSoC. We're

Re: Reusing launchpad-app/-webapp

2008-04-22 Thread Bertrand Delacretaz
On Tue, Apr 22, 2008 at 11:18 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ...Today you use > POMDs (plain old maven dependencies) and the plugin inspects them if they're > bundles. A special scope would do the same but require the developer to use > this scope... I agree that it's fine for

Welcome Janandith, let's make Scala happen for Sling during GSoc!

2008-04-21 Thread Bertrand Delacretaz
Hi, Please join me in welcoming Janandith, who just got accepted for the GSoC program, to make the Scala language usable in Sling! I'll be the official mentor for this project, but of course all community members are welcome to chime in, and we'll do our best to make everything happen in the open

Re: Reusing launchpad-app/-webapp

2008-04-21 Thread Bertrand Delacretaz
On Mon, Apr 21, 2008 at 3:17 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > > Felix: > >... Now my question is: both launchpad/app and launchpadd/webapp use the > > same set of bundles. Is there a way of sharing this common knowledge > > between the app and webapp modules without creating a dep

[jira] Resolved: (SLING-336) SlingAptParserImplTest fails under Windows

2008-04-21 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-336. --- Resolution: Fixed No news in a month, assuming this works under Windows. Please

[jira] Updated: (SLING-378) More RESTful management console URLs

2008-04-21 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz updated SLING-378: -- Summary: More RESTful management console URLs (was: Support proper URLs to access the

[jira] Resolved: (SLING-389) NPE in ScriptableNode.getIds

2008-04-21 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-389. --- Resolution: Fixed Fixed in revision 650124 > NPE in ScriptableNode.get

[jira] Created: (SLING-389) NPE in ScriptableNode.getIds

2008-04-21 Thread Bertrand Delacretaz (JIRA)
NPE in ScriptableNode.getIds Key: SLING-389 URL: https://issues.apache.org/jira/browse/SLING-389 Project: Sling Issue Type: Bug Components: Scripting Reporter: Bertrand Delacretaz

Re: Simplifying script paths and names?

2008-04-18 Thread Bertrand Delacretaz
On Fri, Apr 18, 2008 at 3:45 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...Consider two scripts > > /apps/sling/sample/sample.esp > /libs/sling/sample/sample.print.a4.esp > > Now, we probably want to use the latter script and not the first one > because the latter is more specifi

Re: Simplifying script paths and names?

2008-04-18 Thread Bertrand Delacretaz
On Fri, Apr 18, 2008 at 3:16 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ... I was in fact thinking of calculating a weight value for each script > path and take the one with the greatest value. But I think, it is > probably even better to make use of the Comparable interface (or > Compa

Re: YAC: Split jcr/resource in two

2008-04-18 Thread Bertrand Delacretaz
On Fri, Apr 18, 2008 at 3:13 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ... Therefore, I propose we split the jcr/resource bundle keeping the > ResourceResolver stuff in the jcr/resource bundle and creating a > jcr/loader bundle which takes over the initial content loader ACK your Y

Re: Reply-to header missing in list message (was: Simplifying script paths and names?)

2008-04-18 Thread Bertrand Delacretaz
On Thu, Apr 17, 2008 at 10:03 AM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > ...Created https://issues.apache.org/jira/browse/INFRA-1588 to ask for > help about this Roy fixed that, thanks! The warning below is not valid anymore. -Bertrand > > WARNING: For the mom

Re: Simplifying script paths and names?

2008-04-18 Thread Bertrand Delacretaz
On Fri, Apr 18, 2008 at 2:54 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Am Freitag, den 18.04.2008, 13:59 +0200 schrieb Carsten Ziegeler: > >...Given that we search in /A and /V, is first /A searched > > for possible script and only if there is none, /V is searched? Or is the > > script

[jira] Commented: (SLING-387) Simplify script paths and names

2008-04-18 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590425#action_12590425 ] Bertrand Delacretaz commented on SLING-387: --- > Given the search path [

[jira] Commented: (SLING-388) Embed update handler into bundles for handling content updates

2008-04-18 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590415#action_12590415 ] Bertrand Delacretaz commented on SLING-388: --- I don't need this ATM bu

[jira] Commented: (SLING-386) rules for creating node names should be uniform

2008-04-18 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590356#action_12590356 ] Bertrand Delacretaz commented on SLING-386: --- > ...you should take t

Re: Simplifying script paths and names?

2008-04-18 Thread Bertrand Delacretaz
On Fri, Apr 18, 2008 at 11:11 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Am Freitag, den 18.04.2008, 10:44 +0200 schrieb Bertrand Delacretaz: > >... I'd use my suggested rules as the only options here: > > > > rule A) > > {requestMethod}.{reque

Re: Simplifying script paths and names?

2008-04-18 Thread Bertrand Delacretaz
On Fri, Apr 18, 2008 at 9:56 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > > > ...{scriptPathPrefix}/{resourceTypePath}/{resourceTypeLabel}.{selectorString}.{requestMethod}.{requestExtension}.{scriptExtension}. > > +1 > > My concern now is, how do we weight these parts: > >{scriptPathP

Re: Simplifying script paths and names?

2008-04-18 Thread Bertrand Delacretaz
On Fri, Apr 18, 2008 at 10:33 AM, Michael Marth <[EMAIL PROTECTED]> wrote: > > > > ...If Windows people could verify that they're able to create a file with > > such a name reliably via WebDAV, that'd help. > > Are you talking to me? :)... Ah right - I watched your screencasts, I should have kn

Re: Simplifying script paths and names?

2008-04-18 Thread Bertrand Delacretaz
On Fri, Apr 18, 2008 at 9:21 AM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: >... /app/foo/bar/bar.POST.esp ... Does the upper/lowercase mix work for our Windows users (assuming we have any)? I have this vague feeling of Windows being braindead when it comes to mixing case in filen

Re: Simplifying script paths and names?

2008-04-18 Thread Bertrand Delacretaz
On Wed, Apr 16, 2008 at 5:11 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...The generic script name would > then be: > > > {pathPrefix}/{resourceTypePath}/{resourceTypeLabel}.{selectorString}.{extension}.* > ... I like the idea but I'd express it slightly differently: {scriptPathP

[jira] Resolved: (SLING-385) ScriptableNode.remove() method missing

2008-04-17 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-385. --- Resolution: Fixed remove() and hasNode(path) added in revision 649098

Re: svn commit: r648231 - in /incubator/sling/trunk/scripting/javascript/src: main/java/org/apache/sling/scripting/javascript/helper/SlingWrapFactory.java test/java/org/apache/sling/scripting/wrapper/

2008-04-17 Thread Bertrand Delacretaz
On Tue, Apr 15, 2008 at 3:13 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...You should probably also include the > Version interface, which also extends from Node and might also pose > problems... Done, revision 649089. -Bertrand

[jira] Created: (SLING-385) ScriptableNode.remove() method missing

2008-04-17 Thread Bertrand Delacretaz (JIRA)
ScriptableNode.remove() method missing -- Key: SLING-385 URL: https://issues.apache.org/jira/browse/SLING-385 Project: Sling Issue Type: Bug Components: Scripting Reporter: Bertrand

Re: Reply-to header missing in list message (was: Simplifying script paths and names?)

2008-04-17 Thread Bertrand Delacretaz
, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Thu, Apr 17, 2008 at 8:20 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > > Rethinking the whole issue,... > > For some reason your message does not have the > > Reply-To: sling-dev@incubator.apache.org > >

Reply-to header missing in list message (was: Simplifying script paths and names?)

2008-04-17 Thread Bertrand Delacretaz
On Thu, Apr 17, 2008 at 8:20 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > Rethinking the whole issue,... For some reason your message does not have the Reply-To: sling-dev@incubator.apache.org header - no idea if our mailing list server is having a hangover this morning, or why that happene

Re: Simplifying script paths and names?

2008-04-17 Thread Bertrand Delacretaz
On Thu, Apr 17, 2008 at 8:20 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ...Rethinking the whole issue, I'm not sure if it's really worth changing the > behaviour as this would mean that all users have to change their paths for > scripts You mean our two users? Just kidding, but I'm not

Re: Simplifying script paths and names?

2008-04-16 Thread Bertrand Delacretaz
Hi, On Mon, Apr 14, 2008 at 6:26 PM, Alexander Klimetschek <[EMAIL PROTECTED]> wrote: > > ... /apps/foo/selector/html.esp > /apps/foo/selector.html.esp (same but with dots instead a subfolder) > /apps/foo/foo.selector.html.esp (NEW, for unique filenames of selector > scripts) > /apps/foo/selec

Re: Reusing launchpad-app/-webapp

2008-04-16 Thread Bertrand Delacretaz
On Wed, Apr 16, 2008 at 1:22 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ...it would be great if we could solve this somehow, perhaps by splitting > the configuration and classes into an own project?... In theory, if the two org.apache.sling.launcher.webapp classes move to another maven mod

Re: Content Overwrite in the Content Loader

2008-04-16 Thread Bertrand Delacretaz
On Wed, Apr 16, 2008 at 11:06 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ... Hmm, the more I think about it, the more I have the feeling that initial > content comming from a bundle should only be used for "static" stuff - it > should not be abused to get something into the repository which

Re: Content Overwrite in the Content Loader

2008-04-16 Thread Bertrand Delacretaz
On Wed, Apr 16, 2008 at 11:04 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ... We could of course add a setting to force overwrite: > > >/content;overwrite:=true > > > Without this setting (or having it set to false), content is never > overwritten Good idea to set thi

Re: question about adding a bundle using launchpad & net beans 5.0 warning.

2008-04-16 Thread Bertrand Delacretaz
On Wed, Apr 16, 2008 at 10:29 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...For maven build we have created the correct project setup to prevent > this kind of collision even if using JDK 6 to build FWIW, I recently noticed that our continuum builds on vmbuild.apache.org run under j

Re: Content Overwrite in the Content Loader

2008-04-16 Thread Bertrand Delacretaz
On Wed, Apr 16, 2008 at 10:48 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > > ...So the content loader should try to overwrite existing nodes and > properties ? > > > Yes. The only problem might be that a user has changed a property and this > gets then overwritten by an update. But I think t

Re: Current trunk broken?

2008-04-16 Thread Bertrand Delacretaz
On Wed, Apr 16, 2008 at 8:56 AM, Carsten Ziegeler > ... I changed the classpath generation for the plugin (by using the setup we > use for the SCR plugin), and it seems to work now Works for me, thanks! -Bertrand

FYI: how to run integration tests quickly

2008-04-15 Thread Bertrand Delacretaz
Hi, In case you need to run specific integration tests, see the "Integration tests" instructions in http://svn.apache.org/repos/asf/incubator/sling/trunk/launchpad/webapp/README.txt The idea is to leave a Sling launchpad webapp instance running, update bundles using the mvn autoInstallBundle p

Re: svn commit: r648236 - in /incubator/sling/trunk/jcr/resource: ./ src/main/java/org/apache/sling/jcr/resource/ src/main/java/org/apache/sling/jcr/resource/internal/ src/main/java/org/apache/sling/j

2008-04-15 Thread Bertrand Delacretaz
On Tue, Apr 15, 2008 at 3:17 PM, <[EMAIL PROTECTED]> wrote: > ... New Revision: 648236 > ... SLING-381: Support multiple JcrResourceTypeProviders (incl junit tests)... Two launchpad tests fail now, I think that's related to your change: Failed tests: testGetStarWithScript(org.apache.sling.lau

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

2008-04-15 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bertrand Delacretaz resolved SLING-382. --- Resolution: Fixed Patch committed in revision 648231, thanks! > VersionHistoryI

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

2008-04-15 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589066#action_12589066 ] Bertrand Delacretaz commented on SLING-382: --- That's perfect, and the

Re: Accessing the version history

2008-04-15 Thread Bertrand Delacretaz
On Tue, Apr 15, 2008 at 2:05 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > ...the easiest way might be for > SlingWrapFactory to have a list of interfaces that must be wrapped by > the default wrapper instead of our custom ones, and include > VersionHistory in that lis

Re: Accessing the version history

2008-04-15 Thread Bertrand Delacretaz
Hi, On Tue, Apr 15, 2008 at 12:44 PM, Gert Vanthienen <[EMAIL PROTECTED]> wrote: > 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);

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

2008-04-15 Thread Bertrand Delacretaz (JIRA)
Issue Type: Bug Components: Scripting Reporter: Bertrand Delacretaz Priority: Minor The toString() code in this ESP code fails when applied to a versionable Node: var history = currentNode.getVersionHistory(); out.println(history); out.write(""); o

[jira] Commented: (SLING-354) Better way to define the node name for a newly created node

2008-04-15 Thread Bertrand Delacretaz (JIRA)
[ https://issues.apache.org/jira/browse/SLING-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588998#action_12588998 ] Bertrand Delacretaz commented on SLING-354: --- IIUC the actual parameter n

Re: Multiple JcrResourceTypeProviders?

2008-04-15 Thread Bertrand Delacretaz
On Tue, Apr 15, 2008 at 11:09 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ... currently there can only be one JcrResourceTypeProvider (or none). But I > think it makes sense to support multiple providers > WDYT? +1, as long as there's a clear way of specifying priorities (and did I sa

Where does the name "Sling" come from?

2008-04-15 Thread Bertrand Delacretaz
Hi, I guess we need an explanation from Uncle Felix on that one ;-) For now, I've added a placeholder at http://cwiki.apache.org/confluence/display/SLINGxSITE/Index to remind us to add the information. Using the word "Catapult" in this thread is forbidden by the Geneva convention. -Bertrand

Re: Sling boilerplate text proposal

2008-04-15 Thread Bertrand Delacretaz
s week at > ApacheCon. > > I hope this helps. Feel free to ping me if you need > anything. > > Cheers, > Sally > > > --- Bertrand Delacretaz <[EMAIL PROTECTED]> > wrote: > > > > > Hi, > > > > I had the pleasure of attending Sal

Re: Too many open files

2008-04-15 Thread Bertrand Delacretaz
On Tue, Apr 15, 2008 at 10:03 AM, Vidar Ramdal <[EMAIL PROTECTED]> wrote: > ... OK, I get just about 850 rows of this: > java31685 root 175r REG 104,1 16 829481 > > /usr/local/resin-3.1.1/sling/jackrabbit/workspaces/default/blobs/dc/8e/9c1ccf814774bb9c44ba49453cdc/%7bhtt

Re: Current trunk broken?

2008-04-15 Thread Bertrand Delacretaz
On Tue, Apr 15, 2008 at 9:06 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ... Sorry for the problems - I accidentally added the samples to the build > again - but due to the unfinished changes with the jsp compilation, the > sample module is not working again yet Ah ok - in the meantime,

Re: Current trunk broken?

2008-04-14 Thread Bertrand Delacretaz
On Tue, Apr 15, 2008 at 6:30 AM, paksegu <[EMAIL PROTECTED]> wrote: > I have build errors as well running on Vista... >... > [INFO] > > [INFO] Building Sling - Sample Sling Application > [INFO]task-segment: [clean, in

Re: Current trunk broken?

2008-04-14 Thread Bertrand Delacretaz
Hi, On Mon, Apr 14, 2008 at 9:02 PM, Craig L. Ching <[EMAIL PROTECTED]> wrote: > ... I just checked out the sling trunk and am getting build errors. It > appears that the root pom is broken, it says this: > > extensions/apt/dojo > extensions/apt/dojo-sling > > But dojo and dojo-

Simplifying script paths and names?

2008-04-14 Thread Bertrand Delacretaz
Hi, Currently, working with selectors requires you to put scripts in subfolders, for example /apps/foo/html.esp /apps/foo/someselector/html.esp and worse, all GET scripts which produce html are named html.esp, which can be confusing when editing them. We talked about this with David and Felix,

Re: Too many open files

2008-04-14 Thread Bertrand Delacretaz
On Mon, Apr 14, 2008 at 5:28 PM, Vidar Ramdal <[EMAIL PROTECTED]> wrote: > ...I've done some stress testing on Sling, and I consistently get a Too > many open files error after about 850 requests, when I run an ESP > script Looks like you're running a unixish box, could you try using the l

Re: svn commit: r647820 - in /incubator/sling/trunk: ./ extensions/apt/ launchpad/jcrapp/ samples/ samples/webloader/

2008-04-14 Thread Bertrand Delacretaz
On Mon, Apr 14, 2008 at 5:03 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ... Afaik, there is no maven problem with doing it one way or the other, so we > can do it either way as long as we are consistent Ok - I was just wondering if that was another chapter that I was missing from Carst

Re: svn commit: r647820 - in /incubator/sling/trunk: ./ extensions/apt/ launchpad/jcrapp/ samples/ samples/webloader/

2008-04-14 Thread Bertrand Delacretaz
On Mon, Apr 14, 2008 at 4:50 PM, <[EMAIL PROTECTED]> wrote: > Author: cziegeler > Date: Mon Apr 14 07:50:40 2008 > New Revision: 647820 > ... Remove intermediate reactor builds... Why? Just curious, I know you have more experience with Maven than I do - I thought having samples/pom.xml for ex

Re: Node name generation

2008-04-14 Thread Bertrand Delacretaz
On Mon, Apr 14, 2008 at 4:38 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...Can we find something > else than "nodeName" ? How about "exactName" ?... nodeName is IMHO better, as the parameter describes the name of the created node...exactName could be the exact name of your sister ;-) Bu

Re: How-to execute a query from an ESP script?

2008-04-14 Thread Bertrand Delacretaz
Hi Gert, On Mon, Apr 14, 2008 at 4:22 PM, Gert Vanthienen <[EMAIL PROTECTED]> wrote: > ... 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

Re: Node name generation

2008-04-14 Thread Bertrand Delacretaz
On Mon, Apr 14, 2008 at 4:12 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ... In fact, I would be rather strict in accepting "valid" characters, > probably reducing the accepted set to just [ a..z, A..Z, 0..9 ]. Not > sure about the case mangling. But if we apply it in one place (when > m

[jira] Created: (SLING-377) Make troubleshooting of initial content loading easier

2008-04-11 Thread Bertrand Delacretaz (JIRA)
Reporter: Bertrand Delacretaz Priority: Minor Currently, for example if an xjson file includes a property type that is not allowed by the parent node, it is very hard to find out exactly what is happening based on the log messages. We need to improve the reporting of

Sling boilerplate text proposal

2008-04-11 Thread Bertrand Delacretaz
Hi, I had the pleasure of attending Sally's excellent media training class on Monday, and as a result here's a new proposal for a boilerplate text that describes Sling in a few words. That's targeted at IT people who have no idea what Sling is. That text could go on the front page of our website,

Re: Moving the Sling Management Console to Apache Felix

2008-04-11 Thread Bertrand Delacretaz
On Fri, Apr 11, 2008 at 9:47 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ... Point is, if we can show to the IPMC that both communities are > interested in this move - shown by a vote in both places - this should > not be a problem to the IPMC Ok, let's have those votes then. I'm als

Re: Moving the Sling Management Console to Apache Felix

2008-04-11 Thread Bertrand Delacretaz
On Fri, Apr 11, 2008 at 8:10 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ... so I guess the final thing we have to do is to vote in both projects if > each project agrees to moving the stuff ok > ... Not sure, but as Sling is in the > Incubator we might need a vote from the Incubator PM

Re: Moving the Sling Management Console to Apache Felix

2008-04-10 Thread Bertrand Delacretaz
On Thu, Apr 10, 2008 at 10:19 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...As such we (Richard Hall, Marcel Offermans, Karl Pauls, > Carsten Ziegeler and me) discussed that it might be a good idea to move > this console to the Apache Felix project... And me! +1 to that. And thanks to

Re: JcrDefaultResourceTypeProvider

2008-04-09 Thread Bertrand Delacretaz
On Tue, Apr 8, 2008 at 9:42 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ... I'm wondering if JcrDefaultResourceTypeProvider is a good name for an > interface :)... +1 to renaming, brain fart of mine here ;-) -Bertrand

Re: Link to the venue for today's Amsterdam meetup (wiki down)

2008-04-08 Thread Bertrand Delacretaz
On Tue, Apr 8, 2008 at 6:47 PM, Torgeir Veimo <[EMAIL PROTECTED]> wrote: > ...Can we get a rudimentary transcript for those who weren't able to > attend?... We mostly had presentations on various JCR-related topics, no real group discussions AFAIK (but I came in a bit late). My Sling demo prese

Link to the venue for today's Amsterdam meetup (wiki down)

2008-04-07 Thread Bertrand Delacretaz
Hi, The wiki is down ATM, if people are looking for the venue it's Pakhuis de Zwijger, links: http://www.dezwijger.nl/?nid=184 http://tinyurl.com/6y6vvl Or search Google for JcrMeetupApril2008 and use the cache, Luke. Some of us will meet in the Moevenpick hotel lobby at 8:45 to go there. -Ber

<    5   6   7   8   9   10   11   12   13   14   >