bug in contrib/explorers/jQuery

2010-08-12 Thread Clemens Wyss
I found a little bug (which mainly showed up in FF) and have a patch ready to 
fix it.
Where (at https://issues.apache.org/jira/browse/SLING) should I file the bug 
and patch?

Are there any plans to extend this lightweight resource explorer? What 
additional features would make sense?


Re: [RT] Using FileInstall

2010-08-12 Thread Bertrand Delacretaz
On Tue, Aug 10, 2010 at 3:09 PM, Carsten Ziegeler cziege...@apache.org wrote:
 ...Therefore instead of enhancing FileInstall and add all our features, I
 think it makes more sense to leverage our OSGi installer and add file
 support to it - like we already have jcr support.

I'm glad to hear that - we spent lots of time getting the OSGi
installer to do the right thing with bundle updates.

 ...Basically all we need
 is a simple bundle doing file scans and triggering the osgi installer

Exactly - our OSGi installer module does all the hard stuff.

-Bertrand


Re: bug in contrib/explorers/jQuery

2010-08-12 Thread Bertrand Delacretaz
On Thu, Aug 12, 2010 at 8:21 AM, Clemens Wyss clemens...@mysign.ch wrote:
 I found a little bug (which mainly showed up in FF) and have a patch ready to 
 fix it.
 Where (at https://issues.apache.org/jira/browse/SLING) should I file the bug 
 and patch?

Just create an issue assigned to the extensions component.

 ...Are there any plans to extend this lightweight resource explorer?...

I haven't heard of any plans but patches are more than welcome, having
a more complete explorer out of the box would be cool.

Contributing to that doesn't require deep knowledge of Sling's
internal, so it's a nice way for people to get involved.

-Bertrand


RE: bug in contrib/explorers/jQuery

2010-08-12 Thread Clemens Wyss
 Just create an issue assigned to the extensions component.
ok

so it's a nice way for people to get involved.
my intention :-)

Nevertheless I need some extensions/features which would make sense...

 -Original Message-
 From: Bertrand Delacretaz [mailto:bdelacre...@apache.org]
 Sent: Thursday, August 12, 2010 8:28 AM
 To: dev@sling.apache.org
 Subject: Re: bug in contrib/explorers/jQuery


 On Thu, Aug 12, 2010 at 8:21 AM, Clemens Wyss
 clemens...@mysign.ch wrote:
  I found a little bug (which mainly showed up in FF) and
 have a patch ready to fix it.
  Where (at https://issues.apache.org/jira/browse/SLING)
 should I file the bug and patch?

 Just create an issue assigned to the extensions component.

  ...Are there any plans to extend this lightweight resource
 explorer?...

 I haven't heard of any plans but patches are more than welcome, having
 a more complete explorer out of the box would be cool.

 Contributing to that doesn't require deep knowledge of Sling's
 internal, so it's a nice way for people to get involved.

 -Bertrand



[jira] Created: (SLING-1645) jQuery explorer (contrib/explorers/jQuery) does not display properly in Firefox

2010-08-12 Thread Clemens Wyss (JIRA)
jQuery explorer (contrib/explorers/jQuery) does not display properly in Firefox
---

 Key: SLING-1645
 URL: https://issues.apache.org/jira/browse/SLING-1645
 Project: Sling
  Issue Type: Bug
  Components: Extensions
 Environment: Firefox
Reporter: Clemens Wyss
Priority: Minor


when launching the explorer in Firefox the root nodes are being replicated 
beneath the root nodes. See screenshot.

reason:
On the repo's root function init_load unnecessarily calls loadPath with an 
empty path. jQuery's $('p#') maps to all p's and ppends the root nodes to all 
root nodes

workaround:
in loadPath, check whether it is being called with an empty path, i.e. for root

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (SLING-1645) jQuery explorer (contrib/explorers/jQuery) does not display properly in Firefox

2010-08-12 Thread Clemens Wyss (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Clemens Wyss updated SLING-1645:


Attachment: jQuery_explorer_in_FF.png

 jQuery explorer (contrib/explorers/jQuery) does not display properly in 
 Firefox
 ---

 Key: SLING-1645
 URL: https://issues.apache.org/jira/browse/SLING-1645
 Project: Sling
  Issue Type: Bug
  Components: Extensions
 Environment: Firefox
Reporter: Clemens Wyss
Priority: Minor
 Attachments: jQuery_explorer_in_FF.png


 when launching the explorer in Firefox the root nodes are being replicated 
 beneath the root nodes. See screenshot.
 reason:
 On the repo's root function init_load unnecessarily calls loadPath with an 
 empty path. jQuery's $('p#') maps to all p's and ppends the root nodes to all 
 root nodes
 workaround:
 in loadPath, check whether it is being called with an empty path, i.e. for 
 root

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (SLING-1645) jQuery explorer (contrib/explorers/jQuery) does not display properly in Firefox

2010-08-12 Thread Clemens Wyss (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Clemens Wyss updated SLING-1645:


Attachment: explorer.js.diff

a patch/diff to solve this bug

 jQuery explorer (contrib/explorers/jQuery) does not display properly in 
 Firefox
 ---

 Key: SLING-1645
 URL: https://issues.apache.org/jira/browse/SLING-1645
 Project: Sling
  Issue Type: Bug
  Components: Extensions
 Environment: Firefox
Reporter: Clemens Wyss
Priority: Minor
 Attachments: explorer.js.diff, jQuery_explorer_in_FF.png


 when launching the explorer in Firefox the root nodes are being replicated 
 beneath the root nodes. See screenshot.
 reason:
 On the repo's root function init_load unnecessarily calls loadPath with an 
 empty path. jQuery's $('p#') maps to all p's and ppends the root nodes to all 
 root nodes
 workaround:
 in loadPath, check whether it is being called with an empty path, i.e. for 
 root

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (SLING-1560) Improve and clean up code

2010-08-12 Thread Carsten Ziegeler (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-1560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897599#action_12897599
 ] 

Carsten Ziegeler commented on SLING-1560:
-

Changes in revision 984660
Remove unused Sling API reference from tests in jcr install

 Improve and clean up code
 -

 Key: SLING-1560
 URL: https://issues.apache.org/jira/browse/SLING-1560
 Project: Sling
  Issue Type: Improvement
  Components: Installer
Affects Versions: OSGi Installer 3.0.0, JCR Installer 3.0.0
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
 Fix For: OSGi Installer 3.0.0, JCR Installer 3.0.0


 In order to fix some outstanding bugs and to add new features, a code review 
 and clean up seems to be a good idea :)
 This bug will keep track of all changes to the code that don't add new 
 features

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (SLING-1643) Add start level support

2010-08-12 Thread Carsten Ziegeler (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-1643.
-

Resolution: Fixed

Added start level support through the dictionary in revision 984661

 Add start level support
 ---

 Key: SLING-1643
 URL: https://issues.apache.org/jira/browse/SLING-1643
 Project: Sling
  Issue Type: Improvement
  Components: Installer
Affects Versions: OSGi Installer 3.0.0
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
 Fix For: OSGi Installer 3.0.0


 An installable resource for a bundle might also contain a dictionary with 
 additional information like a start level.
 If such a valid start level is provided the bundle should be installed in 
 that level

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: [RT] API, settings and run mode

2010-08-12 Thread Felix Meschberger
Sounds like a good plan.

+1 from me ;-)

Regards
Felix

On 11.08.2010 11:23, Carsten Ziegeler wrote:
 Hi,
 
 while looking at the current installer code, I noticed that it would be
 nice to have the run mode stuff at a more prominent place (so far we
 have never released this bundle yet).
 We have the SlingSettingsService in our API - which is a prominent place
 but somehow the service doesn't feel right there (and we haven't
 released the API with that service yet).
 The implementation of the SlingSettingsService is in the engine bundle
 though it has no other dependencies to the engine. This makes other
 bundles using the settings service (like the Sling eventing) indirectly
 depend on the engine although they never need the engine.
 
 I think I much cleaner solution would be:
 - creating a new settings bundle under /extensions
 - move the SlingSettingsService there from the API
 - move the implementation from the engine bundle to the API
 - add stuff from the current RunMode interface to the
 SlingSettingsService and move the run mode implementation into the
 settings bundle as well
 
 This will clean up our API again and bundles requiring run mode or sling
 settings depend on a single, small bundle: the settings bundle.
 As all of this is not released yet, we can safely change this.
 
 People who might already use the run mode stuff can safely continue to
 do so as the new settings bundle would not interfere with the run mode
 bundle - you would just end up with two services doing the same stuff.
 
 If noone objects, I'll do these changes this week.
 
 Regards
 Carsten


Build failed in Hudson: sling-contrib-1.5 » Apache Sling Launchpad Contrib Testing #556

2010-08-12 Thread Apache Hudson Server
See 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/556/

--
[...truncated 17 lines...]
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.mime/2.1.4/org.apache.sling.commons.mime-2.1.4.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.mime-2.1.4.jar
[INFO] snapshot 
org.apache.sling:org.apache.sling.commons.classloader:1.1.5-SNAPSHOT: checking 
for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.classloader/1.1.5-SNAPSHOT/org.apache.sling.commons.classloader-1.1.5-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.classloader-1.1.5-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.api/2.0.9-SNAPSHOT/org.apache.sling.api-2.0.9-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.api-2.0.9-SNAPSHOT.jar
[INFO] snapshot org.apache.sling:org.apache.sling.commons.auth:0.9.0-SNAPSHOT: 
checking for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.auth/0.9.0-SNAPSHOT/org.apache.sling.commons.auth-0.9.0-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.auth-0.9.0-SNAPSHOT.jar
[INFO] snapshot org.apache.sling:org.apache.sling.engine:2.0.7-SNAPSHOT: 
checking for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.engine/2.0.7-SNAPSHOT/org.apache.sling.engine-2.0.7-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.engine-2.0.7-SNAPSHOT.jar
[INFO] snapshot org.apache.sling:org.apache.sling.httpauth:2.0.5-SNAPSHOT: 
checking for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.httpauth/2.0.5-SNAPSHOT/org.apache.sling.httpauth-2.0.5-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.httpauth-2.0.5-SNAPSHOT.jar
[INFO] snapshot org.apache.sling:org.apache.sling.openidauth:0.9.1-SNAPSHOT: 
checking for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.openidauth/0.9.1-SNAPSHOT/org.apache.sling.openidauth-0.9.1-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.openidauth-0.9.1-SNAPSHOT.jar
[INFO] snapshot org.apache.sling:org.apache.sling.formauth:0.9-SNAPSHOT: 
checking for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.formauth/0.9-SNAPSHOT/org.apache.sling.formauth-0.9-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.formauth-0.9-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.adapter/2.0.4/org.apache.sling.adapter-2.0.4.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.adapter-2.0.4.jar
[INFO] snapshot 
org.apache.sling:org.apache.sling.servlets.resolver:2.0.9-SNAPSHOT: checking 
for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.servlets.resolver/2.0.9-SNAPSHOT/org.apache.sling.servlets.resolver-2.0.9-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.servlets.resolver-2.0.9-SNAPSHOT.jar
[INFO] snapshot org.apache.sling:org.apache.sling.servlets.get:2.0.9-SNAPSHOT: 
checking for updates from scala-tools.org
[INFO] Copying bundle from 

Build failed in Hudson: sling-contrib-1.5 #556

2010-08-12 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/556/

--
[...truncated 3541 lines...]
[INFO] snapshot org.apache.sling:org.apache.sling.engine:2.0.7-SNAPSHOT: 
checking for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.engine/2.0.7-SNAPSHOT/org.apache.sling.engine-2.0.7-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.engine-2.0.7-SNAPSHOT.jar
[INFO] snapshot org.apache.sling:org.apache.sling.httpauth:2.0.5-SNAPSHOT: 
checking for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.httpauth/2.0.5-SNAPSHOT/org.apache.sling.httpauth-2.0.5-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.httpauth-2.0.5-SNAPSHOT.jar
[INFO] snapshot org.apache.sling:org.apache.sling.openidauth:0.9.1-SNAPSHOT: 
checking for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.openidauth/0.9.1-SNAPSHOT/org.apache.sling.openidauth-0.9.1-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.openidauth-0.9.1-SNAPSHOT.jar
[INFO] snapshot org.apache.sling:org.apache.sling.formauth:0.9-SNAPSHOT: 
checking for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.formauth/0.9-SNAPSHOT/org.apache.sling.formauth-0.9-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.formauth-0.9-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.adapter/2.0.4/org.apache.sling.adapter-2.0.4.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.adapter-2.0.4.jar
[INFO] snapshot 
org.apache.sling:org.apache.sling.servlets.resolver:2.0.9-SNAPSHOT: checking 
for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.servlets.resolver/2.0.9-SNAPSHOT/org.apache.sling.servlets.resolver-2.0.9-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.servlets.resolver-2.0.9-SNAPSHOT.jar
[INFO] snapshot org.apache.sling:org.apache.sling.servlets.get:2.0.9-SNAPSHOT: 
checking for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.servlets.get/2.0.9-SNAPSHOT/org.apache.sling.servlets.get-2.0.9-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.servlets.get-2.0.9-SNAPSHOT.jar
[INFO] snapshot org.apache.sling:org.apache.sling.servlets.post:2.0.5-SNAPSHOT: 
checking for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.servlets.post/2.0.5-SNAPSHOT/org.apache.sling.servlets.post-2.0.5-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.servlets.post-2.0.5-SNAPSHOT.jar
[INFO] snapshot 
org.apache.sling:org.apache.sling.jcr.contentloader:2.0.7-SNAPSHOT: checking 
for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.jcr.contentloader/2.0.7-SNAPSHOT/org.apache.sling.jcr.contentloader-2.0.7-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.jcr.contentloader-2.0.7-SNAPSHOT.jar
[INFO] snapshot org.apache.sling:org.apache.sling.jcr.resource:2.0.7-SNAPSHOT: 
checking for updates from scala-tools.org
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.jcr.resource/2.0.7-SNAPSHOT/org.apache.sling.jcr.resource-2.0.7-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.jcr.resource-2.0.7-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.jcr.ocm/2.0.4-incubator/org.apache.sling.jcr.ocm-2.0.4-incubator.jar
 to 

[jira] Created: (SLING-1646) Expose subset of authentication info properties as ResourceResolver attributes

2010-08-12 Thread Felix Meschberger (JIRA)
Expose subset of authentication info properties as ResourceResolver attributes
--

 Key: SLING-1646
 URL: https://issues.apache.org/jira/browse/SLING-1646
 Project: Sling
  Issue Type: Improvement
  Components: API, JCR
Reporter: Felix Meschberger
Assignee: Felix Meschberger
 Fix For: JCR Resource 2.0.8, API 2.1.0


The properties of the authentication info (or credentials map) provided to the 
ResoureResolverFactory to create a new ResourceResolver should be exposed by 
the ResourceResolver.

Exceptions apply to any passwords or JCR Credentials or other identifiable 
sensitive information, which should of course not be exposed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (SLING-1647) Cleanup Authentication Info constants and implementation

2010-08-12 Thread Felix Meschberger (JIRA)
Cleanup Authentication Info constants and implementation


 Key: SLING-1647
 URL: https://issues.apache.org/jira/browse/SLING-1647
 Project: Sling
  Issue Type: Improvement
  Components: API, Commons, JCR
Reporter: Felix Meschberger
 Fix For: JCR Resource 2.0.8, Commons Auth 1.0.0, API 2.1.0


The constants defined on the AuthenticationInfo class in the Commons Auth 
bundle should be moved as follows:

USER = user.name
to the ResourceResolverFactory interface

PASSWORD = user.password;
to the ResourceResolverFactory interface

CREDENTIALS = user.jcr.credentials;
to the JcrResourceResolverFactory interface

In addition support for checking the type of a credentials property is to be 
removed from the AuthenticationInfo class.

Likewise the following constants currently internal to the 
JcrResourceResolverFactoryImpl class should be moved:

AUTH_INFO_WORKSPACE = internal.user.jcr.workspace;
to the JcrResourceResolverFactory interface
and change value to user.jcr.workspace (removing the internal 
prefix)

SESSION_ATTR_IMPERSONATOR = impersonator;
to the ResourceResolverFactory interface

Finally the following constant from the ResourceResolverFactory interface 
should be changed:

SUDO_USER_ID = sudo.user.id;
change the value to user.impersonation

At the end use constants should be ensured, mostly in the 
JcrResourceResolverFactoryImpl and JcrResourceResolver classes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Assigned: (SLING-1647) Cleanup Authentication Info constants and implementation

2010-08-12 Thread Felix Meschberger (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger reassigned SLING-1647:


Assignee: Felix Meschberger

 Cleanup Authentication Info constants and implementation
 

 Key: SLING-1647
 URL: https://issues.apache.org/jira/browse/SLING-1647
 Project: Sling
  Issue Type: Improvement
  Components: API, Commons, JCR
Reporter: Felix Meschberger
Assignee: Felix Meschberger
 Fix For: JCR Resource 2.0.8, Commons Auth 1.0.0, API 2.1.0


 The constants defined on the AuthenticationInfo class in the Commons Auth 
 bundle should be moved as follows:
 USER = user.name
 to the ResourceResolverFactory interface
 PASSWORD = user.password;
 to the ResourceResolverFactory interface
 CREDENTIALS = user.jcr.credentials;
 to the JcrResourceResolverFactory interface
 In addition support for checking the type of a credentials property is to be 
 removed from the AuthenticationInfo class.
 Likewise the following constants currently internal to the 
 JcrResourceResolverFactoryImpl class should be moved:
 AUTH_INFO_WORKSPACE = internal.user.jcr.workspace;
 to the JcrResourceResolverFactory interface
 and change value to user.jcr.workspace (removing the internal 
 prefix)
 SESSION_ATTR_IMPERSONATOR = impersonator;
 to the ResourceResolverFactory interface
 Finally the following constant from the ResourceResolverFactory interface 
 should be changed:
 SUDO_USER_ID = sudo.user.id;
 change the value to user.impersonation
 At the end use constants should be ensured, mostly in the 
 JcrResourceResolverFactoryImpl and JcrResourceResolver classes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (SLING-1644) Use configuration reader from Apache Felix ConfigAdmin

2010-08-12 Thread Carsten Ziegeler (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-1644.
-

Resolution: Fixed

Added support for the two dictionary file formats with various extensions in 
revision 984676

 Use configuration reader from Apache Felix ConfigAdmin
 --

 Key: SLING-1644
 URL: https://issues.apache.org/jira/browse/SLING-1644
 Project: Sling
  Issue Type: Improvement
  Components: Installer
Affects Versions: OSGi Installer 3.0.0
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
 Fix For: OSGi Installer 3.0.0


 The Apache Felix ConfigAdmin provides an easily integrateable reader for 
 configuration files - we should directly use this in the installer to support 
 configurations based on an input stream.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



esp - enlist jcr:primaryType's and or sling:resourceType's ?

2010-08-12 Thread Clemens Wyss
How can I enlist all available jcr:primaryType's from within esp?

How can I enlist all available sling:resourceType's from within esp?


Re: esp - enlist jcr:primaryType's and or sling:resourceType's ?

2010-08-12 Thread Julian Sedding
Hi Clemens

On Thu, Aug 12, 2010 at 10:58 AM, Clemens Wyss clemens...@mysign.ch wrote:
 How can I enlist all available jcr:primaryType's from within esp?

 Via javax.jcr.nodetype.NodeTypeManager#getPrimaryNodeTypes()[0].
Other interesting methods may be getMixinNodeTypes() and
getAllNodeTypes().


 How can I enlist all available sling:resourceType's from within esp?

I don't think you can, as there is no resource type registry. In
theory pretty much any path containing a script can be considered a
resource type. In practice (by convention; at least in CQ5), resource
types are mostly defined as /apps/*/components/[component name] and
/libs/*/components/[component name].

Regards
Julian

[0] 
http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/nodetype/NodeTypeManager.html?is-external=true


[jira] Commented: (SLING-1560) Improve and clean up code

2010-08-12 Thread Carsten Ziegeler (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-1560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897668#action_12897668
 ] 

Carsten Ziegeler commented on SLING-1560:
-

Changes in revision 984709
Further reduce the installer context - this will make it easier to make it 
public for pluggable tasks
Removed most of the stuff from the installer itself - we can now merge the 
installer and the thread

 Improve and clean up code
 -

 Key: SLING-1560
 URL: https://issues.apache.org/jira/browse/SLING-1560
 Project: Sling
  Issue Type: Improvement
  Components: Installer
Affects Versions: OSGi Installer 3.0.0, JCR Installer 3.0.0
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
 Fix For: OSGi Installer 3.0.0, JCR Installer 3.0.0


 In order to fix some outstanding bugs and to add new features, a code review 
 and clean up seems to be a good idea :)
 This bug will keep track of all changes to the code that don't add new 
 features

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Build failed in Hudson: sling-contrib-1.5 » Apache Sling Launchpad Contrib Testing #557

2010-08-12 Thread Apache Hudson Server
See 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/557/

--
[INFO] 
[INFO] Building Apache Sling Launchpad Contrib Testing
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target
[INFO] Deleting file-set: 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/
 (included: [derby.log, cachedir, sling], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [launchpad:prepare-package {execution: prepare-package}]
[INFO] Using bundle list file from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad/6-SNAPSHOT/org.apache.sling.launchpad-6-SNAPSHOT-bundlelist.xml
[INFO] Copying base artifact from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad.base/2.2.0/org.apache.sling.launchpad.base-2.2.0.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/org.apache.sling.launchpad.base.jar.
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/commons-io-1.4.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/commons-fileupload-1.2.2.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/commons-collections-3.2.1.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar 
to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/commons-lang-2.5.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.osgi/2.0.6/org.apache.sling.commons.osgi-2.0.6.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.osgi-2.0.6.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.mime/2.1.4/org.apache.sling.commons.mime-2.1.4.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.mime-2.1.4.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.classloader/1.1.5-SNAPSHOT/org.apache.sling.commons.classloader-1.1.5-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.classloader-1.1.5-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.api/2.0.9-SNAPSHOT/org.apache.sling.api-2.0.9-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.api-2.0.9-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.auth/0.9.0-SNAPSHOT/org.apache.sling.commons.auth-0.9.0-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.auth-0.9.0-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.engine/2.0.7-SNAPSHOT/org.apache.sling.engine-2.0.7-SNAPSHOT.jar
 to 

Build failed in Hudson: sling-contrib-1.5 #557

2010-08-12 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/557/

--
[...truncated 3481 lines...]
[INFO] Building Apache Sling Features for ServiceMix Kernel
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set: 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/smx-kernel/target
 (included: [**], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: filter}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
 [echo] ** WARNING (SLING-443) 
**
 [echo] On most platforms, you'll get OutOfMemoryErrors when building 
unless you set
 [echo] MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=128M, see SLING-443.
 [echo] 
*
[INFO] Executed tasks
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[HUDSON] Archiving 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/smx-kernel/pom.xml
 to 
/export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.launchpad.smx-kernel/builds/2010-08-12_09-58-18/archive/org.apache.sling/org.apache.sling.launchpad.smx-kernel/2.0.0-SNAPSHOT/pom.xml
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] [build-helper:attach-artifact {execution: attach-artifacts}]
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/smx-kernel/pom.xml
 to 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad.smx-kernel/2.0.0-SNAPSHOT/org.apache.sling.launchpad.smx-kernel-2.0.0-SNAPSHOT.pom
[INFO] Installing 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/smx-kernel/target/classes/features.xml
 to 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad.smx-kernel/2.0.0-SNAPSHOT/org.apache.sling.launchpad.smx-kernel-2.0.0-SNAPSHOT-features.xml
[HUDSON] Archiving 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad.smx-kernel/2.0.0-SNAPSHOT/org.apache.sling.launchpad.smx-kernel-2.0.0-SNAPSHOT.pom
 to 
/export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.launchpad.smx-kernel/builds/2010-08-12_09-58-18/archive/org.apache.sling/org.apache.sling.launchpad.smx-kernel/2.0.0-SNAPSHOT/org.apache.sling.launchpad.smx-kernel-2.0.0-SNAPSHOT.pom
[HUDSON] Archiving 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/smx-kernel/target/classes/features.xml
 to 
/export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.launchpad.smx-kernel/builds/2010-08-12_09-58-18/archive/org.apache.sling/org.apache.sling.launchpad.smx-kernel/2.0.0-SNAPSHOT/features.xml
[INFO] 
[INFO] Building Apache Sling Launchpad Contrib Testing
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target
[INFO] Deleting file-set: 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing
 (included: [derby.log, cachedir, sling], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [launchpad:prepare-package {execution: prepare-package}]
[INFO] Using bundle list file from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad/6-SNAPSHOT/org.apache.sling.launchpad-6-SNAPSHOT-bundlelist.xml
[INFO] Copying base artifact from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad.base/2.2.0/org.apache.sling.launchpad.base-2.2.0.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/org.apache.sling.launchpad.base.jar.
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/commons-io-1.4.jar
[INFO] Copying bundle from 

Build failed in Hudson: sling-contrib-1.5 » Apache Sling Launchpad Contrib Testing #558

2010-08-12 Thread Apache Hudson Server
See 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/558/

--
[INFO] 
[INFO] Building Apache Sling Launchpad Contrib Testing
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target
[INFO] Deleting file-set: 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/
 (included: [derby.log, cachedir, sling], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [launchpad:prepare-package {execution: prepare-package}]
[INFO] Using bundle list file from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad/6-SNAPSHOT/org.apache.sling.launchpad-6-SNAPSHOT-bundlelist.xml
[INFO] Copying base artifact from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad.base/2.2.0/org.apache.sling.launchpad.base-2.2.0.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/org.apache.sling.launchpad.base.jar.
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/commons-io-1.4.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/commons-fileupload-1.2.2.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/commons-collections-3.2.1.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar 
to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/commons-lang-2.5.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.osgi/2.0.6/org.apache.sling.commons.osgi-2.0.6.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.osgi-2.0.6.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.mime/2.1.4/org.apache.sling.commons.mime-2.1.4.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.mime-2.1.4.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.classloader/1.1.5-SNAPSHOT/org.apache.sling.commons.classloader-1.1.5-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.classloader-1.1.5-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.api/2.0.9-SNAPSHOT/org.apache.sling.api-2.0.9-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.api-2.0.9-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.auth/0.9.0-SNAPSHOT/org.apache.sling.commons.auth-0.9.0-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.auth-0.9.0-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.engine/2.0.7-SNAPSHOT/org.apache.sling.engine-2.0.7-SNAPSHOT.jar
 to 

Build failed in Hudson: sling-contrib-1.5 #558

2010-08-12 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/558/

--
[...truncated 3484 lines...]
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set: 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/smx-kernel/target
 (included: [**], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: filter}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
 [echo] ** WARNING (SLING-443) 
**
 [echo] On most platforms, you'll get OutOfMemoryErrors when building 
unless you set
 [echo] MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=128M, see SLING-443.
 [echo] 
*
[INFO] Executed tasks
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[HUDSON] Archiving 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/smx-kernel/pom.xml
 to 
/export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.launchpad.smx-kernel/builds/2010-08-12_12-12-13/archive/org.apache.sling/org.apache.sling.launchpad.smx-kernel/2.0.0-SNAPSHOT/pom.xml
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] [build-helper:attach-artifact {execution: attach-artifacts}]
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/smx-kernel/pom.xml
 to 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad.smx-kernel/2.0.0-SNAPSHOT/org.apache.sling.launchpad.smx-kernel-2.0.0-SNAPSHOT.pom
[INFO] Installing 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/smx-kernel/target/classes/features.xml
 to 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad.smx-kernel/2.0.0-SNAPSHOT/org.apache.sling.launchpad.smx-kernel-2.0.0-SNAPSHOT-features.xml
[HUDSON] Archiving 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad.smx-kernel/2.0.0-SNAPSHOT/org.apache.sling.launchpad.smx-kernel-2.0.0-SNAPSHOT.pom
 to 
/export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.launchpad.smx-kernel/builds/2010-08-12_12-12-13/archive/org.apache.sling/org.apache.sling.launchpad.smx-kernel/2.0.0-SNAPSHOT/org.apache.sling.launchpad.smx-kernel-2.0.0-SNAPSHOT.pom
[HUDSON] Archiving 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/smx-kernel/target/classes/features.xml
 to 
/export/home/hudson/hudson/jobs/sling-contrib-1.5/modules/org.apache.sling$org.apache.sling.launchpad.smx-kernel/builds/2010-08-12_12-12-13/archive/org.apache.sling/org.apache.sling.launchpad.smx-kernel/2.0.0-SNAPSHOT/features.xml
[INFO] 
[INFO] Building Apache Sling Launchpad Contrib Testing
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target
[INFO] Deleting file-set: 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing
 (included: [derby.log, cachedir, sling], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [launchpad:prepare-package {execution: prepare-package}]
[INFO] Using bundle list file from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad/6-SNAPSHOT/org.apache.sling.launchpad-6-SNAPSHOT-bundlelist.xml
[INFO] Copying base artifact from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad.base/2.2.0/org.apache.sling.launchpad.base-2.2.0.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/org.apache.sling.launchpad.base.jar.
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/commons-io-1.4.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar
 to 

[jira] Commented: (SLING-1647) Cleanup Authentication Info constants and implementation

2010-08-12 Thread Felix Meschberger (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897753#action_12897753
 ] 

Felix Meschberger commented on SLING-1647:
--

Change the OpenID and Form authentication handlers to set their handler 
specific data as properties in the AuthenticationInfo map instead of a 
SimpleCredentials object. The JcrResourceResolverFactoryImpl class will copy 
these properties to the SimpleCredentials object when the ResourceResolver is 
created. Done in Rev. 984778.

 Cleanup Authentication Info constants and implementation
 

 Key: SLING-1647
 URL: https://issues.apache.org/jira/browse/SLING-1647
 Project: Sling
  Issue Type: Improvement
  Components: API, Commons, JCR
Reporter: Felix Meschberger
Assignee: Felix Meschberger
 Fix For: JCR Resource 2.0.8, Commons Auth 1.0.0, API 2.1.0


 The constants defined on the AuthenticationInfo class in the Commons Auth 
 bundle should be moved as follows:
 USER = user.name
 to the ResourceResolverFactory interface
 PASSWORD = user.password;
 to the ResourceResolverFactory interface
 CREDENTIALS = user.jcr.credentials;
 to the JcrResourceResolverFactory interface
 In addition support for checking the type of a credentials property is to be 
 removed from the AuthenticationInfo class.
 Likewise the following constants currently internal to the 
 JcrResourceResolverFactoryImpl class should be moved:
 AUTH_INFO_WORKSPACE = internal.user.jcr.workspace;
 to the JcrResourceResolverFactory interface
 and change value to user.jcr.workspace (removing the internal 
 prefix)
 SESSION_ATTR_IMPERSONATOR = impersonator;
 to the ResourceResolverFactory interface
 Finally the following constant from the ResourceResolverFactory interface 
 should be changed:
 SUDO_USER_ID = sudo.user.id;
 change the value to user.impersonation
 At the end use constants should be ensured, mostly in the 
 JcrResourceResolverFactoryImpl and JcrResourceResolver classes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (SLING-1649) AbstractDispatcherTagHandler should override release() and free resources

2010-08-12 Thread Tobias Bocanegra (JIRA)
AbstractDispatcherTagHandler should override release() and free resources
-

 Key: SLING-1649
 URL: https://issues.apache.org/jira/browse/SLING-1649
 Project: Sling
  Issue Type: Bug
  Components: Scripting
Reporter: Tobias Bocanegra
Priority: Minor


especially: resource 

see: 
http://download-llnw.oracle.com/javaee/1.4/api/javax/servlet/jsp/tagext/Tag.html#release()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



extending jQuery JCR Resource explorer

2010-08-12 Thread Clemens Wyss
As promised, I (actually it's we, MySign) intend to extend the jQuery JCR 
Resource (contrib/explorers/jQuery) explorer in order to make it more valuable 
for developers.

Features currently available (as of May 17th 2010, rev 945149):
+ login
+ browse JCR
+ add node (name, sling:resourceType and jcr:primaryType have to be entered 
manually (input field))
+ delete node
+ view properties (multivalue properties are shown inline in an input field)
+ modify/update property (single value properties only)
+ delete property

desirable features:
1) jcr:primaryNodeType properties should be selectable
2) view/add/edit/delete multivalued properties
3) view/add/edit/delete mixin types, mixin types should be selectable
4) simplified input for known types, such as date (see also 1) and 3) )
5) search/filter functionality (SQL2, JQOM?)
6) nt:file - file upload
7) import/export subtrees, format to be defined
8) input validation
9) ajax'ify the client
10) usermanagement
more to come...

