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: Component -> Slinglet?

2007-09-19 Thread Juan José Vázquez Delgado
Hi, In fact, "Component" sounds too much common. I agree with the name Slinglet (in a portlet style...) BR, Juanjo. On 9/19/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > > Hi Slingers, > > The "Component" name, used by Sling to designate objects that render > parts of content, is a bit c

Re: JCR Node Type Management Issues

2007-09-19 Thread Juan José Vázquez Delgado
+1, It sounds good Juanjo. On 9/19/07, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > > Felix Meschberger schrieb: > > Hi all, > > > > Currently, the sling-content-jcr bundle has a ContentManagerFactory > > implementation (the JcrContentHelper, used to access Sling > > ContentManager instances),

Re: Sling Site

2007-09-21 Thread Juan José Vázquez Delgado
Really nice, congratulations!. BR, Juanjo. On 9/21/07, Felix Meschberger <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have now migrated the former contents of the Jackrabbit Wiki regarding > Sling to the new Sling wiki at [1]. In addition, I modified the > auto-export template of the Confluence

Re: [RT] breaking Sling into smaller pieces?

2007-10-09 Thread Juan José Vázquez Delgado
Hi all, I´m absolutely agree with Bertrand´s proposal. I think the Sling´s success depends of his goals staying delimited. On the other hand, I like sling-jcr out of jcr-core, but I don´t know Sling much as you. BR, Juanjo. On 10/9/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > > Hi Slin

Re: [VOTE] Sling API

2007-11-02 Thread Juan José Vázquez Delgado
+1 BR, Juanjo On 11/2/07, Felix Meschberger <[EMAIL PROTECTED]> wrote: > > Hi all, > > Finally after much fiddling around on the Sling API and its "reference > implementation" microsling, I would like to start the vote on the Sling > API. This vote is not to cast the Sling API in stone for the n

Re: maven-scr-plugin 0.5.0-SNAPSHOT is missing

2007-11-16 Thread Juan José Vázquez Delgado
Thanks for your help but now i have other problems when i try to build sling from the scratch. First of all, i get this error: [INFO] - --- [INFO] Building Sling - Core Implementation [INFO]task-segment: [clean, install]

Re: maven-scr-plugin 0.5.0-SNAPSHOT is missing

2007-11-17 Thread Juan José Vázquez Delgado
ed these two and added the jcr/repository project, which > is required by sling/core. > > Regards > Felix > > Am Freitag, den 16.11.2007, 18:27 +0100 schrieb Juan José Vázquez > Delgado: > > Thanks for your help but now i have other problems when i try to build > sling

Re: Sling and microsling scenarios

2007-11-22 Thread Juan José Vázquez Delgado
Hi, > This is probably the default, right ? So I assume this must be > supported. OK. > I am not sure, what you mean by "application". I understand a "Sling > Application" to be a bunch of OSGi bundles deployed to a single Sling > instance. I´m newbie with OSGi but I´m wondering if it´s possibl

Re: use case: resolving a resource based on a node´s version

2007-12-10 Thread Juan José Vázquez Delgado
Hi, > (1) encode the requested version as part of the URL, such as > /content/some/resource.html;v=1.0 (for the resolve(request) method) I like this solution but why not to use Sling api standars like selectors or suffixes? Really, the selectors have a problem with the dot character... I´m not s

Re: use case: resolving a resource based on a node´s version

2007-12-12 Thread Juan José Vázquez Delgado
me to have /content/some/resource.html/version1/lang1 than /content/mytext.a4.print.s:version:1:4.s:locale:fr_CH.html WDYT?, BR, Juanjo [1] http://www.w3.org/TR/rdf-primer/ On Dec 12, 2007 4:10 PM, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Dec 10, 2007 12:25 PM, Juan José

Re: use case: resolving a resource based on a node´s version

2007-12-13 Thread Juan José Vázquez Delgado
t is not > served well by delegating this kind of functionality to the > application. > > regards, > david > > > On 12/12/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > > On Dec 12, 2007 6:27 PM, Juan José Vázquez Delgado > > <[EMAIL PROTECTED]> wrote: >

Re: [VOTE] Community Roles and Processes

