Re: Script Context custom Bindings for engines

2009-06-28 Thread Juan José Vázquez Delgado
Hi Mike, Is there any sample of an AdapterFactory, so that I can document this? AFAIK, there isn´t any example so far. However, the own OCM bundle implementation is based on an AdapterFactory [1]. So, I understand this might be a good starting point. This service is registered as OSGi service

Re: Script Context custom Bindings for engines

2009-06-26 Thread Juan José Vázquez Delgado
If you mean mapping jcr nodes to domain objects you might want to use OCM [1]. You have an example appying OCM at [2]. And if you want to hand-craft the adapters you may even want to implement an AdapterFactory.. Maybe even better than OCM because it wouldn´t be tied up with JCR. Juanjo.

Re: GWT Tests with Sling

2009-06-25 Thread Juan José Vázquez Delgado
Hi, I'm in the development team of a new CMS which is based on Sling. Good choice!, Sling is the most suitable tool to this purpose :). Now I want to test my GWT classes. GWT provides the test class GWTTestCase, that are executed with the help of the gwt-maven-plugin. The tests are running.

Re: GWT Tests with Sling

2009-06-25 Thread Juan José Vázquez Delgado
No I was of course thinking about content editors. The admin console is an umbrella term we use internally here to mean those things. Yes, I´m sure Thorsten is thinking about a content editor instead an OSGi environment admin console. Regards, Juanjo.

Re: GWT Tests with Sling

2009-06-25 Thread Juan José Vázquez Delgado
Well, that of course then amounts to a problem - luckily GWT itself is ASL2 licensed. And as long as the dependencies have acceptable licenses (MIT and BSD come to mind) there is not an issue, either. Where it starts getting problematic is the LGPL and GPL licenses. I think a GWT content

Get a List of installed Bundles

2009-06-25 Thread Juan
Hello everyone. I'm trying to get a list of installed bundles in sling. I saw something like the class BootstrapInstaller implementing the BundleActivator class. I think that could be something like the treak with the final File dataFile = context.getDataFile(bootstrapinstaller.ser); I

Re: Get a List of installed Bundles

2009-06-25 Thread Juan José Vázquez Delgado
Hi, I'm trying to get a list of installed bundles in sling. Bundles are installed in the OSGi container, really. You can get the list of bundles with something like this: for(Bundle b : bundleContext.getBundles() ) { logger.info( Bundle + b.getBundleId() + : +

[jira] Updated: (SLING-1016) Make membership management depend on the principal name not the URI of the principal, since the principal name is already unique.

