Re: OSGi Compendium

2009-06-25 Thread Dominik Süß
Wouldn't it be more straight forward to exclude the Compendium Libraries from the Declarative Services as well and have it as seperate bundle in general? I know this thoughts might lead to a big amount of small bundles and some might not like this, but in this case I think it really would make sens

Re: Code Coverage and Metrics

2009-06-23 Thread Dominik Süß
Cool stats :) Most metrics seam to be ok... but.. Cyclomatic Complexity[1] of Apache Sling Scripting JSP Support with a value of 165 ... wow... "11+ refactor now !" (quote from the Sonar Hovertext)... These metrics might really indicate where optimization could be required ;) Best regards, Domin

Re: [RT] Script Resolution

2009-06-22 Thread Dominik Süß
Wouldn't this take us the ability to restrict allowed actions by taking reading rights of the scriptlocation by ACLs? How would you solve restriction on scriptaccess? Best regards, Dominik On Mon, Jun 22, 2009 at 9:20 PM, Carsten Ziegeler wrote: > Another minor issue are the helper methods of t

Re: Selectors and URL paths

2009-06-19 Thread Dominik Süß
Not really on topic but a hint: On Fri, Jun 19, 2009 at 4:00 PM, Aaron Zeckoski wrote: > The current approach involces creating a file (contacts.json) at > /_user and then lots of servlets (8) which work with selectors like > so: > * @scr.component metatype="no" immediate="true" > * @scr.servi

Re: Caching for ResourceResolver.map()

2009-06-11 Thread Dominik Süß
Hi, On Thu, Jun 11, 2009 at 3:08 PM, Felix Meschberger wrote: > > > Not sure, whether it really is the best approach. Though it is true, > that the ResourceResolver instance is created on each request, it is > still created from the JcrResourceResolverFactory, which might as well > be the holder

Re: Possible sling JSONObject bug

2009-06-07 Thread Dominik Süß
IMHO equals should fullfill the spec - so equals should return true (and hashcode) should return the same value. Ordering of values is a propietary feature which can be used for explicit functionality like a userdefined displayorder. Adding restrictions by undefined (but common) behaviour might not

Re: New documentation structure applied

2009-06-01 Thread Dominik Süß
Hi Mike, the HTML of the menu seems to be broken - could you please have a look at it? And if you fix this you might as well set the margin-left for second level navigation to a lower value ;) (like: .menu ul ul { padding: 1em; }) But nice to see the documentation getting up-to-date so fast. Than

Fwd: [VOTE] Release Felix SCR Annotations 0.9 and SCR Plugin 1.2

2009-05-25 Thread Dominik Süß
Hey everybody, there might be some interest on java 5 annotations for sling resources out here (since this could really improve IDE support for complex java based sling projects). There was a ticket on JIRA: http://issues.apache.org/jira/browse/SLING-902 which could be solved in a more generic wa

Re: [DISCUSS] New strcuture for documentation on Sling site

2009-05-25 Thread Dominik Süß
On Mon, May 25, 2009 at 9:21 AM, Bertrand Delacretaz wrote: > I like this as well, but I also think our docs need tags to provide > several ways of navigating them. > > I don't think the Confluence export plugin that currently generates > our website handles tags, but we could still add them to o

Re: [DISCUSS] New strcuture for documentation on Sling site

2009-05-23 Thread Dominik Süß
Hey Mike, glad you like my idea, here a first draft of a list which imho would be didactical sense: - What is Sling - Getting and building Sling - Architecture - Resources - Setting up an Sling-Project with Eclipse [NEW - [1]] - Sling-Taglib (JSP) [NEW - especially sling:include needs good docume

Re: [DISCUSS] New strcuture for documentation on Sling site

2009-05-22 Thread Dominik Süß
I like the idea of an overview page (the new "documentation" parent page) with a "hot topics" or better "Getting Started" box with a roadmap of links the user can follow to get a good overview of Sling. This would allow to have a technically correct hierarchy, but supporting newcommers who have no

Re: Documentation Contributions

2009-05-20 Thread Dominik Süß
Hi Carl, nothing else ;) Right now the wiki is the only way to participate (beside contributing patches in JIRA). Mike Müller recently was accepted as documentation commiter, it might be worth asking him which parts he currently is refactoring/writing and which parts really need some more document