WDYT? Anything important/fancy missing? How would you priorize these features?


Build failed in Hudson: sling-trunk-1.5 » Apache Sling JCR Resource Resolver #827

2010-08-12 Thread Apache Hudson Server
See 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.jcr.resource/827/changes

Changes:

[fmeschbe] SLING-1647 Expose o.a.s.jcr.resource API as fixed version 2.1 
(instead of refering to the project version which is a moving target)

--
[INFO] 
[INFO] Building Apache Sling JCR Resource Resolver
[INFO]task-segment: [clean, deploy]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set: 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.jcr.resource/ws/target
 (included: [**], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] Copying 3 resources
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
 [echo] ** WARNING (SLING-443) 
**
 [echo] On most platforms, you'll get OutOfMemoryErrors when building 
unless you set
 [echo] MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=128M, see SLING-443.
 [echo] 
*
[INFO] Executed tasks
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 31 source files to 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.jcr.resource/ws/target/classes
[HUDSON] Archiving 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.jcr.resource/ws/pom.xml
 to 
/export/home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.jcr.resource/builds/2010-08-12_15-22-09/archive/org.apache.sling/org.apache.sling.jcr.resource/2.0.7-SNAPSHOT/pom.xml
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure

http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.jcr.resource/ws/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverFactoryImpl.java:[576,74]
 cannot find symbol