2009-06-22 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado updated SLING-1016: - Affects Version/s: (was: JCR Jackrabbit User Manager 2.0.4

Re: User Manager and Charset

2009-06-17 Thread Juan José Vázquez Delgado
There is an issue with accented chars and the sling user manager. I do a web based interface for the nodes below /system/userManager. When I POST to createUser or updateUser, then accented chars are messed up in the server side authorizable resource: eg. the char ü becomes ü. it looks to

Pax Exam based integration testing (before: mvn clean should delete sling work folders)

2009-06-10 Thread Juan José Vázquez Delgado
/whiteboard/jvazquez/testing/src/test/java/org/apache/sling/itest/PaxExamTestBase.java [5] http://repo2.maven.org/maven2/org/apache/servicemix/bundles/ [6] http://issues.ops4j.org/browse/PAXEXAM-79 On Mon, Apr 6, 2009 at 11:08 AM, Felix Meschbergerfmesc...@gmail.com wrote: Hi, Juan José Vázquez

Re: Continuum or Hudson?

2009-06-09 Thread Juan José Vázquez Delgado
I don't have much experience with Continuum, but every time I try to do something on vmbuild it's very slow and painful. Seems like that box is overburdened, and the UI is not very easy to use, IMHO. My experience with Continuum is not good either. I don't think we need two CI servers - what

Re: Continuum or Hudson?

2009-06-09 Thread Juan José Vázquez Delgado
As people here seem to prefer Hudson, lets use that one. I have no experience with TeamCity [1] but I feel this could be another option. Any feedback with this tool? [1] http://www.jetbrains.com/teamcity/ Juanjo.

[jira] Commented: (SLING-990) Prototype for a Sling Explorer implementation based on GWT

2009-06-09 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12717724#action_12717724 ] Juan Jose Vazquez Delgado commented on SLING-990: - Congrats Christophe

Re: [VOTE] Use repository.a.o for deployments

2009-05-27 Thread Juan José Vázquez Delgado
+1 BR, Juanjo.

Re: [DISCUSS] Use repository.a.o for deployments

2009-05-21 Thread Juan José Vázquez Delgado
Next steps after discussion :   * Vote on this issue +1 Regards, Juanjo.

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

2009-05-18 Thread Juan José Vázquez Delgado
[X] +1 Graduate as a top level project Regards, Juanjo.

Re: FYI, added some Pax Exam-based tests

2009-05-14 Thread Juan José Vázquez Delgado
See contrib/extensions/jcrinstall/it - I used Juanjo's whiteboard example (whiteboard/jvazquez/testing) as a base, thanks! You´re welcome. I hope to continue this stuff soon. Tests obviously run slower than pure JUnit tests, but not too slow, and it's fairly easy to assemble some bundles to

Re: Releases in the future

2009-05-12 Thread Juan José Vázquez Delgado
As one of those users of sling the launchpad structures are working well for us. At the moment we take launchpad/bundles as is, and package with something close to lauchpad/app. As Ian describes, a custom launchpad, including Sling and some other bundles, is a typical enterprise-ready package

Re: Releases in the future

2009-05-12 Thread Juan José Vázquez Delgado
 * create OSGi Deployment Packages for use with     the Deployment Admin service  * create Karaf features (requiring respective     Karaf support)  * create a list of dependencies to grab from     and OBR at first startup What is important to me, is that we will be able to produce simple

Re: [Vote] Release Apache Sling 5 - webconsole config is broken

2009-05-11 Thread Juan José Vázquez Delgado
+1 On Mon, May 11, 2009 at 11:40 AM, Jukka Zitting jukka.zitt...@gmail.com wrote: Hi, On Mon, May 11, 2009 at 11:26 AM, Bertrand Delacretaz bdelacre...@apache.org wrote: For now I have created SLING-959 - what do people think of releasing with that ugly bug? I know recutting and revoting on

Re: Welcome Mike Mueller as Documentation Committer

2009-05-01 Thread Juan José Vázquez Delgado
Hi all, Based on his sustained contributions to the Sling documentation in the last months, the Sling PPMC has decided to give Mike Müller write access to the Sling website content wiki. Thanks again, Mike, for your contributions and keep up the good work. Thanks Mike and welcome! Juanjo.

Re: [VOTE] Update to Community Roles and Processes

2009-05-01 Thread Juan José Vázquez Delgado
An update draft of the Sling Community Roles and Processes as been on the site since June 2008 [1]. This draft proposes to separate the roles of Committers and (P)PMC members to lower the entry barrier for committership. Additionally I added an explicit note, that regular contributors of

Re: Unified system for tags

2009-04-24 Thread Juan José Vázquez Delgado
Hi VIdar, As I hope I made clear, this is not something I've thought through in any way, and I'm not even sure if it's such a generic usecase that it should be included in Sling - maybe it's just specific to certain applications. WDYT? That is a nice feature but IMHO is more suitable for

Re: Unified system for tags

2009-04-24 Thread Juan José Vázquez Delgado
...That is a nice feature but IMHO is more suitable for specific use cases, such as CMS systems, than for Sling itself IMHO that shouldn't prevent implementing it under contrib - not all Sling users will need it, but using Sling for CMSish apps is certainly a common use case. Yep,

Re: Unified system for tags

2009-04-24 Thread Juan José Vázquez Delgado
Sounds good, and as Felix says I just wrote a blog entry about this yesterday [2]. From that you can see that in Day's cq5 the tags are a hierarchy of nodes under /etc/tags, with a specific node type, so a tag is indeed a separate resource. Bertrand, just a question. You decided not to use

Re: Unified system for tags

2009-04-24 Thread Juan José Vázquez Delgado
Because references a) don't scale at the moment with Jackrabbit Is this a core design constraint or intended to be improved in future Jackrabbit releases?. and b) hard references make your content very unflexible regarding partial copying etc. As Bertrand explains it in his post [1]: snip

