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: 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 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: 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: 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: 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

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: 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 > >

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

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

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 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: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 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 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

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: 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: 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: 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: 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

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-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

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: 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

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: 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

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: 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 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
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 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

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: 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/

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: 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: 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

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-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

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

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

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

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: [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

Re: Anyone building with eclipse?

2008-04-30 Thread Bertrand Delacretaz
Hi, On Wed, Apr 30, 2008 at 9:35 PM, Craig L. Ching <[EMAIL PROTECTED]> wrote: > ... Trying to get "mvn eclipse:eclipse" to work on the sling project and > it's not. Is anyone using eclipse to build?... Yes, it works for me, I do "mvn eclipse:eclipse" then in Eclipse do "import existing project

Re: Board Report

2008-05-05 Thread Bertrand Delacretaz
Hi, On Fri, May 2, 2008 at 11:56 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Sling has to report in May again. Therefore I prepared our report and > filled in some initial content in [1] That page says "taliating issues required in the initial release", not sure what that means. -Be

Re: Post Servlet Response Codes

2008-05-05 Thread Bertrand Delacretaz
On Mon, May 5, 2008 at 4:24 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > If :status is "alwaysok", the 200 > response is sent According to SLING-422, this is mode 2), the "browser-friendly" mode. Maybe using "browser" as the :status value that triggers this, instead of "alwaysok",

SLING-387, bar.POST.esp not supported?

2008-05-06 Thread Bertrand Delacretaz
Hi, Just added a test to [1] that shows that the following script is not selected for a POST request to a resource of type foo:bar: apps/foo/bar/bar.POST.esp Is that by design? Being able to use either bar.POST.esp or POST.esp as the script name would help avoiding many scripts named POST.esp

Re: servlet-resolver build failure

2008-05-06 Thread Bertrand Delacretaz
On Tue, May 6, 2008 at 10:31 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ... Currently the sling/servlet-resolver fails to build because the source > is not completely committed yet. I will commit further changes later > this morning to fix this situation Ah sorry, just fixed that be

Re: SLING-387, bar.POST.esp not supported?

2008-05-06 Thread Bertrand Delacretaz
On Tue, May 6, 2008 at 10:56 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Am Dienstag, den 06.05.2008, 10:53 +0200 schrieb Tobias Bocanegra: > > afair the consensus was that the simplified script names only apply > > for GET requests. > > Exactly. The assumption was (and IMHO still is), t

Re: Dissecting the SlingPostServlet

2008-05-06 Thread Bertrand Delacretaz
Hi Felix, I agree with the suggested changes, but see comments inline: On Tue, May 6, 2008 at 11:36 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ... Special treatment for resource creation happens if the path is > terminated by a slash (as proposed by Carsten and Roy in earlier > message

Re: Dissecting the SlingPostServlet

2008-05-06 Thread Bertrand Delacretaz
On Tue, May 6, 2008 at 2:31 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...should we support the trailing slash case at all ? Maybe it > would be a good thing for some users ?... POSTing to foo/ to create something under foo is quite usual, so we might want to keep it in addition to POSTi

Re: Dissecting the SlingPostServlet

2008-05-06 Thread Bertrand Delacretaz
On Tue, May 6, 2008 at 2:53 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ...What about making Bertrand's use case more specific? Which means, we > support posting to "/" (like everyone does :) ) and to > /*.{selector.extension}, so posting to /* is not allowed Not sure what you mean, II

Re: Servlet Registration

2008-05-07 Thread Bertrand Delacretaz
On Wed, May 7, 2008 at 10:38 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...I propose to change the sling.servlet.methods property handling as > follows: > > * If the property is empty or missing, the property is > assumed to be set to [ "GET", "HEAD" ] > > * If the property

Re: [Solved] Re: IncludeTest fails

2008-05-07 Thread Bertrand Delacretaz
On Wed, May 7, 2008 at 3:46 PM, Andreas Hartmann <[EMAIL PROTECTED]> wrote: > ...The problem doesn't occur anymore in revision 654077... Cool, thanks for reporting! -Bertrand

Re: IncludeTest fails

2008-05-07 Thread Bertrand Delacretaz
On Wed, May 7, 2008 at 2:23 PM, Andreas Hartmann <[EMAIL PROTECTED]> wrote: > ...Actually it seems to resemble a part of the > vision I had for a future Lenya: A framework which makes it easy to build > content management applications on top of a powerful repository Which is exactly the focus

Re: [VOTE] Moving the Sling Management Console to Apache Felix

2008-05-07 Thread Bertrand Delacretaz
> [+1] Yes, move the Management Console to Apache Felix -Bertrand

Re: [jira] Commented: (SLING-435) IE7 error when displaying SlingPostServlet result page

2008-05-08 Thread Bertrand Delacretaz
(resend - sent to [EMAIL PROTECTED] by mistake) On Thu, May 8, 2008 at 9:30 AM, Felix Meschberger (JIRA) <[EMAIL PROTECTED]> wrote: > ... I am not too much in to the full gory details of DTD syntax. But I have > more confidence that the w3c DTD > is correct than IE7 interpreting correctly ;-)...