symbol  : variable SUDO_USER_ID
location: interface org.apache.sling.api.resource.ResourceResolverFactory

http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.jcr.resource/ws/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java:[62,7]
 org.apache.sling.jcr.resource.internal.JcrResourceResolver is not abstract and 
does not override abstract method getAttribute(java.lang.String) in 
org.apache.sling.api.resource.ResourceResolver


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 7 minutes 8 seconds
[INFO] Finished at: Thu Aug 12 15:29:29 UTC 2010
[INFO] Final Memory: 94M/159M
[INFO] 
Waiting for Hudson to finish collecting data



Build failed in Hudson: sling-trunk-1.5 #827

2010-08-12 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/827/changes

Changes:

[fmeschbe] SLING-1647 Expose o.a.s.jcr.resource API as fixed version 2.1 
(instead of refering to the project version which is a moving target)

[fmeschbe] SLING-1647 Remove old constant definitions (now moved to 
ResourceResolverFactory and JcrResourceConstants) and adapt the code and remove 
the check for the Credentials property not appropriate here.

[fmeschbe] SLING-1647 Add USER, PASSWORD, and USER_IMPERSONATION constants 
(moved from AuthenticationInfo class)

[fmeschbe] SLING-1646 Define getAttribute(String) and getAttributeNames() 
methods to expose the properties used to create the ResourceResolver
SLING-1647 Move the USER_IMPERSONATION constant to prime time to make it 
available to applications to check whether a resource resolver is impersonated 
or not