Re: Unified system for tags

2009-04-24 Thread Juan José Vázquez Delgado
It's a drawback, but we feel the advantages (content agility) outweigh the drawbacks (need to handle some rare stuff at the application level). Pros vs cons. Ok, good!. Juanjo.

Re: Unified system for tags

2009-04-24 Thread Juan José Vázquez Delgado
Interesting approach. Good enough from my pont of view. BR, Juanjo. On Fri, Apr 24, 2009 at 7:26 PM, Alexander Klimetschek aklim...@day.com wrote: On Fri, Apr 24, 2009 at 6:32 PM, Bertrand Delacretaz bdelacre...@apache.org wrote: 2009/4/24 Juan José Vázquez Delgado juanjo.vazq...@gmail.com

Re: Refining the authentication process

2009-04-22 Thread Juan José Vázquez Delgado
Hi Felix, I propose to create a new service interface Authenticator, which is implemented by the existing SlingAuthenticator class (both in the o.a.sling.engine bundle). This interface has a requestAuthentication method, which may be used to initiate authentication from within servlets or

Re: Experiment with the Hudson CI service, who wants an account?

2009-04-08 Thread Juan José Vázquez Delgado
Among the Sling committers, who would like to have an account on the Hudson server? I'll include your usernames in the accounts request. Me too, please (username: jvazquez) Thanks, Juanjo.

Re: Felix Framework update

2009-04-07 Thread Juan José Vázquez Delgado
+1 Good luck Carsten. BR, Juanjo. On Tue, Apr 7, 2009 at 2:48 PM, Felix Meschberger fmesc...@gmail.com wrote: Hi all, The Felix framework 1.6.0 release has hit the streets (aka maven repo). Thus I upgraded the reference to the Felix framework. I have also upgraded the bundle repository

Re: mvn clean should delete sling work folders

2009-04-06 Thread Juan José Vázquez Delgado
Redoing our testing infrastructure just for this reason feels a bit like overkill to me. Not only. With Pax Exam we could test Sling deployed on any OSGi environment (at least on some of them). Juanjo.

Re: Remove old JcrResourceResolver implementation

2009-04-06 Thread Juan José Vázquez Delgado
For this reasons, I would like to remove (svn rm) the old implementation and to also drop the JcrResourceResolverFactoryImpl configuration option to select the old or new implementation. WDYT ? +1 Juanjo.

Re: Cocoon pipelines in Sling, using XPL - thanks Juanjo! (was: Sling Release)

2009-04-03 Thread Juan José Vázquez Delgado
Hi, Exciting stuff for an old xslt head like myself. Yeap, XST is still the best option in a lot of situations. Just wondering, if the xpl file is at /apps/xproc/xproc.xpl, what tells sling that it should resolve the .html extension in this example to the script? I would have guessed

Re: Cocoon pipelines in Sling, using XPL - thanks Juanjo! (was: Sling Release)

2009-04-03 Thread Juan José Vázquez Delgado
Just wondering, if the xpl file is at /apps/xproc/xproc.xpl, what tells sling that it should resolve the .html extension in this example to the script? I would have guessed /apps/xproc/sling/servlet/default/html.xpl .. Because of resource type is xproc, you have: /apps  +-- xproc

[jira] Commented: (SLING-736) Ensure getPathInfo returns correct (expected) value

2009-04-03 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12695361#action_12695361 ] Juan Jose Vazquez Delgado commented on SLING-736: - Right, I think it´s fixed

Re: Cocoon pipelines in Sling, using XPL - thanks Juanjo! (was: Sling Release)

