[jira] Commented: (SLING-1560) Improve and clean up code
[ https://issues.apache.org/jira/browse/SLING-1560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897155#action_12897155 ] Carsten Ziegeler commented on SLING-1560: - Changes in revision: 984304 Further reduce the usage of the installer context 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] Updated: (SLING-1414) JSP Expression Language (eg: ${resource.path}) to call the getPath() method of a Resource object returned by ResourceResolver.findResources() result in error.
[ https://issues.apache.org/jira/browse/SLING-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-1414: Affects Version/s: JCR Resource 2.0.6 JSP Expression Language (eg: ${resource.path}) to call the getPath() method of a Resource object returned by ResourceResolver.findResources() result in error. Key: SLING-1414 URL: https://issues.apache.org/jira/browse/SLING-1414 Project: Sling Issue Type: Bug Components: JCR Affects Versions: JCR Resource 2.0.6 Environment: CQ5.2.1/CQ5.3 Reporter: zhangchunlong Priority: Minor Often in the JSPs, we call the ResourceResolver.findResources(query, xpath) method to return an IteratorResource object, which we iterate through using JSTL and EL syntax. When we attempt to access the getPath() method of each Resource, the following exception is thrown: java.lang.IllegalAccessException: Class javax.el.BeanELResolver can not access a member of class org.apache.sling.jcr.resource.internal.helper.jcr.JcrItemResource with modifiers public. This works with CQ5.2.1 with no problem before. The issue happens on CQ5.3 GA release. Example codes to re-produce the error in CQ5.3. IteratorResource found = resourceResolver.findResources(//element(*, nt:unstructured),xpath); while(found.hasNext()){ try{ Resource foundResource = found.next(); pageContext.setAttribute(foundResource, foundResource); %${foundResource.path}% } catch(Exception e){ %%=e.getMessage()%% } } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: Maven Launchpad Plugin : Support for other files than bundles
Justin Edelson wrote As with the launchpad plugin's current goals, I would suggest prototyping with the existing Maven plugins (maven-resources-plugin and maven-jar-plugin in this case) and then decide if we need new goals/functionality. Yes, this was my initial thought as well - but I failed to see how this could be done in a general way so that it works for all generated artifacts. Do you have an idea how this could work? Regards Carsten -- Carsten Ziegeler cziege...@apache.org
[jira] Commented: (SLING-1623) Update some third party dependencies in the launchpad builder list
[ https://issues.apache.org/jira/browse/SLING-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897192#action_12897192 ] Felix Meschberger commented on SLING-1623: -- Adding commons-fileupload 1.2.2 to the list and updated bundle list in Rev. 984347 Update some third party dependencies in the launchpad builder list -- Key: SLING-1623 URL: https://issues.apache.org/jira/browse/SLING-1623 Project: Sling Issue Type: Improvement Components: Launchpad Affects Versions: Launchpad Builder 6 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: Launchpad Builder 6 As discussed on the list, some third party bundles might be updated in the launchpad builder list: commons-lang: 2.5 groovy-all: 1.7.4 org.apache.felix.webconsole: 3.0.1-SNAPSHOT (targeting upcoming 3.0.2 release) org.apache.felix.webconsole.plugins.memoryusage: 1.0.1-SNAPSHOT (targeting upcoming 1.0.2 release) org.apache.felix.bundlerepository: 1.6.0 org.apache.felix.eventadmin: 1.2.2 org.apache.felix.scr: 1.4.1-SNAPSHOT (targetting upcoming 1.4.2 release) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[RT] API, settings and run mode
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 -- Carsten Ziegeler cziege...@apache.org
[jira] Assigned: (SLING-1414) JSP Expression Language (eg: ${resource.path}) to call the getPath() method of a Resource object returned by ResourceResolver.findResources() result in error.
[ https://issues.apache.org/jira/browse/SLING-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned SLING-1414: Assignee: Felix Meschberger JSP Expression Language (eg: ${resource.path}) to call the getPath() method of a Resource object returned by ResourceResolver.findResources() result in error. Key: SLING-1414 URL: https://issues.apache.org/jira/browse/SLING-1414 Project: Sling Issue Type: Bug Components: JCR Affects Versions: JCR Resource 2.0.6 Environment: CQ5.2.1/CQ5.3 Reporter: zhangchunlong Assignee: Felix Meschberger Priority: Minor Often in the JSPs, we call the ResourceResolver.findResources(query, xpath) method to return an IteratorResource object, which we iterate through using JSTL and EL syntax. When we attempt to access the getPath() method of each Resource, the following exception is thrown: java.lang.IllegalAccessException: Class javax.el.BeanELResolver can not access a member of class org.apache.sling.jcr.resource.internal.helper.jcr.JcrItemResource with modifiers public. This works with CQ5.2.1 with no problem before. The issue happens on CQ5.3 GA release. Example codes to re-produce the error in CQ5.3. IteratorResource found = resourceResolver.findResources(//element(*, nt:unstructured),xpath); while(found.hasNext()){ try{ Resource foundResource = found.next(); pageContext.setAttribute(foundResource, foundResource); %${foundResource.path}% } catch(Exception e){ %%=e.getMessage()%% } } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: Maven Launchpad Plugin : Support for other files than bundles
src/main/resources won't work? On Aug 11, 2010, at 3:04 AM, Carsten Ziegeler cziege...@apache.org wrote: Justin Edelson wrote As with the launchpad plugin's current goals, I would suggest prototyping with the existing Maven plugins (maven-resources-plugin and maven-jar-plugin in this case) and then decide if we need new goals/functionality. Yes, this was my initial thought as well - but I failed to see how this could be done in a general way so that it works for all generated artifacts. Do you have an idea how this could work? Regards Carsten -- Carsten Ziegeler cziege...@apache.org
[jira] Commented: (SLING-1414) JSP Expression Language (eg: ${resource.path}) to call the getPath() method of a Resource object returned by ResourceResolver.findResources() result in error.
[ https://issues.apache.org/jira/browse/SLING-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897220#action_12897220 ] Felix Meschberger commented on SLING-1414: -- Hmm, I found the problem and I think it is really a bug in the Tomcat/Jasper implementation of the BeanELResolver.getMethod(Class, Method) method. This method contains a shortcut of the form: if (m == null || Modifier.isPublic(type.getModifiers())) { return m; } Assuming that the method is declared in the type and if the type is public, the method may be called. In our situation, the type is actually JcrNodeResource which in fact is public. But the method (m) is declared by the package private JcrItemResource class. So the short-cut should probably rather be: if (m == null || (Modifier.isPublic(type.getModifiers()) m.getDeclaringClass() == type)) { return m; } Not 100% sure though. On the other hand we can work around this problem here by making both JcrNodeResource and JcrItemResource (and also JcrPropertyResource) either public or package private. I like package private more, because it is an internal detail of the JcrResourceProvider implementation also located in the same package. JSP Expression Language (eg: ${resource.path}) to call the getPath() method of a Resource object returned by ResourceResolver.findResources() result in error. Key: SLING-1414 URL: https://issues.apache.org/jira/browse/SLING-1414 Project: Sling Issue Type: Bug Components: JCR Affects Versions: JCR Resource 2.0.6 Environment: CQ5.2.1/CQ5.3 Reporter: zhangchunlong Assignee: Felix Meschberger Priority: Minor Often in the JSPs, we call the ResourceResolver.findResources(query, xpath) method to return an IteratorResource object, which we iterate through using JSTL and EL syntax. When we attempt to access the getPath() method of each Resource, the following exception is thrown: java.lang.IllegalAccessException: Class javax.el.BeanELResolver can not access a member of class org.apache.sling.jcr.resource.internal.helper.jcr.JcrItemResource with modifiers public. This works with CQ5.2.1 with no problem before. The issue happens on CQ5.3 GA release. Example codes to re-produce the error in CQ5.3. IteratorResource found = resourceResolver.findResources(//element(*, nt:unstructured),xpath); while(found.hasNext()){ try{ Resource foundResource = found.next(); pageContext.setAttribute(foundResource, foundResource); %${foundResource.path}% } catch(Exception e){ %%=e.getMessage()%% } } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1414) JSP Expression Language (eg: ${resource.path}) to call the getPath() method of a Resource object returned by ResourceResolver.findResources() result in error.
[ https://issues.apache.org/jira/browse/SLING-1414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-1414. -- Fix Version/s: JCR Resource 2.0.8 Resolution: Fixed Fixed in Rev. 984374 by making the JcrNodeResource and JcrPropertyResource classes package private thus triggering the BeanELResolver to not take the shortcut but find a public class or interface in the class/interface tree providing the method. This would then ultimately be the Resource interface. JSP Expression Language (eg: ${resource.path}) to call the getPath() method of a Resource object returned by ResourceResolver.findResources() result in error. Key: SLING-1414 URL: https://issues.apache.org/jira/browse/SLING-1414 Project: Sling Issue Type: Bug Components: JCR Affects Versions: JCR Resource 2.0.6 Environment: CQ5.2.1/CQ5.3 Reporter: zhangchunlong Assignee: Felix Meschberger Priority: Minor Fix For: JCR Resource 2.0.8 Often in the JSPs, we call the ResourceResolver.findResources(query, xpath) method to return an IteratorResource object, which we iterate through using JSTL and EL syntax. When we attempt to access the getPath() method of each Resource, the following exception is thrown: java.lang.IllegalAccessException: Class javax.el.BeanELResolver can not access a member of class org.apache.sling.jcr.resource.internal.helper.jcr.JcrItemResource with modifiers public. This works with CQ5.2.1 with no problem before. The issue happens on CQ5.3 GA release. Example codes to re-produce the error in CQ5.3. IteratorResource found = resourceResolver.findResources(//element(*, nt:unstructured),xpath); while(found.hasNext()){ try{ Resource foundResource = found.next(); pageContext.setAttribute(foundResource, foundResource); %${foundResource.path}% } catch(Exception e){ %%=e.getMessage()%% } } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SLING-1640) Add ResourceResolver.copy(Map) method
Add ResourceResolver.copy(Map) method -- Key: SLING-1640 URL: https://issues.apache.org/jira/browse/SLING-1640 Project: Sling Issue Type: New Feature Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: JCR Resource 2.0.8, API 2.1.0 As discussed on the list the ResourceResolver interface should be extended with a new method: ResourceResolver copy(Map credentials); This method creates a new ResourceResolver as follows: // start with original credentials Map newCredentials = new HashMap(current resolver credentials); // overlay with provided credentials newCredentials.addAll(credentials); // return a new ResourceResolver return resourceResolverFactory.login(newCredentials); This new method allows for the removal of the AuthenticationInfo object from the request attributes (as discussed in SLING-1445) and allows for a better implementation of the background servlet execution. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1641) HTTP Authenticator does not behave correctly
[ https://issues.apache.org/jira/browse/SLING-1641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-1641. -- Resolution: Fixed Fixed in Rev. 984402 HTTP Authenticator does not behave correctly Key: SLING-1641 URL: https://issues.apache.org/jira/browse/SLING-1641 Project: Sling Issue Type: Bug Components: Commons Affects Versions: Commons Auth 1.0.0 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: Commons Auth 1.0.0 The HTTP Authenticator included with the Commons Auth bundle currently does not behave well with respect to logging out and requesting credentials: (1) sling:authRequestLogin parameter The sling:authRequestLogin parameter should be supported with both values BASIC (for new mechanism) and 1 for backwards compatibility. Setting the parameter should always cause a 401 response from the authentication handler (2) sendUnauthorized The method should not do anything (except logging) if called on a committed response (3) dropCredentials The dropCredentials method should always send a 401 response if the Authorization header is set in the response and the response has not been committed yet. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SLING-1445) store the AuthenticationInfo object in a request attribute
[ https://issues.apache.org/jira/browse/SLING-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger reassigned SLING-1445: Assignee: Felix Meschberger (was: Justin Edelson) store the AuthenticationInfo object in a request attribute -- Key: SLING-1445 URL: https://issues.apache.org/jira/browse/SLING-1445 Project: Sling Issue Type: Improvement Components: Commons Reporter: Justin Edelson Assignee: Felix Meschberger Fix For: Commons Auth 1.0.0 called org.apache.sling.commons.auth.spi.AuthenticationInfo -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1445) store the AuthenticationInfo object in a request attribute
[ https://issues.apache.org/jira/browse/SLING-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger resolved SLING-1445. -- Fix Version/s: (was: Commons Auth 1.0.0) Resolution: Won't Fix Reverted this change again, resolving this issue as won't fix. store the AuthenticationInfo object in a request attribute -- Key: SLING-1445 URL: https://issues.apache.org/jira/browse/SLING-1445 Project: Sling Issue Type: Improvement Components: Commons Reporter: Justin Edelson Assignee: Felix Meschberger called org.apache.sling.commons.auth.spi.AuthenticationInfo -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1445) store the AuthenticationInfo object in a request attribute
[ https://issues.apache.org/jira/browse/SLING-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger closed SLING-1445. This issue can now be closed. store the AuthenticationInfo object in a request attribute -- Key: SLING-1445 URL: https://issues.apache.org/jira/browse/SLING-1445 Project: Sling Issue Type: Improvement Components: Commons Reporter: Justin Edelson Assignee: Felix Meschberger called org.apache.sling.commons.auth.spi.AuthenticationInfo -- 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
[ https://issues.apache.org/jira/browse/SLING-1560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897266#action_12897266 ] Carsten Ziegeler commented on SLING-1560: - Changes in revision 984405 Do counter handling internally and tasks should not throw an exception 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] Commented: (SLING-1640) Add ResourceResolver.copy(Map) method
[ https://issues.apache.org/jira/browse/SLING-1640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897274#action_12897274 ] Felix Meschberger commented on SLING-1640: -- Added the API in Rev. 984412 plus some more JavaDoc to the ResourceResolverFactory method. Add ResourceResolver.copy(Map) method -- Key: SLING-1640 URL: https://issues.apache.org/jira/browse/SLING-1640 Project: Sling Issue Type: New Feature Components: API, JCR Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: JCR Resource 2.0.8, API 2.1.0 As discussed on the list the ResourceResolver interface should be extended with a new method: ResourceResolver copy(Map credentials); This method creates a new ResourceResolver as follows: // start with original credentials Map newCredentials = new HashMap(current resolver credentials); // overlay with provided credentials newCredentials.addAll(credentials); // return a new ResourceResolver return resourceResolverFactory.login(newCredentials); This new method allows for the removal of the AuthenticationInfo object from the request attributes (as discussed in SLING-1445) and allows for a better implementation of the background servlet execution. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-1640) Add ResourceResolver.clone(Map) method
[ https://issues.apache.org/jira/browse/SLING-1640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Felix Meschberger updated SLING-1640: - Summary: Add ResourceResolver.clone(Map) method (was: Add ResourceResolver.copy(Map) method ) Description: As discussed on the list the ResourceResolver interface should be extended with a new method: ResourceResolver clone(Map credentials); This method creates a new ResourceResolver as follows: // start with original credentials Map newCredentials = new HashMap(current resolver credentials); // overlay with provided credentials newCredentials.addAll(credentials); // return a new ResourceResolver return resourceResolverFactory.login(newCredentials); This new method allows for the removal of the AuthenticationInfo object from the request attributes (as discussed in SLING-1445) and allows for a better implementation of the background servlet execution. was: As discussed on the list the ResourceResolver interface should be extended with a new method: ResourceResolver copy(Map credentials); This method creates a new ResourceResolver as follows: // start with original credentials Map newCredentials = new HashMap(current resolver credentials); // overlay with provided credentials newCredentials.addAll(credentials); // return a new ResourceResolver return resourceResolverFactory.login(newCredentials); This new method allows for the removal of the AuthenticationInfo object from the request attributes (as discussed in SLING-1445) and allows for a better implementation of the background servlet execution. clone is a better name than copy Add ResourceResolver.clone(Map) method --- Key: SLING-1640 URL: https://issues.apache.org/jira/browse/SLING-1640 Project: Sling Issue Type: New Feature Components: API, JCR Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: JCR Resource 2.0.8, API 2.1.0 As discussed on the list the ResourceResolver interface should be extended with a new method: ResourceResolver clone(Map credentials); This method creates a new ResourceResolver as follows: // start with original credentials Map newCredentials = new HashMap(current resolver credentials); // overlay with provided credentials newCredentials.addAll(credentials); // return a new ResourceResolver return resourceResolverFactory.login(newCredentials); This new method allows for the removal of the AuthenticationInfo object from the request attributes (as discussed in SLING-1445) and allows for a better implementation of the background servlet execution. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-1594) Support CommonJS Modules i.e. the require function
[ https://issues.apache.org/jira/browse/SLING-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Trieloff updated SLING-1594: - Attachment: SLING-1594.patch This patch implements common.js modules. You can try by putting a file math.js in libs and another file increment.js in apps with the contents described at http://wiki.commonjs.org/wiki/Modules/1.1 Then it is possible to require(increment) in your esp files. I have noted one problem: on the first run the included script file cannot be read properly, but reloading the resource in the browser helps. I am not sure about the exact source of this issue. Support CommonJS Modules i.e. the require function -- Key: SLING-1594 URL: https://issues.apache.org/jira/browse/SLING-1594 Project: Sling Issue Type: Improvement Components: Scripting Reporter: Lars Trieloff Priority: Minor Attachments: SLING-1594.patch SLING-320 already allows calling functions in external scripts, so implementing the full-blown modules spec to allow interoperability with other CommonJS modules should be possible. http://wiki.commonjs.org/wiki/Modules/1.1.1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1640) Add ResourceResolver.clone(Map) method
[ https://issues.apache.org/jira/browse/SLING-1640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897292#action_12897292 ] Felix Meschberger commented on SLING-1640: -- Renamed the API method from copy to clone in Rev. 984422. Implemented the clone method in the jcr/resource bundle along with a unit test in Rev. 984431. Add ResourceResolver.clone(Map) method --- Key: SLING-1640 URL: https://issues.apache.org/jira/browse/SLING-1640 Project: Sling Issue Type: New Feature Components: API, JCR Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: JCR Resource 2.0.8, API 2.1.0 As discussed on the list the ResourceResolver interface should be extended with a new method: ResourceResolver clone(Map credentials); This method creates a new ResourceResolver as follows: // start with original credentials Map newCredentials = new HashMap(current resolver credentials); // overlay with provided credentials newCredentials.addAll(credentials); // return a new ResourceResolver return resourceResolverFactory.login(newCredentials); This new method allows for the removal of the AuthenticationInfo object from the request attributes (as discussed in SLING-1445) and allows for a better implementation of the background servlet execution. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
New ResourceResolver.clone(Map) method
Hi all, I have removed the AuthenticationInfo request attribute and added a new ResourceResolver.clone(Map) method as per [1]. I am going to adapt the BackgroundRequestExecutionJob to use the new method instead of the AuthenticationInfo request attribute. If you have been using the AuthenticationInfo request attribute in your application, you probably should do the same. Regards Felix [1] https://issues.apache.org/jira/browse/SLING-1640
Build failed in Hudson: sling-installer-1.5 #87
See http://hudson.zones.apache.org/hudson/job/sling-installer-1.5/87/changes Changes: [cziegeler] SLING-1560 : Do counter handling internally, tasks should not throw an exception [cziegeler] SLING-1560 : Move all config admin related stuff into config admin package, reduce usage of installer context -- [...truncated 3837 lines...] 68805 [main] INFO org.apache.sling.jcr.jcrinstall.impl.RootFolderListener - Watching /apps to detect potential changes in subfolders 68805 [main] INFO org.apache.sling.jcr.jcrinstall.impl.WatchedFolder - Watching folder /libs/foo/bar/install (priority 100) 68806 [main] INFO org.apache.sling.jcr.jcrinstall.impl.WatchedFolder - Watching folder /libs/foo/wii/install (priority 100) 68806 [main] INFO org.apache.sling.jcr.jcrinstall.impl.WatchedFolder - Watching folder /apps/install (priority 200) 68810 [JcrInstaller.15] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Background thread JcrInstaller.15 starting 68845 [ObservationManager] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Got delete event for root /libs, scheduling folders rescan 68845 [ObservationManager] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Got delete event for root /apps, scheduling folders rescan 69810 [JcrInstaller.15] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Removing resource from OSGi installer: /libs/foo/bar/install/bundle1.jar 69810 [JcrInstaller.15] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Removing resource from OSGi installer: /libs/foo/bar/install/cfg3.cfg 69811 [JcrInstaller.15] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Removing resource from OSGi installer: /libs/foo/bar/install/cfgA 69811 [JcrInstaller.15] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Removing resource from OSGi installer: /libs/foo/wii/install/cfgC 69811 [JcrInstaller.15] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Removing resource from OSGi installer: /libs/foo/wii/install/bundle2.jar 69811 [JcrInstaller.15] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Removing resource from OSGi installer: /libs/foo/wii/install/cfgB 69811 [JcrInstaller.15] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Removing resource from OSGi installer: /libs/foo/wii/install/cfg2.properties 69811 [JcrInstaller.15] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Removing resource from OSGi installer: /libs/foo/wii/install/cfg1.properties 69811 [JcrInstaller.15] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Deleting WatchedFolder:/libs/foo/bar/install, path does not exist anymore 69811 [JcrInstaller.15] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Deleting WatchedFolder:/libs/foo/wii/install, path does not exist anymore 69811 [JcrInstaller.15] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Deleting WatchedFolder:/apps/install, path does not exist anymore 70847 [main] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Deactivating Apache Sling JCR Installer 71312 [JcrInstaller.15] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Background thread JcrInstaller.15 done Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.317 sec Running org.apache.sling.jcr.jcrinstall.impl.ScanningLoopTest 71315 [main] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Activating Apache Sling JCR Installer 71315 [main] INFO org.apache.sling.jcr.jcrinstall.impl.RootFolderListener - Watching /libs to detect potential changes in subfolders 71316 [main] INFO org.apache.sling.jcr.jcrinstall.impl.RootFolderListener - Watching /apps to detect potential changes in subfolders 71316 [main] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Bundles root node /libs not found, ignored 71316 [main] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Bundles root node /apps not found, ignored 71317 [JcrInstaller.16] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Background thread JcrInstaller.16 starting 71322 [ObservationManager] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Got create event for root /libs, scheduling scanning of new folders 71340 [ObservationManager] INFO org.apache.sling.jcr.jcrinstall.impl.JcrInstaller - Got create event for root /apps, scheduling scanning of new folders 72318 [JcrInstaller.16] INFO org.apache.sling.jcr.jcrinstall.impl.WatchedFolder - Watching folder /libs/foo/bar/install (priority 100) 72318 [JcrInstaller.16] INFO org.apache.sling.jcr.jcrinstall.impl.WatchedFolder - Watching folder /libs/foo/wii/install (priority 100) 72319 [JcrInstaller.16] INFO org.apache.sling.jcr.jcrinstall.impl.WatchedFolder - Watching folder /apps/install (priority 200) 72319 [JcrInstaller.16] INFO org.apache.sling.jcr.jcrinstall.impl.WatchedFolder - Watching folder /libs/foo/bar/install (priority 100) 72320 [JcrInstaller.16] INFO
[jira] Commented: (SLING-1640) Add ResourceResolver.clone(Map) method
[ https://issues.apache.org/jira/browse/SLING-1640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897306#action_12897306 ] Felix Meschberger commented on SLING-1640: -- For the contrib/extensions/bgservlets project: In Rev. 984442 replaced AuthenticationInfo request attribute with new ResourceResolver.clone method. This allows removing the reference to the ResourceResolverFactory and the dependency on Commons Auth. Add ResourceResolver.clone(Map) method --- Key: SLING-1640 URL: https://issues.apache.org/jira/browse/SLING-1640 Project: Sling Issue Type: New Feature Components: API, JCR Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: JCR Resource 2.0.8, API 2.1.0 As discussed on the list the ResourceResolver interface should be extended with a new method: ResourceResolver clone(Map credentials); This method creates a new ResourceResolver as follows: // start with original credentials Map newCredentials = new HashMap(current resolver credentials); // overlay with provided credentials newCredentials.addAll(credentials); // return a new ResourceResolver return resourceResolverFactory.login(newCredentials); This new method allows for the removal of the AuthenticationInfo object from the request attributes (as discussed in SLING-1445) and allows for a better implementation of the background servlet execution. -- 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
[ https://issues.apache.org/jira/browse/SLING-1560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897318#action_12897318 ] Carsten Ziegeler commented on SLING-1560: - Changes in revision: 984451 The installable resource factory detects now only known types - this allows for pluggable formats. 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] Commented: (SLING-1560) Improve and clean up code
[ https://issues.apache.org/jira/browse/SLING-1560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12897361#action_12897361 ] Carsten Ziegeler commented on SLING-1560: - Changs in revision 984500 Removed the installable resources factory again and converted the installable resource to a class; this makes it easier for clients of the osgi installer. 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 #554
See http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/554/ -- [...truncated 30 lines...] [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/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/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/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/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/org.apache.sling$org.apache.sling.launchpad.contrib-testing/ws/target/launchpad-bundles/resources/bundles/0/org.apache.sling.bundleresource.impl-2.0.4-incubator.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.fsresource/1.0.1-SNAPSHOT/org.apache.sling.fsresource-1.0.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.fsresource-1.0.1-SNAPSHOT.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad.content/2.0.5-SNAPSHOT/org.apache.sling.launchpad.content-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.launchpad.content-2.0.5-SNAPSHOT.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.scripting.api/2.1.0/org.apache.sling.scripting.api-2.1.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/bundles/0/org.apache.sling.scripting.api-2.1.0.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.scripting.core/2.0.11-SNAPSHOT/org.apache.sling.scripting.core-2.0.11-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.scripting.core-2.0.11-SNAPSHOT.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.scripting.javascript/2.0.6/org.apache.sling.scripting.javascript-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.scripting.javascript-2.0.6.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.scripting.jsp/2.0.9-SNAPSHOT/org.apache.sling.scripting.jsp-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.scripting.jsp-2.0.9-SNAPSHOT.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.scripting.jsp.taglib/2.0.7-SNAPSHOT/org.apache.sling.scripting.jsp.taglib-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.scripting.jsp.taglib-2.0.7-SNAPSHOT.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/codehaus/groovy/groovy-all/1.7.4/groovy-all-1.7.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/groovy-all-1.7.4.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/felix/org.apache.felix.http.whiteboard/2.0.4/org.apache.felix.http.whiteboard-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.felix.http.whiteboard-2.0.4.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/aries/jmx/org.apache.aries.jmx.api/0.1-incubating/org.apache.aries.jmx.api-0.1-incubating.jar to
Build failed in Hudson: sling-contrib-1.5 #554
See http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/554/changes Changes: [fmeschbe] SLING-1640 Replace AuthenticationInfo request attribute with new ResourceResolver.clone method. This allows removing the reference to the ResourceResolverFactory and the dependency on Commons Auth. -- [...truncated 3551 lines...] [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.scripting.javascript/2.0.6/org.apache.sling.scripting.javascript-2.0.6.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.scripting.javascript-2.0.6.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.scripting.jsp/2.0.9-SNAPSHOT/org.apache.sling.scripting.jsp-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.scripting.jsp-2.0.9-SNAPSHOT.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.scripting.jsp.taglib/2.0.7-SNAPSHOT/org.apache.sling.scripting.jsp.taglib-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.scripting.jsp.taglib-2.0.7-SNAPSHOT.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/codehaus/groovy/groovy-all/1.7.4/groovy-all-1.7.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/groovy-all-1.7.4.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/felix/org.apache.felix.http.whiteboard/2.0.4/org.apache.felix.http.whiteboard-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.felix.http.whiteboard-2.0.4.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/aries/jmx/org.apache.aries.jmx.api/0.1-incubating/org.apache.aries.jmx.api-0.1-incubating.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.aries.jmx.api-0.1-incubating.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/aries/jmx/org.apache.aries.jmx.core/0.1-incubating/org.apache.aries.jmx.core-0.1-incubating.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.aries.jmx.core-0.1-incubating.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad.test-services/2.0.7-SNAPSHOT/org.apache.sling.launchpad.test-services-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.launchpad.test-services-2.0.7-SNAPSHOT.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.launchpad.test-services-war/2.0.7-SNAPSHOT/org.apache.sling.launchpad.test-services-war-2.0.7-SNAPSHOT.war 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.launchpad.test-services-war-2.0.7-SNAPSHOT.war [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.commons.log/2.0.7-SNAPSHOT/org.apache.sling.commons.log-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/1/org.apache.sling.commons.log-2.0.7-SNAPSHOT.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/sling/org.apache.sling.extensions.webconsolebranding/0.0.1-SNAPSHOT/org.apache.sling.extensions.webconsolebranding-0.0.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/5/org.apache.sling.extensions.webconsolebranding-0.0.1-SNAPSHOT.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/felix/org.apache.felix.webconsole/3.1.1-SNAPSHOT/org.apache.felix.webconsole-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/5/org.apache.felix.webconsole-3.1.1-SNAPSHOT.jar [INFO] Copying bundle from /home/hudson/.m2/repository/org/apache/felix/org.apache.felix.webconsole.plugins.event/1.0.2/org.apache.felix.webconsole.plugins.event-1.0.2.jar to
Build failed in Hudson: sling-contrib-1.5 » Apache Sling Launchpad Contrib Testing #555
See http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.launchpad.contrib-testing/555/ -- [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 #555
See http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/555/ -- [...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-11_19-59-10/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-11_19-59-10/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-11_19-59-10/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] Created: (SLING-1642) User self-registration should be disabled by default
User self-registration should be disabled by default Key: SLING-1642 URL: https://issues.apache.org/jira/browse/SLING-1642 Project: Sling Issue Type: Improvement Components: JCR Affects Versions: JCR Jackrabbit User Manager 2.0.4, JCR Jackrabbit User Manager 2.0.2 Reporter: Eric Norman Assignee: Eric Norman Priority: Critical Fix For: JCR Jackrabbit User Manager 2.0.6 Per discussion @ http://markmail.org/message/dyq6ooseyuacqrhh the User Manager anonymous self-registration capability should be disabled by default. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1642) User self-registration should be disabled by default
[ https://issues.apache.org/jira/browse/SLING-1642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-1642. Resolution: Fixed fixed in r984646. User self-registration should be disabled by default Key: SLING-1642 URL: https://issues.apache.org/jira/browse/SLING-1642 Project: Sling Issue Type: Improvement Components: JCR Affects Versions: JCR Jackrabbit User Manager 2.0.2, JCR Jackrabbit User Manager 2.0.4 Reporter: Eric Norman Assignee: Eric Norman Priority: Critical Fix For: JCR Jackrabbit User Manager 2.0.6 Per discussion @ http://markmail.org/message/dyq6ooseyuacqrhh the User Manager anonymous self-registration capability should be disabled by default. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SLING-1644) Use configuration reader from Apache Felix ConfigAdmin
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.
[jira] Created: (SLING-1643) Add start level support
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.