[fmeschbe] SLING-1647 Set handler specific properties in the AuthenticationInfo 
instead of the credentials. The properties will be transferred to the session 
by the ResourceResolverFactory implementation

--
[...truncated 3786 lines...]
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.123 sec
Running org.apache.sling.jcr.contentloader.internal.JsonReaderTest
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.131 sec

Results :

Tests run: 24, Failures: 0, Errors: 0, Skipped: 0

[HUDSON] Recording test results
[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[HUDSON] Archiving 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/jcr/contentloader/pom.xml
 to 
/export/home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.jcr.contentloader/builds/2010-08-12_15-22-09/archive/org.apache.sling/org.apache.sling.jcr.contentloader/2.0.7-SNAPSHOT/pom.xml
[HUDSON] Archiving 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/jcr/contentloader/target/org.apache.sling.jcr.contentloader-2.0.7-SNAPSHOT.jar
 to 
/export/home/hudson/hudson/jobs/sling-trunk-1.5/modules/org.apache.sling$org.apache.sling.jcr.contentloader/builds/2010-08-12_15-22-09/archive/org.apache.sling/org.apache.sling.jcr.contentloader/2.0.7-SNAPSHOT/org.apache.sling.jcr.contentloader-2.0.7-SNAPSHOT.jar
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/jcr/contentloader/target/org.apache.sling.jcr.contentloader-2.0.7-SNAPSHOT-sources.jar
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: 
org.apache.sling.jcr.contentloader-2.0.7-SNAPSHOT.jar
[INFO] Checking legal files in: 
org.apache.sling.jcr.contentloader-2.0.7-SNAPSHOT-sources.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/jcr/contentloader/target/org.apache.sling.jcr.contentloader-2.0.7-SNAPSHOT.jar
 to 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.jcr.contentloader/2.0.7-SNAPSHOT/org.apache.sling.jcr.contentloader-2.0.7-SNAPSHOT.jar
[INFO] Installing 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/ws/trunk/bundles/jcr/contentloader/target/org.apache.sling.jcr.contentloader-2.0.7-SNAPSHOT-sources.jar
 to 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.jcr.contentloader/2.0.7-SNAPSHOT/org.apache.sling.jcr.contentloader-2.0.7-SNAPSHOT-sources.jar
[INFO] [bundle:install {execution: default-install}]
[INFO] Parsing file:/home/hudson/.m2/repository/repository.xml
[Fatal Error] :-1:-1: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
at 
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:264)
at 
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172)
at org.apache.felix.obrplugin.ObrUpdate.parseFile(ObrUpdate.java:347)
at 
org.apache.felix.obrplugin.ObrUpdate.parseRepositoryXml(ObrUpdate.java:324)
at org.apache.felix.obrplugin.ObrInstall.execute(ObrInstall.java:140)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at 
hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at 