Re: [VOTE] Graduate Apache Sling as a top level project

2009-05-18 Thread Dominik Süß
[X] +1 Graduate as a top level project (non-binding) Best regards Dominik

Re: [DISCUSS] Graduation

2009-05-13 Thread Dominik Süß
IMHO Graduation should be done pretty soon since the major technical details have been clarified within the incubator phase and the topics turn more and more usecase specific or are cause by the common sideeffects of new features/changes. >From a developers point of view the incubator state doesn't

Re: storing repo content in svn

2009-05-03 Thread Dominik Süß
Ah... forgot to answer the original question... after you've done all that (defining the properties in the maven project), all your information should be available within your mavenproject on your filesystem which you can commit in svn ;) Best regards, Dominik 2009/5/3 Dominik Süß > H

Re: storing repo content in svn

2009-05-03 Thread Dominik Süß
Hi renaud, from a developers point of view there should just be something like "initial content". This initial-content can be deployed via the maven-sling-plugin. JCR-Properties can be uploaded as JSON or XML File having the same name (extended by .json or .xml) parallel to your targetnode. The st

Re: Welcome Mike Mueller as Documentation Committer

2009-05-01 Thread Dominik Süß
BIG! Thanks! Seams now there is someone who could clean up documentation ;) IMHO Documentation is essential for a growing community since wrong or incomplete documentation scares a lot of newcommers away. Hope to read more of you soon, Dominik 2009/5/1 Juan José Vázquez Delgado > > Hi all, > >

Re: [VOTE] Update to Community Roles and Processes

2009-05-01 Thread Dominik Süß
+1 but why can a commiter no longer nominate a contributor as commiter? (Since a Committer is not always a PPMC any longer) This might be no big difference since I think a proposal of a commiter will be taken into account, but what is the intention of this change? Best regards, Dominik On Thu, A

Re: WebDav & Node properties

2009-04-21 Thread Dominik Süß
If SlingSimpleWebDavServlet gets the config defined under https://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-webapp/src/main/webapp/WEB-INF/config.xmlthe propertyhandlers should do what you need (autoexport of properties). Since I don't have a project setup here to look what's configured

Re: What are the best practices developing bundles for Sling in Eclipse?

2009-04-20 Thread Dominik Süß
Hi Mike, I currently try several ways of a simple projectsetup myself and for me the way Bertrand sets up his projects works pretty good for me. I additionally use maven-sling-plugin [1] to enrich the install-phase by direct deployment into a running sling instance. The espblogsample may be a good

Re: Use the next Sling Release to enhance to community

2009-04-02 Thread Dominik Süß
Hi Mike, you're not the only one who did address this issue. This pops up in the mailing list from time-to-time and on conventions like ApacheCon last week. The main problem about that seams that the commiters are involved in a lot of projects (as well the apache projects as the day products). Sin

Re: Welcome Vidar Ramdal as our new Sling committer!

2009-03-30 Thread Dominik Süß
Gratulations Vidar, it was nice to meet you at ApacheCon and I'm sure Sling will benefit from having you as new commiter. Best regards, Dominik

Re: sling - wicket integration?

2009-03-29 Thread Dominik Süß
Hi Alex, you're not alone with the intention to get a wicket integration and a colleague of mine will do a proof-of-concept of this scenario. We'll first try to use the extension part of the url for the wicket resolution and run wicket as rendering mechanism for a complete resource. Since the queu

Re: JSON Validation

2009-03-28 Thread Dominik Süß
I'd propose to at least fix the duplicate key validation. Duplicate keys are not defined in any way and could result in strange behaviour when the parser is changed. A strict validator for the trailing seperators would also be nice, but following the argumentation it shouldn't be mandatory. Regar

Re: re-registering node type definitions on bundle deploy