2009-04-03 Thread Juan José Vázquez Delgado
I have created a documentation page at [1] which should shortly appear on our site (follow Development - Integrating Scripting Languages - XSLT ...) This page may be edited directly in the SLINGxSITE wiki to update the site. Thanks Felix. I´ll work at it soon. Juanjo.

Re: Sling Release

2009-04-01 Thread Juan José Vázquez Delgado
SLING-893 Pipeline support - still in the whiteboard, right? I'm going to test it today. As discussed in [1], pipeline support stuff has been already saved in contrib [2]. I´m going to close SLING-893 and open new issues for enhancements. BTW, we have some contrib tests failing too (SLING-869

Re: [POLL] getting rid of scripting (almost)

2009-04-01 Thread Juan José Vázquez Delgado
1) the JVM is interpreting bytecode, which is just scripting in disguise. Do not fall for the  'Write once run everywhere' and the alleged agility you get from a garbage collector. 2) to be ready for Enterprise use, we should use a Common Business-Oriented Language, or COBOL for that matter.

[jira] Commented: (SLING-908) Xproc response does not indicate errors

2009-04-01 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12694548#action_12694548 ] Juan Jose Vazquez Delgado commented on SLING-908: - Good point. Thanks

[jira] Resolved: (SLING-893) Pipeline support

2009-04-01 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado resolved SLING-893. - Resolution: Fixed First version in [1]. Close this issue and open new

Re: Cocoon pipelines in Sling, using XPL - thanks Juanjo! (was: Sling Release)

2009-04-01 Thread Juan José Vázquez Delgado
SLING-893 Pipeline support - still in the whiteboard, right? I'm going to test it today. As discussed in [1], pipeline support stuff has been already saved in contrib [2]. I´m going to close SLING-893 and open new issues for enhancements Great, thanks! I made minor improvements to

Re: Welcome Vidar Ramdal as our new Sling committer!

2009-03-30 Thread Juan José Vázquez Delgado
Congratulations and welcome Vidar!. Great news that the team is growing. Regards, Juanjo. On Mon, Mar 30, 2009 at 11:11 AM, Bertrand Delacretaz bdelacre...@apache.org wrote: Hi, Vidar Ramdal has been active on the Sling mailing list since January 2008, has made sustained contributions of

Re: Gwt + Sling

2009-03-30 Thread Juan José Vázquez Delgado
Hi, I think that some people in this community are interested by a GWT/Sling integration. There is an example in the Sling source but there are some lacks in term of integration and RAD dev. My main goal is to provide a good dev environment to build quickly gwt applications for Sling and to

[jira] Resolved: (SLING-896) Allow installation of Sling as a feature in ServiceMix Kernel

2009-03-25 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado resolved SLING-896. - Resolution: Fixed Assignee: Juan Jose Vazquez Delgado Applied patch

[jira] Reopened: (SLING-736) Ensure getPathInfo returns correct (expected) value

2009-03-24 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado reopened SLING-736: - Assignee: Juan Jose Vazquez Delgado (was: Felix Meschberger) Issue

[jira] Updated: (SLING-736) Ensure getPathInfo returns correct (expected) value

2009-03-24 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado updated SLING-736: Remaining Estimate: 0h Original Estimate: 0h The path info

Re: Sling with Pax 0.2.3 does not work?

2009-03-24 Thread Juan José Vázquez Delgado
I'm trying to run Sling in ServiceMix Kernel (uses pax-web-bundle 0.4.1). It deploys correctly, but when the SlingMainServlet tries to process a request it ends up in an infinite loop. I downgraded Pax to use the 0.2.3 version, and it works fine. Yes, you´re right, the same thing happened to

Re: OSGI pluggability in Sling

2009-03-24 Thread Juan José Vázquez Delgado
Hi Sebastián, I'm not sure if this is the best place to write to No better place occurred to me :-). but I've been able to use Sling in ServiceMix Kernel without much problems, and have created a patch to deploy it as a ServiceMix Kernel feature. I've attached the patch to the following

Re: Sling with Pax 0.2.3 does not work?