[jira] Commented: (SLING-1646) Expose subset of authentication info properties as ResourceResolver attributes

2010-08-12 Thread Felix Meschberger (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897804#action_12897804
 ] 

Felix Meschberger commented on SLING-1646:
--

Added the getAttribute(String) and getAttributeNames() methods to the 
ResourceResolver API in Rev. 984813.
Implement new getAttributeNames() and getAttribute(String) method in Rev. 984832
Added unit tests in Rev. 984840

 Expose subset of authentication info properties as ResourceResolver attributes
 --

 Key: SLING-1646
 URL: https://issues.apache.org/jira/browse/SLING-1646
 Project: Sling
  Issue Type: Improvement
  Components: API, JCR
Reporter: Felix Meschberger
Assignee: Felix Meschberger
 Fix For: JCR Resource 2.0.8, API 2.1.0


 The properties of the authentication info (or credentials map) provided to 
 the ResoureResolverFactory to create a new ResourceResolver should be exposed 
 by the ResourceResolver.
 Exceptions apply to any passwords or JCR Credentials or other identifiable 
 sensitive information, which should of course not be exposed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (SLING-1647) Cleanup Authentication Info constants and implementation

2010-08-12 Thread Felix Meschberger (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897805#action_12897805
 ] 

Felix Meschberger commented on SLING-1647:
--

Moved the USER_IMPERSONATOR constant to the ResourceResolver interface in Rev. 
984813.
Add USER, PASSWORD, and USER_IMPERSONATION constants (moved from 
AuthenticationInfo class) to the ResourceResolverFactory interface in Rev. 
984814.
Adapted the Commons Auth code for the moved constants and removed the constants 
from the AuthenticationInfo class in Rev. 984816
Expose o.a.s.jcr.resource API as fixed version 2.1 (instead of refering to the 
project version which is a moving target) in Rev. 984817
Use new constants in the JcrResourceResolver. Add close check to the clome 
method and reuse the clone method for the getResolverForWorkspace method in 
Rev. 984832
Adapted jcr/resource bundle to new constants and added/adapted unit tests in 
Rev. 984840.

 Cleanup Authentication Info constants and implementation
 

 Key: SLING-1647
 URL: https://issues.apache.org/jira/browse/SLING-1647
 Project: Sling
  Issue Type: Improvement
  Components: API, Commons, JCR
Reporter: Felix Meschberger
Assignee: Felix Meschberger
 Fix For: JCR Resource 2.0.8, Commons Auth 1.0.0, API 2.1.0


 The constants defined on the AuthenticationInfo class in the Commons Auth 
 bundle should be moved as follows:
 USER = user.name
 to the ResourceResolverFactory interface
 PASSWORD = user.password;
 to the ResourceResolverFactory interface
 CREDENTIALS = user.jcr.credentials;
 to the JcrResourceResolverFactory interface
 In addition support for checking the type of a credentials property is to be 
 removed from the AuthenticationInfo class.
 Likewise the following constants currently internal to the 
 JcrResourceResolverFactoryImpl class should be moved:
 AUTH_INFO_WORKSPACE = internal.user.jcr.workspace;
 to the JcrResourceResolverFactory interface
 and change value to user.jcr.workspace (removing the internal 
 prefix)
 SESSION_ATTR_IMPERSONATOR = impersonator;
 to the ResourceResolverFactory interface
 Finally the following constant from the ResourceResolverFactory interface 
 should be changed:
 SUDO_USER_ID = sudo.user.id;
 change the value to user.impersonation
 At the end use constants should be ensured, mostly in the 
 JcrResourceResolverFactoryImpl and JcrResourceResolver classes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Build failed in Hudson: sling-trunk-1.6 #520

2010-08-12 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/sling-trunk-1.6/520/changes

Changes:

[fmeschbe] SLING-1646 Add unit tests for new ResourceResolver methods
SLING-1647 Add JCR specific resource resolver creation constants; adapt the 
implementation classes and add/adapt unit tests

[fmeschbe] SLING-1647 Implement new getAttributeNames() and 
getAttribute(String) methods and use new constants. Add close check to the 
clome method and reuse the clone method for the getResolverForWorkspace method

[fmeschbe] SLING-1647 Expose o.a.s.jcr.resource API as fixed version 2.1 
(instead of refering to the project version which is a moving target)

[fmeschbe] SLING-1647 Remove old constant definitions (now moved to 
ResourceResolverFactory and JcrResourceConstants) and adapt the code and remove 
the check for the Credentials property not appropriate here.

[fmeschbe] SLING-1647 Add USER, PASSWORD, and USER_IMPERSONATION constants 
(moved from AuthenticationInfo class)

[fmeschbe] SLING-1646 Define getAttribute(String) and getAttributeNames() 
methods to expose the properties used to create the ResourceResolver
SLING-1647 Move the USER_IMPERSONATION constant to prime time to make it 
available to applications to check whether a resource resolver is impersonated 
or not

[fmeschbe] SLING-1647 Set handler specific properties in the AuthenticationInfo 
instead of the credentials. The properties will be transferred to the session 
by the ResourceResolverFactory implementation

--
[...truncated 4774 lines...]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
[INFO] Writing OBR metadata
[HUDSON] Archiving 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.6/ws/trunk/bundles/jcr/webdav/target/org.apache.sling.jcr.webdav-2.0.9-SNAPSHOT-sources.jar
 to 