2009-03-17 Thread Dominik Süß
If re-registering (only) fails when there are conflicts this might by the intended and sufficient behaviour. It would be possible to extend nodetypes by bundle-deployment in a running system or remove unused (/empty) atttributes. Only if there are any conflicts the reregistering should fail with a

Re: sling for apachecon site

2009-03-13 Thread Dominik Süß
Afaik there wasn't enogh people for session on tuesday, but I'm pretty sure there will be a BOF session during the regular conference. Since this is the first time I attend the ApacheCon I don't know at all how this is organized. Best regards, Dominik On Fri, Mar 13, 2009 at 3:47 PM, Torgeir Veim

Re: Maven based projects

2008-12-19 Thread Dominik Süß
ust mapped in jcr and uninstalled togehter with the bundle? The other question I have is: Is json the only way to define metadata for the content? Best regards, Dominik On Fri, Dec 19, 2008 at 2:31 PM, Dominik Süß wrote: > Thanks to both of you :) > Sometimes its just that simple

Re: Maven based projects

2008-12-19 Thread Dominik Süß
Thanks to both of you :) Sometimes its just that simple Best regards, Dominik On Fri, Dec 19, 2008 at 10:56 AM, Bertrand Delacretaz < bdelacre...@apache.org> wrote: > Hi Dominik, > > On Fri, Dec 19, 2008 at 9:45 AM, Dominik Süß > wrote: > > ...As far as I did unde

Maven based projects

2008-12-19 Thread Dominik Süß
Hi everyone, although repositorybased development with Sling/JCR may be pretty usefull for the first steps I am now trying to set up a maven/eclipse/svn based development environment. And here's my problem: I can't find a complete documentation about how to deploy sling apps in jcr "embedded" in b

Re: Lars Trieloff's Cheat Sheet for Sling

2008-07-22 Thread Dominik Süß
Hi, thanks @Lars for this great work. This is exaclty what I was missing when trying to explain other developers how sling works. By the way, the pdf link in the blog is rendered by the wrong renderer ;) Regards, Dominik On Tue, Jul 22, 2008 at 10:26 AM, Michael Marth <[EMAIL PROTECTED]> wrote:

Re: [jira] Created: (SLING-562) Pretty print the json dump

2008-07-04 Thread Dominik Süß
Damn - forget about this. Didn't realize it was a jira generated Mail and the discussion is in another mailingthread. Friday late @work SORRY Dominik On Fri, Jul 4, 2008 at 4:19 PM, Dominik Süß <[EMAIL PROTECTED]> wrote: > You shouldn't use a get-parameter fo

Re: [jira] Created: (SLING-562) Pretty print the json dump

2008-07-04 Thread Dominik Süß
You shouldn't use a get-parameter for this. Since the prettyprintet json representation of the data is just another static view of the data you should use a selector like /content/site/en.3.tidy.json Avoid the usage of get-parameters wherever possible. Personally I'd not need this prettypring feat

Re: [RT] Post processing of POSTs

2008-07-04 Thread Dominik Süß
usive. Regards, Dominik On Thu, Jul 3, 2008 at 4:51 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Thu, Jul 3, 2008 at 4:45 PM, Dominik Süß <[EMAIL PROTECTED]> > wrote: > > > ...for preprocessing I would see even more usecases - if you think of > > serverside

Re: [RT] Post processing of POSTs

2008-07-03 Thread Dominik Süß
Hi, for preprocessing I would see even more usecases - if you think of serverside backendprocesses like booking a flight you just can process the request after submitting, but should do the backendaction before persisting the node. Regards, Dominik On Thu, Jul 3, 2008 at 4:38 PM, Felix Meschberg

Re: Sling Release

2008-05-30 Thread Dominik Süß
be a nice information to be publicated ;) (wasn't that obvious to me). Regards, Dominik On Fri, May 30, 2008 at 3:15 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Hi, > > Am Freitag, den 30.05.2008, 15:08 +0200 schrieb Dominik Süß: > > Proposal for this and future releas

Re: Sling Release

2008-05-30 Thread Dominik Süß
Proposal for this and future releases: Versionname: 2.0.0-RC1 And trying to define a roadmap leading to the final release. Dominik On Fri, May 30, 2008 at 3:02 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Fri, May 30, 2008 at 2:55 PM, Dominik Süß <[EMAIL PROTECTED]>

Re: Sling Release

2008-05-30 Thread Dominik Süß
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 > >

Re: Sling Release

2008-05-30 Thread Dominik Süß
release, but hey. :) > > On Fri, May 30, 2008 at 8:10 AM, Dominik Süß <[EMAIL PROTECTED]> > wrote: > > > I think it wouldn't be good for the image of the "product" to release and > > have news all around in the IT-World without having at least a bas