2009-03-24 Thread Juan José Vázquez Delgado
2) Is there some way to publish the SlingMainServlet in a different context path than /? I've seen it hard wired to it, but I guess it may be a good idea to have it configurable in case Sling lives in a container with other web applications (such as my case in ServiceMix Kernel). I´m not sure

[jira] Resolved: (SLING-736) Ensure getPathInfo returns correct (expected) value

2009-03-24 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado resolved SLING-736. - Resolution: Fixed At first sight, everything seems to be ok. Close

Re: OSGI pluggability in Sling

2009-03-22 Thread Juan José Vázquez Delgado
There is a how-to run the Jackrabbit stuff inside Equinox at [1]. And there is a page on running Sling on the ServiceMix Kernel at [2]. I have made some tests runnig Sling on the ServiceMix Kernel and everything was ok. An OSGi R4 Http Service implementation is mandatory in order to work, for

Re: JCR Explorer (was: Summer of Code is upon us)

2009-03-20 Thread Juan José Vázquez Delgado
Concerning GWT, it seems that we can support  HTTP requests [1] (with JSON or XML) and avoid GWT RPC. RPC is certainly nice for java developers but if we want to have a common foundation for the JCR browser that can be integrated with different web UI frameworks,  it is certainly better to

[jira] Resolved: (SLING-891) Some usermanager integration tests are failing

2009-03-20 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado resolved SLING-891. - Resolution: Invalid Finally, this seems to be a memory issue. MAVEN_OPTS

[jira] Resolved: (SLING-879) New Bundle to provide actions for interacting with the jackrabbit AccessManager

2009-03-20 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado resolved SLING-879. - Resolution: Fixed Assignee: Juan Jose Vazquez Delgado Integration

[jira] Created: (SLING-893) Pipeline support

2009-03-20 Thread Juan Jose Vazquez Delgado (JIRA)
Pipeline support Key: SLING-893 URL: https://issues.apache.org/jira/browse/SLING-893 Project: Sling Issue Type: Improvement Components: Extensions Affects Versions: 3 Reporter: Juan Jose Vazquez

Re: AccessControlUtil.addEntry(), @scr private=, deactivate bundles in mvn?

2009-03-19 Thread Juan José Vázquez Delgado
Hi Eric, Thanks for applying the accessmanager bundle. You´re welcome. I took a look at the unit test failures and I think I see what the issue is.  When I wrote those tests I had the latest patch from SLING-875 (see usermanager_as_servlets.zip) already applied.  So the test code that

Re: Problem with jcr:created property in initial content loading

2009-03-19 Thread Juan José Vázquez Delgado
We want to use these reserved properties (jcr:created, jcr:createdBy, etc.) because they are autocompleted by the SlingPostServlet and we are always to create content using the SlingPostServlet. How can initalize the jcr:created with a long in a json? I don´t know why but jcr:created is

Re: JCR Explorer (was: Summer of Code is upon us)

2009-03-19 Thread Juan José Vázquez Delgado
...What about the UI framework to use ?  A JCR Explorer will require advanced UI widgets and I'm wondering which framework will be the more appropriate, Dojo ? Gwt ? Extjs ? ? :-( I have a prototype with Extjs but It is certainly not compatible with the ASF license At this point my

Re: AccessControlUtil.addEntry(), @scr private=, deactivate bundles in mvn?

2009-03-19 Thread Juan José Vázquez Delgado
that's odd.  I didn't get any errors when I ran the clean build.  Inside the usermanager_as_servlet.zip file, there were two patches.  Did you apply both of those .diff files?  It seems like you may be missing the changes that were made to the integration tests. I applied and commited both of

Re: AccessControlUtil.addEntry(), @scr private=, deactivate bundles in mvn?

2009-03-18 Thread Juan José Vázquez Delgado
Hi Eric, Yes, it seemed to be working for me.  I was using that method in the patch I submitted for SLING-879 I have added the jackrabbit-accessmanager stuff into trunk (rev. 755539). I have run some testing and everything seems to be ok. Cool stuff, thank you!. Although, I haven´t applied