Re: SLING-247: Provide Scripting variables as request attributes for JSP

2008-05-08 Thread Bertrand Delacretaz
On Thu, May 8, 2008 at 2:02 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ... b) should we really add the bindings as request attributes? This makes > writing jsps easier *if* you don't want to use the taglib. Currently I would > people suggest to use the taglib instead Agreed, encouragin

Confluence snippet plugin, how?

2008-05-09 Thread Bertrand Delacretaz
Hi, Seems like our confluence wikis have the snippet plugin [1] enabled. I tried it at http://cwiki.apache.org/confluence/display/SLING/Documentation but it doesn't work as I don't know what the configured prefixes are. Could someone with confluence admin rights have a look? According to [1], th

Re: Confluence snippet plugin, how?

2008-05-09 Thread Bertrand Delacretaz
On Fri, May 9, 2008 at 10:23 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...The prefix is: > > sling/ -> http://svn.apache.org/repos/asf/incubator/sling/trunk/ Thanks for the info. > ...Still, INFRA-1607 is an obstacle to this... Ok, I'll try again once that's solved. -Bertrand

Re: Providing the scriptResource to scripts?

2008-05-09 Thread Bertrand Delacretaz
On Fri, May 9, 2008 at 11:34 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...getting the > script resource - in java script - is as easy as: > > var scriptResource = sling.script.scriptResource;... that's good enough for me, thanks for the info! -Bertrand

Re: Providing the scriptResource to scripts?

2008-05-09 Thread Bertrand Delacretaz
On Fri, May 9, 2008 at 11:25 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ...what do you think of adding another variable to the set of provided > variables for scripts: the script resource?... +1, and it's also useful in demos to say "this was generated by the foo.bar.esp script". -Bertrand

Re: How to access the repository.

2008-05-10 Thread Bertrand Delacretaz
Hi Janandith, On Sat, May 10, 2008 at 5:43 AM, janandith jayawardena <[EMAIL PROTECTED]> wrote: > ... Is the repository in Sling accessible like a database directly to a script > so the user can query the repository to get the content Yes, but not like a database - like a content repository

Re: difference between sling & micro sling.

2008-05-12 Thread Bertrand Delacretaz
On Sun, May 11, 2008 at 5:50 PM, Paul Noden <[EMAIL PROTECTED]> wrote: > ...the term micro > sling is defunct Exactly - from the user's point of view what was microsling has been integrated in the Sling Launchpad (the modules under launchpad/ in the source code). -Bertrand

Re: difference between sling & micro sling.

2008-05-12 Thread Bertrand Delacretaz
Hi Jjanandith, On Mon, May 12, 2008 at 8:41 PM, janandith jayawardena <[EMAIL PROTECTED]> wrote: > ...So does this mean if i come across any reference to microsling i can > consider it as part of the launchpad and isolate it from other parts of > sling ? Not really - microsling was a standa