2007-12-19 Thread Juan José Vázquez Delgado
+1 BR, Juanjo On Dec 18, 2007 4:40 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > +1 > > Regards > Felix > > Am Dienstag, den 18.12.2007, 14:09 +0100 schrieb Felix Meschberger: > > Hi all, > > > > As my initial request for discussion of our Community Roles and > > Processes definition [1] d

Re: Upgrade Jackrabbit Dependencies

2008-01-16 Thread Juan José Vázquez Delgado
+1 On Jan 16, 2008 9:51 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Hi all, > > Jackrabbbit 1.4 has been released, so I suggest we upgrade all > references to Jackrabbit to version 1.4. > > WDYT ? > > Regards > Felix > >

Re: Open Wiki

2008-01-24 Thread Juan José Vázquez Delgado
+1 BR, Juanjo. On Jan 23, 2008 9:07 AM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Hi all, > > Now that this has been discussed in various places, I would like to take > the next step: Considering that we want to enable non-committers to > provide their bits and pieces on the one hand and t

Re: Eclipse Plugin

2008-04-04 Thread Juan José Vázquez Delgado
It works! Thanks, Juanjo On Fri, Apr 4, 2008 at 12:30 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Hi Juanjo, > > This problem is caused by the jackrabbit-jcr-rmi version 1.4 library not > being complete. This issue will be fixed in the upcoming (vote under > way) version 1.4.1 library. >

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

2008-05-07 Thread Juan José Vázquez Delgado
+1 On Wed, May 7, 2008 at 10:04 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Hi all, > > After an initial round of discussion and letting it almost be forgotten, > we should finally start to get this moving again. > > As noted in [1] the incubating Apache Sling project has a module - a > si

Re: Sling applications and initial content loading

2008-05-12 Thread Juan José Vázquez Delgado
"You can put the path as content structure into your bundle" >> Yes, this had been my first approach. "It works well if other bundles "create" the same base path as well, eg. /some/generic/path/anotherapp" >> I agree, but it could be quite annoying have to repeat a few times the base path. BR,

Re: Sling applications and initial content loading

2008-05-13 Thread Juan José Vázquez Delgado
den 12.05.2008, 16:18 +0200 schrieb Juan José Vázquez > Delgado: > > >> I agree, but it could be quite annoying have to repeat a few times > the > > base path. > > Agreed. But then, If you explicitly list the path you see from the > source and the bundle cont

Re: Sling applications and initial content loading

2008-05-14 Thread Juan José Vázquez Delgado
Hi, On Wed, May 14, 2008 at 4:40 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > > I agree, that it would make sense to have this "parseHeader" code in the > commons/osgi module for multiple uses. > > Now, the commons/osgi module has one class only: OsgiUtils. Doy you mean we should have a pa

Re: Sling applications and initial content loading

2008-05-20 Thread Juan José Vázquez Delgado
2008 at 9:43 AM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > Felix Meschberger wrote: > >> Hi, >> >> Am Mittwoch, den 14.05.2008, 18:46 +0200 schrieb Juan José Vázquez >> Delgado: >> >>> Hi, >>> >>> On Wed, May 14, 2008 at 4:

Re: [Vote] Release Sling

2008-06-05 Thread Juan José Vázquez Delgado
+1 BR, Juanjo On Thu, Jun 5, 2008 at 6:32 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > Hello everyone, > > let's give it a second try. I cut a new candidate as outlined today. > > I've put all release artifacts here: > > http://people.apache.org/~cziegeler/releases/sling/

Re: [Vote] Release Apache Sling

2008-06-17 Thread Juan José Vázquez Delgado
+1 BR, Juanjo On Tue, Jun 17, 2008 at 12:26 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > Hello everyone, > > it's that special time again! I've cut a new candidate to vote on. > You'll find the releases at: > > http://people.apache.org/~cziegeler/releases/sling/releases

Re: Provisioning a Sling based Enterprise Platform

2008-07-29 Thread Juan José Vázquez Delgado
Thanks Bertrand, Yeap, agreed with you this is the easiest way. In fact, has been my first try. Although, IMHO Sling should let users add bundles on startup without any code or additonal maven projects. WDYT? BR, Juanjo. On Tue, Jul 29, 2008 at 12:27 PM, Bertrand Delacretaz < [EMAIL PROTECTED]