[jira] Updated: (SLING-879) New Bundle to provide actions for interacting with the jackrabbit AccessManager

2009-03-18 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado updated SLING-879: Remaining Estimate: 0h Original Estimate: 0h jackrabbit-accessmanager

Re: Custom Sling War

2009-03-17 Thread Juan José Vázquez Delgado
...The sling jcrinstall module [1] is similar in scope, but more integrated with Sling Good point Bernard. I forget this option. BR, Juanjo.

Re: Problem with jcr:created property in initial content loading

2009-03-17 Thread Juan José Vázquez Delgado
Hi Daniel, The property isn't there ** Resource dumped by StreamRendererServlet** Resource path:/content/mycontent Resource metadata: {sling.resolutionPathInfo=, sling.resolutionPath=/content/mycontent} ** Resource properties ** title: My content title size: sling:resourceType:

Re: Custom Sling War

2009-03-16 Thread Juan José Vázquez Delgado
Hi Christophe, I would like to build a custom sling war. The customization is mainly to override some  component properties. What is the best way for doing this ? Sling is a set of bundles who are mainly intended to be deployed on a OSGi container: Apache Felix, Eclipse Equinox, Sun

Re: Custom Sling War

2009-03-16 Thread Juan José Vázquez Delgado
Can I use te file  sling.properties to override properties of the current Sling components ? Only some of them. For instance, you can initialize the JCR repository home with sling.repository.home property. For example, I would like to build a custom war which override the property

Re: Problem with jcr:created property in initial content loading

2009-03-16 Thread Juan José Vázquez Delgado
Hi Daniel,  Hi, I am loading custom initial-content in the repository using a json file This is  my json: {  jcr:primaryType : nt:unstructured,  sling:resourceType : mycompany/content,  jcr:created : ,  jcr:createdBy : ,  jcr:lastModified : ,  jcr:lastModifiedBy : } It is strange

Re: Problem with jcr:created property in initial content loading

2009-03-16 Thread Juan José Vázquez Delgado
For example, thorugh the browser: http.//localhost:/content/mycontent/jcr:created What do you get when try this?: http.//localhost:/content/mycontent.txt In the other hand, have you any error in Sling log? BR, Juanjo.

Re: Custom Sling War

2009-03-16 Thread Juan José Vázquez Delgado
I'm agree with you but I would like to avoid manual operations from the console in some conditions. In my case, I have to build a custom sling war and give it to a production team who don't want to use the console to install correctly the application.  In such case, it should be nice to have

[jira] Created: (SLING-885) External JCR configuration file is not resolved properly

2009-03-13 Thread Juan Jose Vazquez Delgado (JIRA)
Affects Versions: JCR Jackrabbit Server 2.0.2 Environment: Windows Reporter: Juan Jose Vazquez Delgado Assignee: Juan Jose Vazquez Delgado The SlingServerRepository Configuration File property in is not resolved properly when sling.repository.config.file.url

[jira] Resolved: (SLING-885) External JCR configuration file is not resolved properly

2009-03-13 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado resolved SLING-885. - Resolution: Fixed Fixed in rev. 752067 External JCR configuration file

Pipeline support

2009-03-10 Thread Juan José Vázquez Delgado
Hi all, After some work, the pipeline support prototype [1] has ended up as follows: 1. A XML pipeline is expressed as a W3C XProc [2] file with xpl extension. For instance: p:pipeline xmlns:p=http://www.w3.org/ns/xproc;    p:xslt        p:input port=stylesheet            p:document

Re: Pipeline support

2009-03-10 Thread Juan José Vázquez Delgado
...1. A XML pipeline is expressed as a W3C XProc [2] file with xpl extension Is this xpl extension standard? If you're choosing your own I'd prefer not having an L at the end as it's too easy to confuse with a I. Maybe xpr or even xproc, clearer? This has been extracted from the XProc

Re: Pipeline support

2009-03-10 Thread Juan José Vázquez Delgado
This has been extracted from the XProc candidate recomendation [1]. Sorry, I forgot the link: [1] http://www.w3.org/TR/xproc/