/export/home/hudson/hudson/jobs/sling-trunk-1.6/modules/org.apache.sling$org.apache.sling.jcr.webdav/builds/2010-08-12_16-19-29/archive/org.apache.sling/org.apache.sling.jcr.webdav/2.0.9-SNAPSHOT/org.apache.sling.jcr.webdav-2.0.9-SNAPSHOT-sources.jar
[INFO] 
[INFO] Building Apache Sling DavEx Access to repositories
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set: 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.6/ws/trunk/bundles/jcr/davex/target
 (included: [**], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
 [echo] ** WARNING (SLING-443) 
**
 [echo] On most platforms, you'll get OutOfMemoryErrors when building 
unless you set
 [echo] MAVEN_OPTS=-Xmx256M -XX:MaxPermSize=128M, see SLING-443.
 [echo] 
*
[INFO] Executed tasks
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 1 source file to 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.6/ws/trunk/bundles/jcr/davex/target/classes
[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
[INFO] Writing abstract service descriptor 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.6/ws/trunk/bundles/jcr/davex/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml
 with 1 entries.
[INFO] Generating 1 Service Component Descriptors to 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.6/ws/trunk/bundles/jcr/davex/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.6/ws/trunk/bundles/jcr/davex/src/test/resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.6/ws/trunk/bundles/jcr/davex/target/surefire-reports

---
 T E S T S
---
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, 

JSOP

2010-08-12 Thread Felix Meschberger
Hi all,

Julian Reschke (of WebDAV and HTTP fame) and David Nuescheler (of JCR
fame) have proposed a new protocol for fine-grained HTTP-based
information exchange [1].

As can be seen from the description and from David's Slides [2] this is
an effort to standardize on an extension of the functionality we support
in Sling with the JSON renderer and the Sling POST Servlet (Sling is
currently missing support for PATCH).

Stay tuned 

Looks like Sling could be one of the first implementations of such a
protocol ;-)

Regards
Felix

[1] http://lists.w3.org/Archives/Public/w3c-dist-auth/2010JulSep/0008.html
[2] http://www.slideshare.net/uncled/jsop


Re: extending jQuery JCR Resource explorer

2010-08-12 Thread Felix Meschberger
Hi Clemens,

Sounds very interesting. You are welcome to provide patches in any order
you like ...

If this gets a heavy lift, we might consider moving this to the bundles
location for inclusion in upcoming Sling releases. WDYT ?

Regards
Felix

On 12.08.2010 16:26, Clemens Wyss wrote:
 As promised, I (actually it's we, MySign) intend to extend the jQuery JCR 
 Resource (contrib/explorers/jQuery) explorer in order to make it more 
 valuable for developers.
 
 Features currently available (as of May 17th 2010, rev 945149):
 + login
 + browse JCR
 + add node (name, sling:resourceType and jcr:primaryType have to be entered 
 manually (input field))
 + delete node
 + view properties (multivalue properties are shown inline in an input field)
 + modify/update property (single value properties only)
 + delete property
 
 desirable features:
 1) jcr:primaryNodeType properties should be selectable
 2) view/add/edit/delete multivalued properties
 3) view/add/edit/delete mixin types, mixin types should be selectable
 4) simplified input for known types, such as date (see also 1) and 3) )
 5) search/filter functionality (SQL2, JQOM?)
 6) nt:file - file upload
 7) import/export subtrees, format to be defined
 8) input validation
 9) ajax'ify the client
 10) usermanagement
 more to come...
 
 WDYT? Anything important/fancy missing? How would you priorize these features?


[jira] Commented: (SLING-1649) AbstractDispatcherTagHandler should override release() and free resources

2010-08-12 Thread Felix Meschberger (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897860#action_12897860
 ] 

Felix Meschberger commented on SLING-1649:
--

This is really problem to do. But do you have a real issue with the 
AbstractDispatcherTagHandler not clearing the fields ? Thanks.

 AbstractDispatcherTagHandler should override release() and free resources
 -

 Key: SLING-1649
 URL: https://issues.apache.org/jira/browse/SLING-1649
 Project: Sling
  Issue Type: Bug
  Components: Scripting
Reporter: Tobias Bocanegra
Priority: Minor

 especially: resource 
 see: 
 http://download-llnw.oracle.com/javaee/1.4/api/javax/servlet/jsp/tagext/Tag.html#release()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (SLING-1649) AbstractDispatcherTagHandler should override release() and free resources

2010-08-12 Thread Tobias Bocanegra (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897862#action_12897862
 ] 

Tobias Bocanegra commented on SLING-1649:
-

not really, just saw some stray resources in a heap dump. especially for 
JcrResources it might be good not to retain them.

 AbstractDispatcherTagHandler should override release() and free resources
 -

 Key: SLING-1649
 URL: https://issues.apache.org/jira/browse/SLING-1649
 Project: Sling
  Issue Type: Bug
  Components: Scripting
Reporter: Tobias Bocanegra
Priority: Minor

 especially: resource 
 see: 
 http://download-llnw.oracle.com/javaee/1.4/api/javax/servlet/jsp/tagext/Tag.html#release()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (SLING-1649) AbstractDispatcherTagHandler should override release() and free resources

2010-08-12 Thread Felix Meschberger (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger resolved SLING-1649.
--

 Assignee: Felix Meschberger
Fix Version/s: Scripting JSP-Taglib 2.1.0
   Resolution: Fixed

Added release() method overwrite to the AbstractDispatcherTagHandler and the 
DefaultObjectsTag in Rev. 984893

 AbstractDispatcherTagHandler should override release() and free resources
 -

 Key: SLING-1649
 URL: https://issues.apache.org/jira/browse/SLING-1649
 Project: Sling
  Issue Type: Bug
  Components: Scripting
Reporter: Tobias Bocanegra
Assignee: Felix Meschberger
Priority: Minor
 Fix For: Scripting JSP-Taglib 2.1.0


 especially: resource 
 see: 
 http://download-llnw.oracle.com/javaee/1.4/api/javax/servlet/jsp/tagext/Tag.html#release()

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Assigned: (SLING-1645) jQuery explorer (contrib/explorers/jQuery) does not display properly in Firefox

2010-08-12 Thread Felix Meschberger (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger reassigned SLING-1645:


Assignee: Felix Meschberger

 jQuery explorer (contrib/explorers/jQuery) does not display properly in 
 Firefox
 ---

 Key: SLING-1645
 URL: https://issues.apache.org/jira/browse/SLING-1645
 Project: Sling
  Issue Type: Bug
  Components: Extensions
 Environment: Firefox
Reporter: Clemens Wyss
Assignee: Felix Meschberger
Priority: Minor
 Attachments: explorer.js.diff, jQuery_explorer_in_FF.png


 when launching the explorer in Firefox the root nodes are being replicated 
 beneath the root nodes. See screenshot.
 reason:
 On the repo's root function init_load unnecessarily calls loadPath with an 
 empty path. jQuery's $('p#') maps to all p's and ppends the root nodes to all 
 root nodes
 workaround:
 in loadPath, check whether it is being called with an empty path, i.e. for 
 root

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (SLING-1645) jQuery explorer (contrib/explorers/jQuery) does not display properly in Firefox

2010-08-12 Thread Felix Meschberger (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger resolved SLING-1645.
--

Resolution: Fixed

Thanks for providing the patch. I have applied it in Rev. 984898.

 jQuery explorer (contrib/explorers/jQuery) does not display properly in 
 Firefox
 ---

 Key: SLING-1645
 URL: https://issues.apache.org/jira/browse/SLING-1645
 Project: Sling
  Issue Type: Bug
  Components: Extensions
 Environment: Firefox
Reporter: Clemens Wyss
Priority: Minor
 Attachments: explorer.js.diff, jQuery_explorer_in_FF.png


 when launching the explorer in Firefox the root nodes are being replicated 
 beneath the root nodes. See screenshot.
 reason:
 On the repo's root function init_load unnecessarily calls loadPath with an 
 empty path. jQuery's $('p#') maps to all p's and ppends the root nodes to all 
 root nodes
 workaround:
 in loadPath, check whether it is being called with an empty path, i.e. for 
 root

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: extending jQuery JCR Resource explorer

2010-08-12 Thread Justin Edelson
Nice of you to ask about prioritization...

2, 4, 5, 6, 10

Would be the highest priority items for me. I'd also add these to your list:

ACL view/edit
Reference/Path property support

I need to make some modifications to the explorer to support non-default 
workspaces, but hopefully that change will be minor (keeps slipping off my 
list).

Justin
 

On Aug 12, 2010, at 10:26 AM, Clemens Wyss clemens...@mysign.ch wrote:

 As promised, I (actually it's we, MySign) intend to extend the jQuery JCR 
 Resource (contrib/explorers/jQuery) explorer in order to make it more 
 valuable for developers.
 
 Features currently available (as of May 17th 2010, rev 945149):
 + login
 + browse JCR
 + add node (name, sling:resourceType and jcr:primaryType have to be entered 
 manually (input field))
 + delete node
 + view properties (multivalue properties are shown inline in an input field)
 + modify/update property (single value properties only)
 + delete property
 
 desirable features:
 1) jcr:primaryNodeType properties should be selectable
 2) view/add/edit/delete multivalued properties
 3) view/add/edit/delete mixin types, mixin types should be selectable
 4) simplified input for known types, such as date (see also 1) and 3) )
 5) search/filter functionality (SQL2, JQOM?)
 6) nt:file - file upload
 7) import/export subtrees, format to be defined
 8) input validation
 9) ajax'ify the client
 10) usermanagement
 more to come...
 
 WDYT? Anything important/fancy missing? How would you priorize these features?