Re: Provisioning a Sling based Enterprise Platform

2008-07-29 Thread Juan José Vázquez Delgado
tp://felix.apache.org/site/apache-felix-file-install.html) to load bundles and configs from the filesystem." >> ok. i´ll have a look that. Thanks! BR, Juanjo On Tue, Jul 29, 2008 at 4:27 PM, Bertrand Delacretaz <[EMAIL PROTECTED] > wrote: > On Tue, Jul 29, 2008 at 4:10 PM,

Re: Provisioning a Sling based Enterprise Platform

2008-07-30 Thread Juan José Vázquez Delgado
h a launched sling webapp instance? BR, Juanjo. [1] http://servicemix.apache.org/SMX4KNL/running-apache-sling-on-servicemix-kernel.html On Wed, Jul 30, 2008 at 11:54 AM, Felix Meschberger <[EMAIL PROTECTED]>wrote: > Hi Juanjo, > > Glad to hear from you ;-) > > Juan José Vázqu

Re: Servlet listeners in Sling

2008-09-26 Thread Juan José Vázquez Delgado
Hi Felix, > The implementation on the Sling or OSGi side, though, is currently > missing. One thing is, that such a thing is not part of the OSGi > HttpService specification (which is based on the Servlet API 2.1). The > other missing thing is support by Sling itself. > Yes I know, Although, I

Re: Servlet listeners in Sling

2008-09-29 Thread Juan José Vázquez Delgado
> +1 on what you suggest, assuming it allows Juanjo's use case to be > implemented. > Sure, i think Felix´s suggestion is good enough. Felix, what would the next steps be?. I suppose a new Jira issue, right?. Thanks, BR, Juanjo.

Re: Replacing JcrResourceResolverFactory by a Sling ResourceResolverFactory