Re: JSF Apps

2008-05-13 Thread Bertrand Delacretaz
Hi, On Mon, May 12, 2008 at 8:50 PM, paksegu <[EMAIL PROTECTED]> wrote: > ...So can we use Sling for JSF Apps as well ... I'm completely ignorant about JSF but I'd like to find out the answer to this. Could you give an example (as simple as possible) of what Sling needs to provide for a JSF app

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

2008-05-13 Thread Bertrand Delacretaz
uld move it to the jcr modules? > (This one is not that important though)... Why not, I'd agree to move commons/testing to jcr/testing. -Bertrand > > Carsten > -- > Carsten Ziegeler > [EMAIL PROTECTED] > > -- Bertrand Delacretaz http://www.codeconsult.ch

Re: [jira] Created: (SLING-444) Let scripts use the Sling log

2008-05-13 Thread Bertrand Delacretaz
On Tue, May 13, 2008 at 10:31 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ... Is this the intention of this issue ?... Yes thanks, sorry I overlooked that! -Bertrand

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

2008-05-13 Thread Bertrand Delacretaz
On Tue, May 13, 2008 at 2:17 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ...So, let's move core to top level as "engine", move the extensions from the > current "sling" dir to "extensions" and rename "sling" to "servlets" +1 -Bertrand

SLING-458, encode paths in parameters names?

2008-05-15 Thread Bertrand Delacretaz
Hi, For SLING-458, I think it might be useful to accept path names as part of the parameter names. Here's an example use case, "moderation of blog comments", as a justification. A form displays a number of blog comments on a single page. Each comment has a radio button group with 3 values: acce

Re: SLING-458, encode paths in parameters names?

2008-05-15 Thread Bertrand Delacretaz
On Thu, May 15, 2008 at 2:23 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > the Accept radio button could in fact be coded as: > > value="accepted">Accept > > I think this is more intuitive that to try do a dot to slash mapping You're right, sounds good - I'll try to come up with

Re: SLING-458, encode paths in parameters names?

2008-05-15 Thread Bertrand Delacretaz
On Thu, May 15, 2008 at 5:14 PM, Tobias Bocanegra <[EMAIL PROTECTED]> wrote: > ...of course. i don't see a reason why this should be changed?... I didn't mean to change anything, just overlooked what already exists. -Bertrand

Re: Newbie access

2008-05-16 Thread Bertrand Delacretaz
Hi Jeremias, On Fri, May 16, 2008 at 10:29 AM, Jeremias Maerki <[EMAIL PROTECTED]> wrote: > ...'ve > gone through the 15 min tutorial. Well, it took me a lot longer than > that. Just Maven downloading all the dependencies takes that much Yes - we hope to have a release Real Soon Now to fix th

Summer of Code coding period starts next Monday

2008-05-19 Thread Bertrand Delacretaz
Hi, FYI, the Summer of Code coding period starts next Monday [1]. For Janandith's work, I suggest that we start working with patches attached to JIRA issues, and if we later see that that's not practical we'll find a better way. Janandith, could you file a Contributor License Agreement [2] with

Re: Summer of Code coding period starts next Monday

2008-05-21 Thread Bertrand Delacretaz
Hi, On Tue, May 20, 2008 at 7:58 PM, janandith jayawardena <[EMAIL PROTECTED]> wrote: > When printing the Contributor License Agreement should I include the > paragraph... Better include everything - the ASF is a US foundation, and I guess US law can be picky about such things. -Bertrand

Re: OutOfMemory in Jackrabbit-Server install

2008-05-22 Thread Bertrand Delacretaz
Hi, On Thu, May 22, 2008 at 3:12 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...the workaround is to set the MAVEN_OPTS environment variable as > discussed. In addition this seems to only happen on Windows boxes - on > my Fedora 7 box, this does not happen FWIW, I have the same issue o