Hudson build is back to normal : sling-trunk- 1.5 » Apache Sling JCR Resource Resolver #828

2010-08-12 Thread Apache Hudson Server
See 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.jcr.resource/828/changes




Hudson build is back to normal : sling-trunk-1.5 #828

2010-08-12 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/sling-trunk-1.5/828/changes




Re: JSOP

2010-08-12 Thread Justin Edelson
Looks like what CMIS should have been :)

But the name is already in use...

On Aug 12, 2010, at 1:38 PM, Felix Meschberger fmesc...@gmail.com wrote:

 Hi all,
 
 Julian Reschke (of WebDAV and HTTP fame) and David Nuescheler (of JCR
 fame) have proposed a new protocol for fine-grained HTTP-based
 information exchange [1].
 
 As can be seen from the description and from David's Slides [2] this is
 an effort to standardize on an extension of the functionality we support
 in Sling with the JSON renderer and the Sling POST Servlet (Sling is
 currently missing support for PATCH).
 
 Stay tuned 
 
 Looks like Sling could be one of the first implementations of such a
 protocol ;-)
 
 Regards
 Felix
 
 [1] http://lists.w3.org/Archives/Public/w3c-dist-auth/2010JulSep/0008.html
 [2] http://www.slideshare.net/uncled/jsop


Hudson build is back to normal : sling-tru nk-1.6 » Apache Sling Servlet Resolver #521

2010-08-12 Thread Apache Hudson Server
See 
http://hudson.zones.apache.org/hudson/job/sling-trunk-1.6/org.apache.sling$org.apache.sling.servlets.resolver/521/changes




Hudson build is back to normal : sling-trunk-1.6 #521

2010-08-12 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/sling-trunk-1.6/521/changes




Build failed in Hudson: sling-contrib-1.5 » Apache Sling Launchpad Contrib Testing #559

2010-08-12 Thread Apache Hudson Server
See 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/559/

--
[INFO] 
[INFO] Building Apache Sling Launchpad Contrib Testing
[INFO]task-segment: [clean, install]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target
[INFO] Deleting file-set: 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/
 (included: [derby.log, cachedir, sling], excluded: [])
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [launchpad:prepare-package {execution: prepare-package}]
[INFO] Using bundle list file from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad/6-SNAPSHOT/org.apache.sling.launchpad-6-SNAPSHOT-bundlelist.xml
[INFO] Copying base artifact from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad.base/2.2.0/org.apache.sling.launchpad.base-2.2.0.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/org.apache.sling.launchpad.base.jar.
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/commons-io-1.4.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/commons-fileupload-1.2.2.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/commons-collections-3.2.1.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar 
to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/commons-lang-2.5.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.osgi/2.0.6/org.apache.sling.commons.osgi-2.0.6.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.osgi-2.0.6.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.mime/2.1.4/org.apache.sling.commons.mime-2.1.4.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.mime-2.1.4.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.classloader/1.1.5-SNAPSHOT/org.apache.sling.commons.classloader-1.1.5-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.classloader-1.1.5-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.api/2.0.9-SNAPSHOT/org.apache.sling.api-2.0.9-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.api-2.0.9-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.auth/0.9.0-SNAPSHOT/org.apache.sling.commons.auth-0.9.0-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.commons.auth-0.9.0-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.engine/2.0.7-SNAPSHOT/org.apache.sling.engine-2.0.7-SNAPSHOT.jar
 to 

Build failed in Hudson: sling-contrib-1.5 #559

2010-08-12 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/559/changes

Changes:

[fmeschbe] SLING-1645 Apply patch by Clemens Wyss (thanks alot)

--
[...truncated 3532 lines...]
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.engine/2.0.7-SNAPSHOT/org.apache.sling.engine-2.0.7-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.engine-2.0.7-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.httpauth/2.0.5-SNAPSHOT/org.apache.sling.httpauth-2.0.5-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.httpauth-2.0.5-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.openidauth/0.9.1-SNAPSHOT/org.apache.sling.openidauth-0.9.1-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.openidauth-0.9.1-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.formauth/0.9-SNAPSHOT/org.apache.sling.formauth-0.9-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.formauth-0.9-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.adapter/2.0.4/org.apache.sling.adapter-2.0.4.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.adapter-2.0.4.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.servlets.resolver/2.0.9-SNAPSHOT/org.apache.sling.servlets.resolver-2.0.9-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.servlets.resolver-2.0.9-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.servlets.get/2.0.9-SNAPSHOT/org.apache.sling.servlets.get-2.0.9-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.servlets.get-2.0.9-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.servlets.post/2.0.5-SNAPSHOT/org.apache.sling.servlets.post-2.0.5-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.servlets.post-2.0.5-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.jcr.contentloader/2.0.7-SNAPSHOT/org.apache.sling.jcr.contentloader-2.0.7-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.jcr.contentloader-2.0.7-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.jcr.resource/2.0.7-SNAPSHOT/org.apache.sling.jcr.resource-2.0.7-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.jcr.resource-2.0.7-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.jcr.ocm/2.0.4-incubator/org.apache.sling.jcr.ocm-2.0.4-incubator.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.jcr.ocm-2.0.4-incubator.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.jcr.classloader/3.1.1-SNAPSHOT/org.apache.sling.jcr.classloader-3.1.1-SNAPSHOT.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.jcr.classloader-3.1.1-SNAPSHOT.jar
[INFO] Copying bundle from 
/home/hudson/.m2/repository/org/apache/sling/org.apache.sling.bundleresource.impl/2.0.4-incubator/org.apache.sling.bundleresource.impl-2.0.4-incubator.jar
 to 
http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/ws/contrib-1.5/launchpad/testing/target/launchpad-bundles/resources/bundles/0/org.apache.sling.bundleresource.impl-2.0.4-incubator.jar
[INFO] Copying bundle from 

RE: extending jQuery JCR Resource explorer

2010-08-12 Thread Clemens Wyss
 2, 4, 5, 6, 10
ok, so you think/say mixin types is not that much a topic?

 ACL view/edit
good point, though this mandates 10) ;-)

 Reference/Path property support
Links? dragdrop?

 I need to make some modifications to the explorer to support
 non-default workspaces, but hopefully that change will be
 minor (keeps slipping off my list).
is there a jira entry for this task?

Is esp the right serverside approach? Or would groovy (me, coming from Ruby), 
or even Java be helpful?

Clemens

 -Original Message-
 From: Justin Edelson [mailto:justinedel...@gmail.com]
 Sent: Thursday, August 12, 2010 9:07 PM
 To: dev@sling.apache.org
 Subject: Re: extending jQuery JCR Resource explorer


 Nice of you to ask about prioritization...

 2, 4, 5, 6, 10

 Would be the highest priority items for me. I'd also add
 these to your list:

 ACL view/edit
 Reference/Path property support

 I need to make some modifications to the explorer to support
 non-default workspaces, but hopefully that change will be
 minor (keeps slipping off my list).

 Justin


 On Aug 12, 2010, at 10:26 AM, Clemens Wyss
 clemens...@mysign.ch wrote:

  As promised, I (actually it's we, MySign) intend to
 extend the jQuery JCR Resource (contrib/explorers/jQuery)
 explorer in order to make it more valuable for developers.
 
  Features currently available (as of May 17th 2010, rev 945149):
  + login
  + browse JCR
  + add node (name, sling:resourceType and jcr:primaryType
 have to be entered manually (input field))
  + delete node
  + view properties (multivalue properties are shown inline
 in an input field)
  + modify/update property (single value properties only)
  + delete property
 
  desirable features:
  1) jcr:primaryNodeType properties should be selectable
  2) view/add/edit/delete multivalued properties
  3) view/add/edit/delete mixin types, mixin types should be
 selectable
  4) simplified input for known types, such as date (see
 also 1) and 3) )
  5) search/filter functionality (SQL2, JQOM?)
  6) nt:file - file upload
  7) import/export subtrees, format to be defined
  8) input validation
  9) ajax'ify the client
  10) usermanagement
  more to come...
 
  WDYT? Anything important/fancy missing? How would you
 priorize these features?