Re: Sling Parent POM

2009-02-24 Thread Juan José Vázquez Delgado
As of Rev. 7471333, the Apache SNAPSHOT repository is now declared in the parent pom. My test builds seem to work. It would be great if others could also test (and review the pom), so that we can then release the parent pom. Works for me (Windows Vista SP1 JDK 1.5.0_14-b03) BR, Juanjo.

[jira] Resolved: (SLING-871) Add new method to AccessControlUtil to determine if an AccessControlEntry contains granted privileges or denied privileges

2009-02-24 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado resolved SLING-871. - Resolution: Fixed Assignee: Juan Jose Vazquez Delgado Patch applied

Re: StarResource.adaptTo(Node.class)

2009-02-24 Thread Juan José Vázquez Delgado
Sounds reasonable. +1 Juanjo

[jira] Created: (SLING-867) AccesControlUtil addEntry fails

2009-02-23 Thread Juan Jose Vazquez Delgado (JIRA)
AccesControlUtil addEntry fails --- Key: SLING-867 URL: https://issues.apache.org/jira/browse/SLING-867 Project: Sling Issue Type: Bug Components: JCR Reporter: Juan Jose Vazquez Delgado

[jira] Updated: (SLING-867) AccesControlUtil addEntry fails

2009-02-23 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado updated SLING-867: Sorry, [1] http://dev.day.com/discussion-groups/content/lists/incubator

Re: AccessControlUtil.addEntry(), @scr private=, deactivate bundles in mvn?

2009-02-23 Thread Juan José Vázquez Delgado
You mean it's not supported with addAccessControlEntry()? At least AccessControlUtil.addEntry() offers a method to apply restrictions. I guess it calls ACLTemplate.addEntry() (that implements JackrabbitAccessControlList) and there is a signature that accepts isAllow. There are 2 methods in

Re: [Proposal] Script resolution: Consider request extension for all methods

2009-02-23 Thread Juan José Vázquez Delgado
+1

[jira] Closed: (SLING-867) AccesControlUtil addEntry fails

2009-02-23 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado closed SLING-867. --- Resolution: Fixed Resolved in rev. 746943 AccesControlUtil addEntry fails

Re: AccessControlUtil.addEntry(), @scr private=, deactivate bundles in mvn?

2009-02-23 Thread Juan José Vázquez Delgado
Thanks for the quick fix, Juanjo. Once I update to the new Sling structure, I'll test it. Marc You´re welcome. Please report any issues about it. Regards, Juanjo.

Re: [IMP] Source Tree Restructuring

2009-02-22 Thread Juan José Vázquez Delgado
If you experience any problems, just let us know. No problems. Works for me (Mac OS X 10.5.6 / Java 1.6.0_07). Thanks BR, Juanjo.

Re: [Fwd: [groovy-dev] Groovy 1.6 is released!]

2009-02-19 Thread Juan José Vázquez Delgado
Now that Groovy 1.6 has been released, I think it would be cool to include Groovy in the upcoming Sling Release out of the box in the launchpad archives we are distributing. WDYT ? +1 Regards, Juanjo.

Re: Pipeline support

2009-02-19 Thread Juan José Vázquez Delgado
Hi guys, Last days, i have been working on a new prototype about a certain kind of XML pipelines support in Sling [1]. The prototype is making these main assumptions: 1. A XML pipeline is expressed as a W3C XProc [2] file with xpl extension. For instance: p:pipeline

[jira] Updated: (SLING-859) option overwrite:=true

2009-02-18 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado updated SLING-859: no definition found in parent node's node type for new node: no matching child

Re: AccessControlUtil.addEntry(), @scr private=, deactivate bundles in mvn?

2009-02-18 Thread Juan José Vázquez Delgado
Hi Marc, 1. AccessControlUtil.addEntry() throws java.lang.NoSuchMethodException: org.apache.jackrabbit.core.security.authorization.acl.ACLTemplate.addEntry() as rootCause. I use Import-Package*;resolution:=optional/Import-Package for that bundle and the following code. accessController =