Re: OutOfMemory in Jackrabbit-Server install

2008-05-22 Thread Bertrand Delacretaz
On Thu, May 22, 2008 at 4:45 PM, Dominik Süß <[EMAIL PROTECTED]> wrote: >... I agree, the release shouldn't be blocked by this issue. > A note in the installation-instructions may be usefull Good idea, I just added a prominent message at the start of the build, see https://issues.apache.org/ji

Re: Build error

2008-05-22 Thread Bertrand Delacretaz
On Fri, May 23, 2008 at 12:56 AM, Christophe Lombart <[EMAIL PROTECTED]> wrote: > ...yep, it works after moving my maven repo in a folder without space. > Sorry for the noise... Thanks for reporting, added to http://incubator.apache.org/sling/site/maventipsandtricks.html (should be updated in a fe

Re: svn commit: r660714 - /incubator/sling/trunk/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspScriptEngineFactory.java

2008-05-28 Thread Bertrand Delacretaz
On Wed, May 28, 2008 at 1:09 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...I changed that yesterday, as I thought the intention was to disable the > generation of the Declarative Services descriptor http://felix.apache.org/site/maven-scr-plugin.html does not mention the scr attribute a

Re: How can I write automated tests.

2008-05-29 Thread Bertrand Delacretaz
Hi Janandith, On Wed, May 28, 2008 at 9:03 PM, janandith jayawardena <[EMAIL PROTECTED]> wrote: > ...I would like to write test cases (Automated tests) for the scala module as > I > code The best might be to study the scripting/javascript module, which implements the Rhino-based javascript e

[RT] Sling status servlet

2008-05-29 Thread Bertrand Delacretaz
Hi, We had a chat with Felix about a way to provide an URL that tells the outside world whether a Sling application is ready to run, after startup. I need this for an application that launches a Sling application, and opens the browser on its welcome page once the application is ready. The "ready

Re: [RT] Sling status servlet

2008-05-29 Thread Bertrand Delacretaz
Hi, On Thu, May 29, 2008 at 2:42 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...So probably the SlingMainServlet is itself directly triggering the > script executions and thus handling requests to /system/sling/status > internally Agree with that, makes sense. -Bertrand

Re: Using official JSON

2008-05-29 Thread Bertrand Delacretaz
On Thu, May 29, 2008 at 4:09 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...All in all, I think, that we should probably stay with the current > refactored JSON library and forget about this all +1, it's not a big deal to maintain, we have solid tests to verify it, and the ordering of

Re: What is the difference between javascript and other scripting modules.

2008-05-29 Thread Bertrand Delacretaz
Hi, On Thu, May 29, 2008 at 8:44 PM, janandith jayawardena <[EMAIL PROTECTED]> wrote: > ...Why does javascript module contain "wrapper" , "helper" and "io" classes > instead of having only a Factory and an Engine like modules for other > scripting languages Wrappers are used to give simpler

OSGi console shows an extra RequestDataLogger service

2008-05-30 Thread Bertrand Delacretaz
Hi, I asume that's an issue for the Felix project now that the console moved there, but as my example uses Sling, here it is... I've been having trouble creating a factory component, I was getting confused while testing, and I think I found why. My example uses the RequestDataLogger service, whic

Re: Sling Release

2008-05-30 Thread Bertrand Delacretaz
On Fri, May 30, 2008 at 12:52 PM, Dominik Süß <[EMAIL PROTECTED]> wrote: > ...About docs. I would prefer to have a nice documentation before > releasing That would be very nice of course, but I don't agree on holding up the release due to lack of docs and examples. We have some (minimal) exam

Re: Sling Release