2008-11-17 Thread Juan José Vázquez Delgado
Sounds good. +1 BR, Juanjo. On Mon, Nov 17, 2008 at 8:40 AM, Felix Meschberger <[EMAIL PROTECTED]>wrote: > Hi all, > > As a followup to this, we might probably even drop the SlingRepository > interface (in the jcr/api bundle) and replace some functionality of the > AbstractSlingRepository (in

Re: Customizing the Sling embedded repository

2008-11-17 Thread Juan José Vázquez Delgado
Hi, We could add a property to sling.properties (also overwritable through > web app init-param) which setting the URL to a repository.xml file. Thus > you could include the repository.xml file in your web app or place it > somewhere else together with the repository home. Good. > We might wan

Re: Customizing the Sling embedded repository

2008-11-18 Thread Juan José Vázquez Delgado
Hi, Agreed. I think if we can present a good use case for the requirement > (which IMHO is a good requirement in itself) the Jackrabbit team would > be more sensitive to the issue. > > Until now, they have not been that much sensitive to this because they > are more concerned with support for the

Re: Customizing the Sling embedded repository

2008-11-18 Thread Juan José Vázquez Delgado
Hi, > Last days I have been thinking about to extend the features of Sling > > embedded repository. The main reason for this is configuring it with > another > > persistent manager and customizing with my own login module and access > > manager. > > Hi Juan; > >

Re: Felix admin console in trunk

2008-11-18 Thread Juan José Vázquez Delgado
Sorry, it was my fault. Forget it. BR, Juanjo. On Tue, Nov 18, 2008 at 5:23 PM, Bertrand Delacretaz <[EMAIL PROTECTED] > wrote: > Hi, > > On Tue, Nov 18, 2008 at 4:52 PM, Juanjo Vázquez <[EMAIL PROTECTED]> > wrote: > > Is anyone having problems with the Felix console in trunk? > > It works

Re: Servlet Resolution

2008-11-27 Thread Juan José Vázquez Delgado
+1. I think this is a possibly very common use case. BR, Juanjo. On Wed, Nov 26, 2008 at 10:39 PM, Felix Meschberger <[EMAIL PROTECTED]>wrote: > Hi all, > > After the big reorganization of servlet resolution in April of this year > and some more experiences with using Sling, I propose the exten

Re: Upgrade to Jackrabbit 1.5 (was: user management)

2008-12-12 Thread Juan José Vázquez Delgado
> > Now that the Jackrabbit project has released 1.5 which contains a lot of >> new functionality and even initial implementation of JSR-283 >> functionality, it would probably good to upgrade our Jackrabbit >> dependencies to 1.5. >> > > +1 > BR, Juanjo

Re: Sling Release

2009-01-07 Thread Juan José Vázquez Delgado
+1 BR, Juanjo. On Tue, Jan 6, 2009 at 12:38 PM, Felix Meschberger wrote: > Hi all, > > > After all the enhancements and bugfixes to Sling in the last months > since the first release, I think it is about time to consider a new > release. > > I think we should push forward the release in a few s

Re: Re: Since sling is support ing for jackrabbit 1.5 why doesn't providehttp api for user manager?

2009-01-08 Thread Juan José Vázquez Delgado
You could use an external repository.xml config file and an optional external root directory for your jackrabbit repository. It´s not necessary you modify the sling code. Have a look to [1]. BR, Juanjo [1] https://issues.apache.org/jira/browse/SLING-739 On Thu, Jan 8, 2009 at 4:54 PM, yanshaoz

Re: Since sling is support ing for jackrabbit 1.5 why doesn't providehttp api for user manager?

2009-01-08 Thread Juan José Vázquez Delgado
I think could be a good idea. +1 Juanjo On Thu, Jan 8, 2009 at 5:23 PM, Felix Meschberger wrote: > Hmm, I wonder, whether we should not change the default configuration of > the jackrabbit-server bundle to use the below setup instead of our > current Simple non-secured setup. > > WDYT ? > > Reg

Re: Since sling is support ing for jackrabbit 1.5 why doesn't provide http api for user manager?

2009-01-09 Thread Juan José Vázquez Delgado
The patch has been aplied in revision 732981. Please report any issues. BR, Juanjo. I've created a utility class that wraps up all this messy code - I'll open > an issue & submit the patch now. > > Regards, > Rory

Re: Public snapshots

2009-01-10 Thread Juan José Vázquez Delgado
Hi Felix, Do you have a need for such snapshots ? > Yes, at least until next release. There will be possible?. Thanks, BR, Juanjo.

Re: create new node

2009-01-12 Thread Juan José Vázquez Delgado
Hi Francisco, javax.jcr.nodetype.ConstraintViolationException: no definition found in > parent node's node type for new node: no matching child node definition > found for {}a: no matching child node definition found for {}a > Node "/sling/content" should be a "nt:unstructured" node. Is "/sling/

Re: HELP!!! Sling webapp on Tomcat5

2009-01-12 Thread Juan José Vázquez Delgado
Hi Jason, I am trying to run sling 5 webapp from the trunk build on tomcat 5 and > cannot even get the webconsole to come up. i thought the webapp in the > launchpad was suppose to be a standalone app? > what am i doing wrong? Exactly. Just, paste the Sling webapp launchpad [1] into webapps tomc

Re: HELP!!! Sling webapp on Tomcat5

2009-01-12 Thread Juan José Vázquez Delgado
> what url do you use to access the console? > http://localhost:8080/org.apache.sling.launchpad.webapp-5-incubator-SNAPSHOT/system/console/bundles BR, Juanjo.

Initialization of properties in OSGi service

2009-01-13 Thread Juan José Vázquez Delgado
Thanks Bertrand. On the other hand, I´d like to be able to set the default value programatically too. That is, the first value in console should be a programatically set one. Is that possible with a similar configuration?. Thanks in advance, BR, Juanjo.

Re: Initialization of properties in OSGi service

2009-01-13 Thread Juan José Vázquez Delgado
Thanks. > Basically, you access the properties from the ComponentContext you get > in the activate method by calling the ComponentContext.getProperties() > method. This returns you all the properties, which you have set > "programmatically", i.e. the default values, as well as the configured > va

Re: Initialization of properties in OSGi service

2009-01-13 Thread Juan José Vázquez Delgado
> > And if you want that dynamic default value to appear in the OSGi > console, you have to update the config yourself as well, right? > Something like the jcr/jackrabbit-client Activator's > verifyConfiguration method does. > > -Bertrand > I have tried this: protected void activate(ComponentCont

Re: Updating the Felix Framework used to launch Sling

2009-01-14 Thread Juan José Vázquez Delgado
Cool stuff, +1 BR, Juanjo. On Wed, Jan 14, 2009 at 10:03 AM, Felix Meschberger wrote: > Hi, > > Bertrand Delacretaz schrieb: > > On Tue, Jan 13, 2009 at 8:01 PM, Carsten Ziegeler > wrote: > >> Excellent stuff!!! > >> > >> I think we should move this to trunk. > > > > +1 (assuming integration

Re: Control User

2009-01-14 Thread Juan José Vázquez Delgado
> Sling uses the underyling JCR Repository for authentication and access > control. So you manage the users and their rights directly in the > repository. > This idea is summarized in [1]. > > By default Sling comes with the Apache Jackrabbit implementation, which > recently (starting with 1.5)

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.

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.

Re: web.xml in webapp only contains

2009-01-25 Thread Juan José Vázquez Delgado
Hi Pontus, > Is it just my setup that is failing or does the current trunk produce a > web.xml in launchpad.webapp that only contains when > building? Works for me: Rev. 737512 Mac OS X 10.5.6 JRE 1.6.0_07 Any error log entries?. 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 > en

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.

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 it

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

2009-02-10 Thread Juan José Vázquez Delgado
Thanks for your smart response. > I think your approach is very lightweight (which is good) and > straightforward. That´s right. My goal was having a sample as much as simple as possible. > The problem I see, is that you actually need two > resources (you don't need a Node if you do resource.ada

Re: Pipeline support

2009-02-10 Thread Juan José Vázquez Delgado
> However whereas this is one important use case I see another use case > where I simply want to "run" a pipeline on generated output of some > script like for doing link checking or doing other general purpuse stuff. Until now, I have just been thinking about XSL based transformers acting over ge

Re: Pipeline support

2009-02-10 Thread Juan José Vázquez Delgado
>> On the other hand, IMHO the datasources would be into the "content >> resource" as properties (/a/b/data in your proposal). > > I fear, I do not understand this sentence. Sorry, I mean, I don´t know if all data you need in order to compose the first XML (pipeline generator) would be resource´s

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 r

Re: option overwrite:=true

2009-02-17 Thread Juan José Vázquez Delgado
Hi Vladislav, > hi, I have this in my pom.xml: > > > org.apache.felix > maven-bundle-plugin > true > > > > initial-content;overwrite:=true > >

Re: option overwrite:=true

2009-02-17 Thread Juan José Vázquez Delgado
> Ok, no problem. For which component? JCR ContentLoader

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.

Re: [VOTE] Source Tree Restructuring

2009-02-18 Thread Juan José Vázquez Delgado
> we recently discussed the new structure for our source tree. To finalize > this, I'll start this vote (lazy consensus applies). +1 BR; Juanjo.

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 *;resolution:=optional > for that bundle and the following code. > > accessController = AccessControlUtil.getAcc

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: [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: http://www.w3.org/ns/xproc";>

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

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

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

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

Re: StarResource.adaptTo(Node.class)

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

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: http://www.w3.org/ns/xproc";>                                                       2. The pipeline (xpl fil

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 extracte

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

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

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

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 h

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

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 t

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

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

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 bo

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 t

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

2009-03-20 Thread Juan José Vázquez Delgado
> Hmm.  I don't know what is different. It seems to work for me.  I just > checked out the latest code to an empty folder and ran a clean build and I > got this result from the integration tests: > > Tests run: 235, Failures: 0, Errors: 0, Skipped: 0 >> > > And then I applied the "accessManager_pat

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: Sling with Pax > 0.2.3 does not work?

2009-03-24 Thread Juan José Vázquez Delgado
Hi Sebastián, > 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

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 ha

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 followin

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

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 wrote: > Hi, > > Vidar Ramdal has been active on the Sling mailing list since January > 2008, has made sustained contributions of good code in the las

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 t

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 matt

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 i

  1   2   >