Re: AccessControlUtil.addEntry(), @scr private=, deactivate bundles in mvn?

2009-02-18 Thread Juan José Vázquez Delgado
Thanks for the answer, Juanjo. You´re welcome. I want to add restrictions to nodes (isAllow=false) . Is this possible with addAccessControlEntry()? I´m sorry Marc, for the time being this feature is not supported. There are some problems with building a jackrabbit-core osgizied bundle [1].

Re: option overwrite:=true

2009-02-17 Thread Juan José Vázquez Delgado
Hi Vladislav, hi, I have this in my pom.xml: plugin groupIdorg.apache.felix/groupId artifactIdmaven-bundle-plugin/artifactId extensionstrue/extensions configuration instructions

Re: option overwrite:=true

2009-02-17 Thread Juan José Vázquez Delgado
Unfortunately, I don't have access for creating new issue. You can signup for an account here [1]. [1] https://issues.apache.org/jira/secure/Dashboard.jspa Regards, Juanjo.

[jira] Updated: (SLING-859) option overwrite:=true

2009-02-17 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Jose Vazquez Delgado updated SLING-859: Assignee: Juan Jose Vazquez Delgado Remaining Estimate: 0h

Re: Pipeline support

2009-02-16 Thread Juan José Vázquez Delgado
Hi Felix, Yes. I think there are multiple options for the input * apply standard Sling processing as in RequestDispatcher.include(resource, resourceTypeOverWrite) I´m not sure what you mean with this case. I understand, the pipeline source would be the XML expressed result of

Pipeline support

2009-02-05 Thread Juan José Vázquez Delgado
Hi, In response to this thread [1] in the Apache Cocoon Dev list, I have been working in a minimal sample [2] concerning about resolution of pipelines and Apache Sling. IMHO, having pipeline support in Sling is an important feature in terms of separation of concerns. On the other hand, because

Re: Pipeline support

2009-02-05 Thread Juan José Vázquez Delgado
There are two possibilities: Either make a pipeline a script, or let a script (jsp, groovy etc.) generate xml and use a pipeline for postprocessing. In fact, my sample is in line with your second option. The XSL templates are retrieved from resources, too. Juanjo.

Re: CRX 1.4.1 released - powered by Apache Jackrabbit Sling - thanks!

2009-02-04 Thread Juan José Vázquez Delgado
Hi, I myself would be interested in how Jackrabbit (and Sling) is used in other companies' products. Cheers Greg Absolutely agree. It´s very important to know as many Sling/Jackrabbit case estudies as possible. Congratulations!. BR, Juanjo.

Re: Error stack trace after configuration change

2009-01-26 Thread Juan José Vázquez Delgado
I will upgrade to the Felix Framework 1.4.1 shortly (I think this is a requirement for the next release cycle of Sling). This may behave better, I hope, and you might want to test it then. Sure. I´ll report on this. Do you notice any problems -- except the scaring log message -- upon

Re: Error stack trace after configuration change

2009-01-24 Thread Juan José Vázquez Delgado
Hi Felix, Does Sling shutdown because of your configuration change ? Or do you modify the configuration and then shut Sling down ? Not at all. The behaviour is normal apart from this trace. Properties of services are saved without any problem. Thanks, Juanjo.

Error stack trace after configuration change

2009-01-22 Thread Juan José Vázquez Delgado
Hi guys, Last days, I have been receiving this error stack trace after stopping the launchpad webapp: 2009-01-22 17:30:59.695:/:WARN: ERROR: EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: Invalid BundleContext.) java.lang.IllegalStateException: Invalid BundleContext.

[jira] Commented: (SLING-830) Startup failure when after a full build of Sling.

2009-01-15 Thread Juan Jose Vazquez Delgado (JIRA)
[ https://issues.apache.org/jira/browse/SLING-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12664141#action_12664141 ] Juan Jose Vazquez Delgado commented on SLING-830: - Works for me (rev. 734729

  1   2   >