Re: Using jcr:path more than once in a query

2007-11-26 Thread Marcel Reutegger
sbarriba wrote: Has anyone hit issues with running a query like select * from acme:Object where jcr:path LIKE '/home/folder1/%' or jcr:path LIKE '/home/folder2/%' jackrabbit does not support these kind of queries. Using SQL in jackrabbit you can basically restrict the scope to the

RE: The state of WebDAV Clients

2007-11-26 Thread Darren Hartford
My understanding is as follows: There exists a WebDAV client with Jackrabbit, but I do not mean the SPI approach, but rather the org.apache.jackrabbit.webdav package mentioned here which is similar to Slide Webdav client: http://wiki.apache.org/jackrabbit/WebDAV. The VFS approach someone

Re: The state of WebDAV Clients

2007-11-26 Thread Kristian Rink
Am Mon, 26 Nov 2007 07:01:34 -0800 schrieb Mike Oliver [EMAIL PROTECTED]: That WebDAV client code in Slide has been used by itself for lots of other projects and even as a poor man's API into a WebDAV repository like SharePoint. This would indeed be desirable. There's a working generic client

Re: The state of WebDAV Clients

2007-11-26 Thread Chris Dail
On Nov 26, 2007 11:01 AM, Mike Oliver [EMAIL PROTECTED] wrote: As a committer on Slide, I can say there have been many such conversations on moving the WebDAV client out and into its own project where it can be used to serve many other projects. I think this is a great idea and a real

RE: The state of WebDAV Clients

2007-11-26 Thread ossfwot
Hello Chris, JackRabbit does not currently have a WebDAV client implementation according to this post (http://www.nabble.com/Webdav-Client-Examples--tf4803755.html#a13852979). The way I read this post, they have the implementation. It is just not released as a separate component. The

Re: How to covert string to legal node name?

2007-11-26 Thread Brian Thompson
In my application, I implemented a custom search/replace method to filter out illegal characters. It's pretty simple to write, so I didn't spend much time looking for a library method to handle it. AFAIK, the Jackrabbit API doesn't address this issue. I could be wrong, though (correct me if I'm

Re: Sharing a Session or a Session per web user

2007-11-26 Thread Alexandru Popescu ☀
On Nov 26, 2007 4:27 PM, qcfireball [EMAIL PROTECTED] wrote: I did a small test - 2 Threads each retrieving a property from different Nodes 100 times each. This executed without Exception. I may try a more elaborate test than this. Question: what is the maximum number of concurrent

Re: The state of WebDAV Clients

2007-11-26 Thread Chris Dail
Has there been any though in starting an Apache Commons project to provide WebDAV support? Not as a Commons project, but it was discussed as a part of HttpComponents. The most recent discussion took place on [EMAIL PROTECTED]:

Re: How to covert string to legal node name?

2007-11-26 Thread Jukka Zitting
Hi, On Nov 26, 2007 5:44 PM, Brian Thompson [EMAIL PROTECTED] wrote: In my application, I implemented a custom search/replace method to filter out illegal characters. It's pretty simple to write, so I didn't spend much time looking for a library method to handle it. AFAIK, the Jackrabbit API

Re: Sharing a Session or a Session per web user

2007-11-26 Thread Jukka Zitting
Hi, On Nov 21, 2007 6:15 PM, Paco Avila [EMAIL PROTECTED] wrote: Our application using Jackrabbit is an Document Management System (OpenKM). Actually we prevent an user log into the web aplication twice, so there is only one Jackrabbit Session per web user. Note that binding a JCR session to

Re: The state of WebDAV Clients

2007-11-26 Thread Jukka Zitting
Hi, On Nov 26, 2007 5:42 PM, [EMAIL PROTECTED] wrote: The best starting point for now would be the Jackrabbit client code that is just waiting for somebody to release it. The code is available in a release as a part of the jackrabbit-webdav component, but the client code is just a part of

RE: The state of WebDAV Clients

2007-11-26 Thread Mike Oliver
Kristian, That's two, I have strong experience with the Slide WebDAV client, having used it on several other projects but I too am new to JackRabbit. We need a volunteer from the JackRabbit team and perhaps a volunteer from the Commons before we can make a proposal. Ollie -Original

Re: Sharing a Session or a Session per web user

2007-11-26 Thread qcfireball
Running a test of a thousand iterations, creating and maintaining a reference to 1 Session per iteration, I found that a Session incurs approximately a 864 byte load. Very very small, definately an insignificant load. Creating many Session Objects will not be a problem. Alexandru Popescu ☀

Re: The state of WebDAV Clients

2007-11-26 Thread Michael Wechner
Jukka Zitting wrote: Hi, On Nov 26, 2007 7:13 PM, Ard Schrijvers [EMAIL PROTECTED] wrote: I just read this thread where they discuus merging WebDav client from slide and HttpComponents into a new TLP [1]. I don't know the current status. There's been lots of such discussions, both

Re: How to covert string to legal node name?

2007-11-26 Thread Alexandre Martins
Maybe it can help you, /** * Creates a valid jcr label from the given one * * @param label * @return */ private static String makeValidJCRPath(String label, boolean appendLeadingSlash) { if (appendLeadingSlash !label.startsWith(/)) { label = / +

Index Filters dependencies

2007-11-26 Thread Michael Wechner
Hi After digging sometime through the Maven repo I figured out that the Index Filters are part of the package http://repo1.maven.org/maven2/org/apache/jackrabbit/jackrabbit-index-filters/1.2.3/ such as for instance the HTMLTextFilter During download I have seen that this package depends on