Re: extending jQuery JCR Resource explorer

2010-08-12 Thread Felix Meschberger
Hi,

On 13.08.2010 07:22, Clemens Wyss wrote:
 2, 4, 5, 6, 10
 ok, so you think/say mixin types is not that much a topic?
 
 ACL view/edit
 good point, though this mandates 10) ;-)
 
 Reference/Path property support
 Links? dragdrop?
 
 I need to make some modifications to the explorer to support
 non-default workspaces, but hopefully that change will be
 minor (keeps slipping off my list).
 is there a jira entry for this task?
 
 Is esp the right serverside approach? Or would groovy (me, coming from Ruby), 
 or even Java be helpful?

Basically: Whatever you like and can be supported with JSR-223 (Java
Script API).

If you choose groovy, fine. That's included with Sling already. If you
chose Java, fine. If you choose ESP or ECMA, fine.

One part of my heart even says: If you use multiple languages for this
on the server-side it would be a nice example for the versatility of
scripting support in Sling ... The other part of my heart says: Take
care of maintainability ;-)

Just my CHF 0.02 really.

Regards
Felix

 
 Clemens
 
 -Original Message-
 From: Justin Edelson [mailto:justinedel...@gmail.com]
 Sent: Thursday, August 12, 2010 9:07 PM
 To: dev@sling.apache.org
 Subject: Re: extending jQuery JCR Resource explorer


 Nice of you to ask about prioritization...

 2, 4, 5, 6, 10

 Would be the highest priority items for me. I'd also add
 these to your list:

 ACL view/edit
 Reference/Path property support

 I need to make some modifications to the explorer to support
 non-default workspaces, but hopefully that change will be
 minor (keeps slipping off my list).

 Justin


 On Aug 12, 2010, at 10:26 AM, Clemens Wyss
 clemens...@mysign.ch wrote:

 As promised, I (actually it's we, MySign) intend to
 extend the jQuery JCR Resource (contrib/explorers/jQuery)
 explorer in order to make it more valuable for developers.

 Features currently available (as of May 17th 2010, rev 945149):
 + login
 + browse JCR
 + add node (name, sling:resourceType and jcr:primaryType
 have to be entered manually (input field))
 + delete node
 + view properties (multivalue properties are shown inline
 in an input field)
 + modify/update property (single value properties only)
 + delete property

 desirable features:
 1) jcr:primaryNodeType properties should be selectable
 2) view/add/edit/delete multivalued properties
 3) view/add/edit/delete mixin types, mixin types should be
 selectable
 4) simplified input for known types, such as date (see
 also 1) and 3) )
 5) search/filter functionality (SQL2, JQOM?)
 6) nt:file - file upload
 7) import/export subtrees, format to be defined
 8) input validation
 9) ajax'ify the client
 10) usermanagement
 more to come...

 WDYT? Anything important/fancy missing? How would you
 priorize these features?

 


[jira] Updated: (SLING-1132) JCR Server Bundle has wrong bundle version

2010-08-12 Thread Felix Meschberger (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger updated SLING-1132:
-

 Assignee: Ian Boston
Fix Version/s: JCR Jackrabbit Server 2.0.6
   (was: JCR Jackrabbit Server 2.0.8)

This fix has been applied in time for the 2.0.6 release. In the meantime, this 
hardcoded MANIFEST.MF and the respective instructions to build it from with a 
build profile have been removed (Rev. 964875).

 JCR Server Bundle has wrong bundle version
 --

 Key: SLING-1132
 URL: https://issues.apache.org/jira/browse/SLING-1132
 Project: Sling
  Issue Type: Bug
  Components: JCR
Affects Versions: JCR Jackrabbit Server 2.0.4
Reporter: Carsten Ziegeler
Assignee: Ian Boston
Priority: Blocker
 Fix For: JCR Jackrabbit Server 2.0.6


 The 2.0.4-incubator release of the server bundle has the hardcoded 
 2.0.3-incubator-SNAPSHOT version as bundle version (and for the exports) This 
 is due to the fact that we hard-code the manifest instead of letting it get 
 generated by the bundle plugin.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Resolved: (SLING-1132) JCR Server Bundle has wrong bundle version

2010-08-12 Thread Felix Meschberger (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLING-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger resolved SLING-1132.
--

Resolution: Fixed

included in the release

 JCR Server Bundle has wrong bundle version
 --

 Key: SLING-1132
 URL: https://issues.apache.org/jira/browse/SLING-1132
 Project: Sling
  Issue Type: Bug
  Components: JCR
Affects Versions: JCR Jackrabbit Server 2.0.4
Reporter: Carsten Ziegeler
Assignee: Ian Boston
Priority: Blocker
 Fix For: JCR Jackrabbit Server 2.0.6


 The 2.0.4-incubator release of the server bundle has the hardcoded 
 2.0.3-incubator-SNAPSHOT version as bundle version (and for the exports) This 
 is due to the fact that we hard-code the manifest instead of letting it get 
 generated by the bundle plugin.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



RE: extending jQuery JCR Resource explorer

2010-08-12 Thread Clemens Wyss
Take care of maintainability ;-)
+1, so either esp or groovy. Will proceed with esp for the moment

 Just my CHF 0.02 really.
we both know there is at minimum the CHF 0.05 :-)

maven question:
I'd like to make use of -P autoInstBundle to speed up the development cycle. 
What needs to be modified/added in the pom.xml to be able to?:
mvn -P autoInstallBundle package 
-Dsling.url=http://localhost:8080/system/console

Tried to add relativePath../../parent/pom.xml/relativePath to the 
parent-element, but no success. Any hint/help appreciated.

 -Original Message-
 From: Felix Meschberger [mailto:fmesc...@gmail.com]
 Sent: Friday, August 13, 2010 7:35 AM
 To: dev@sling.apache.org
 Subject: Re: extending jQuery JCR Resource explorer


 Hi,

 On 13.08.2010 07:22, Clemens Wyss wrote:
  2, 4, 5, 6, 10
  ok, so you think/say mixin types is not that much a topic?
 
  ACL view/edit
  good point, though this mandates 10) ;-)
 
  Reference/Path property support
  Links? dragdrop?
 
  I need to make some modifications to the explorer to support
  non-default workspaces, but hopefully that change will be
  minor (keeps slipping off my list).
  is there a jira entry for this task?
 
  Is esp the right serverside approach? Or would groovy (me,
 coming from Ruby), or even Java be helpful?

 Basically: Whatever you like and can be supported with JSR-223 (Java
 Script API).

 If you choose groovy, fine. That's included with Sling already. If you
 chose Java, fine. If you choose ESP or ECMA, fine.

 One part of my heart even says: If you use multiple languages for this
 on the server-side it would be a nice example for the versatility of
 scripting support in Sling ... The other part of my heart says: Take
 care of maintainability ;-)

 Just my CHF 0.02 really.

 Regards
 Felix

 
  Clemens
 
  -Original Message-
  From: Justin Edelson [mailto:justinedel...@gmail.com]
  Sent: Thursday, August 12, 2010 9:07 PM
  To: dev@sling.apache.org
  Subject: Re: extending jQuery JCR Resource explorer
 
 
  Nice of you to ask about prioritization...
 
  2, 4, 5, 6, 10
 
  Would be the highest priority items for me. I'd also add
  these to your list:
 
  ACL view/edit
  Reference/Path property support
 
  I need to make some modifications to the explorer to support
  non-default workspaces, but hopefully that change will be
  minor (keeps slipping off my list).
 
  Justin
 
 
  On Aug 12, 2010, at 10:26 AM, Clemens Wyss
  clemens...@mysign.ch wrote:
 
  As promised, I (actually it's we, MySign) intend to
  extend the jQuery JCR Resource (contrib/explorers/jQuery)
  explorer in order to make it more valuable for developers.
 
  Features currently available (as of May 17th 2010, rev 945149):
  + login
  + browse JCR
  + add node (name, sling:resourceType and jcr:primaryType
  have to be entered manually (input field))
  + delete node
  + view properties (multivalue properties are shown inline
  in an input field)
  + modify/update property (single value properties only)
  + delete property
 
  desirable features:
  1) jcr:primaryNodeType properties should be selectable
  2) view/add/edit/delete multivalued properties
  3) view/add/edit/delete mixin types, mixin types should be
  selectable
  4) simplified input for known types, such as date (see
  also 1) and 3) )
  5) search/filter functionality (SQL2, JQOM?)
  6) nt:file - file upload
  7) import/export subtrees, format to be defined
  8) input validation
  9) ajax'ify the client
  10) usermanagement
  more to come...
 
  WDYT? Anything important/fancy missing? How would you
  priorize these features?