2008-05-30 Thread Bertrand Delacretaz
On Fri, May 30, 2008 at 2:37 PM, Dominik Süß <[EMAIL PROTECTED]> wrote: > ...While I do not have the time right now I would really like to define (or at > least help to define) a basic but obligatory set of documents for the final > 2.0.0 release Although the version number is 2.0.0 (or whate

Re: Sling Release

2008-05-30 Thread Bertrand Delacretaz
On Fri, May 30, 2008 at 2:55 PM, Dominik Süß <[EMAIL PROTECTED]> wrote: > So why is it defined as major release(just looking at the version number) > without being a final release?... Good point, I agree that 2.0.0 might sound a bit too final for the current state of the project - the code is fair

Re: Sling Release

2008-06-02 Thread Bertrand Delacretaz
On Fri, May 30, 2008 at 2:40 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: >> ...The final question is, what = which parts we want to release? ... > I would say: api, engine, jcr (api, base, classloader, contentloader, > jackrabbit-*, ocm, resource, webdav), launchpad/*, event, i18n, > httpauth

Re: The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found

2008-06-02 Thread Bertrand Delacretaz
On Mon, Jun 2, 2008 at 12:09 PM, Torgeir Veimo <[EMAIL PROTECTED]> wrote: > Am using maven 2.0.9. What's missing in my setup? > > Macintosh:sling torgeir$ mvn jetty:run > [INFO] Scanning for projects... > [INFO] Reactor build order:... You cannot use mvn jetty:run in the top-level source code fold

Re: Sling Release

2008-06-02 Thread Bertrand Delacretaz
On Mon, Jun 2, 2008 at 10:38 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > ...Am Montag, den 02.06.2008, 10:36 +0200 schrieb Bertrand Delacretaz: >>... I think we must update the NOTICE files of the launchpad/app and >> webapp modules to mention all non-Apache depen

Re: Sling Release

2008-06-02 Thread Bertrand Delacretaz
On Fri, May 30, 2008 at 2:40 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: >> ...The final question is, what = which parts we want to release? ... > ...I would say: api, engine, jcr (api, base, classloader, contentloader, > jackrabbit-*, ocm, resource, webdav), launchpad/*, event, i18n, > httpa

Re: Sling Release

2008-06-02 Thread Bertrand Delacretaz
On Mon, Jun 2, 2008 at 11:15 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > Bertrand Delacretaz wrote: >> ...IIRC, Wicket has a way of combining multiple NOTICE files using Maven, >> I'll have a look at that... >> > Afaik this is done by the maven remote re

What's the license for tm-extractors before 1.0?

2008-06-02 Thread Bertrand Delacretaz
the license was changed to LGPL, but what was the previous license? Our dependency is on tm-extractors V0.4, I looked at contents of the jar found at [3] but didn't find license info. Can we safely assume that tm-extractors V0.4 is distributed under the license found at [2]? Thanks and best

Re: What's the license for tm-extractors before 1.0?

2008-06-02 Thread Bertrand Delacretaz
On Mon, Jun 2, 2008 at 4:50 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > ...Can we safely assume that tm-extractors V0.4 is distributed under the > license found at [2]?... Ryan just replied to me, that all versions prior to 1.0 were released under an Apache license. -Bertrand

Re: svn commit: r662458 - in /incubator/sling/trunk/launchpad: app/NOTICE base/NOTICE content/NOTICE jcrapp/NOTICE webapp/NOTICE

2008-06-03 Thread Bertrand Delacretaz
On Mon, Jun 2, 2008 at 11:44 PM, Roy T. Fielding <[EMAIL PROTECTED]> wrote: >... Unnecessary whitespace, headers, horizontal rules, page breaks, > instructions on how to edit, and related nonsense should never > appear in the NOTICE file... I was afraid this would come up...I'll fix this, you're r

NOTICE files, include junit? (was: svn commit: r662458....)

2008-06-03 Thread Bertrand Delacretaz
On Tue, Jun 3, 2008 at 8:48 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > ..I'm also wondering if we really need to mention stuff that is only used > during the build but not contained in the release, like junit?... We could take into account the dependency scopes in the mknotice script, or us

  1   2   3   4   5   6   7   8   9   10   >