Re: Sling Release

2008-05-30 Thread Dominik Süß
I think it wouldn't be good for the image of the "product" to release and have news all around in the IT-World without having at least a basic documentation which is up to date. I'd prefer to do a code freeze, build a release candidate and build the documentation within some days. Then it would

Re: Sling Release

2008-05-30 Thread Dominik Süß
About docs. I would prefer to have a nice documentation before releasing. Including: - Quickstart Tutorials - a few Sample Apps (with well documented code and functional description) - documentation of architecture (basic concepts) - documentation of maven usage - documentation of sling taglib (for

Re: OutOfMemory in Jackrabbit-Server install

2008-05-22 Thread Dominik Süß
I also had this issue when building only this bundle. But I agree, the release shouldn't be blocked by this issue. A note in the installation-instructions may be usefull. Best regards, Dominik On Thu, May 22, 2008 at 3:31 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > Hi, > > On Thu, May 2

Re: OutOfMemory in Jackrabbit-Server install

2008-05-22 Thread Dominik Süß
undle with tons of > additional classes to be built and analized. > > I will look into that and try to find a solution to this problem... See > SLING-443 [1] > > Regards > Felix > > [1] https://issues.apache.org/jira/browse/SLING-443 > > Am Freitag, den 09.05.2008, 20:

Re: OutOfMemory in Jackrabbit-Server install

2008-05-09 Thread Dominik Süß
Hi Paul, On Fri, May 9, 2008 at 8:07 PM, Paul Noden <[EMAIL PROTECTED]> wrote: > Just to check - you need to close the cmd prompt and open a new one > for the environment variable to take effect - unless you used SET on > the command line? yes I opened a new cmd prompt and received the error.

Re: OutOfMemory in Jackrabbit-Server install

2008-05-09 Thread Dominik Süß
On Fri, May 9, 2008 at 6:47 PM, Paul Noden <[EMAIL PROTECTED]> wrote: > Hi I recently had heap issues - try setting the environment vairable > MAVEN_OPTS="-Xmx1024m -Xms512m" or higher if you have the available > resources! > > Many Thanks, > > Paul Noden. > Following this instructions did not s

OutOfMemory in Jackrabbit-Server install

2008-05-09 Thread Dominik Süß
During a full build of sling on my laptop (after initial checkout) I got an OutOfMemory exception in the [INFO] Building Sling - Jackrabbit Embedded Repository Section. [ERROR] FATAL ERROR [INFO] [INFO] Java heap space [INFO]

Re: Simplifying script paths and names?

2008-04-26 Thread Dominik Süß
On Sat, Apr 26, 2008 at 7:16 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > > Well, on the other hand, it has been pointed out that the real issue is > just the fact that all scripts are named "htlm.*". I'm really not very > optimistic that the simple looking solution to duplicate the node name

Re: Simplifying script paths and names?

2008-04-25 Thread Dominik Süß
I missed an important point in this scenario. The "path"option doesn't produce unique paths. /apps/myapp/homepage/header/highlight/highlight.jpg.esp could be a produced by resolving: /content/myapp/homepage/header.highlight.jpg as well as by resolving: /content/myapp/homepage/header/highlight.jpg

Re: Simplifying script paths and names?

2008-04-25 Thread Dominik Süß
Hi, On Fri, Apr 25, 2008 at 5:52 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > I also wonder, why "/apps/myapp/homepage/header/highlight.jpg.esp" would > be easier to use than "/apps/myapp/homepage/header.highlight.jpg.esp" ? > It is eaven easier to manage: no need to move files in the hiera