[jira] Commented: (JCR-442) Implement a backup tool

2006-07-27 Thread Jukka Zitting (JIRA)
[ http://issues.apache.org/jira/browse/JCR-442?page=comments#action_12423777 ] Jukka Zitting commented on JCR-442: --- Thanks for the update! c/ Maybe we should add an external tool session instead of sharing a session with JR internals. What

[jira] Resolved: (JCR-495) TCK: SessionReadMethodsTest#testIsLive calls logout() more than once

2006-07-27 Thread Marcel Reutegger (JIRA)
[ http://issues.apache.org/jira/browse/JCR-495?page=all ] Marcel Reutegger resolved JCR-495. -- Fix Version/s: 1.1 Resolution: Fixed Fixed as suggested in revision: 425994 Thank you for reporting this issue. TCK:

[jira] Resolved: (JCR-496) TCK: PropertyDefTest and NodeDefTest do not respect the value of the testroot configuration property

2006-07-27 Thread Marcel Reutegger (JIRA)
[ http://issues.apache.org/jira/browse/JCR-496?page=all ] Marcel Reutegger resolved JCR-496. -- Fix Version/s: 1.1 Resolution: Fixed Fixed by re-assigning the testRootNode and using that Node for the starting point of the tree traversal. svn

[jira] Created: (JCR-515) Enhance test data

2006-07-27 Thread Marcel Reutegger (JIRA)
Enhance test data - Key: JCR-515 URL: http://issues.apache.org/jira/browse/JCR-515 Project: Jackrabbit Issue Type: Improvement Components: test Environment: svn revision: 426000 Reporter:

Re: Re-using the query parsers outside Jackrabbit

2006-07-27 Thread Jukka Zitting
Hi, On 7/27/06, Tobias Bocanegra [EMAIL PROTECTED] wrote: regarding the jcr name constants in QName: i would loved to move them out of the QName class to some interfaces: +1 BR, Jukka Zitting -- Yukatan - http://yukatan.fi/ - [EMAIL PROTECTED] Software craftsmanship, JCR consulting, and

Re: Re-using the query parsers outside Jackrabbit

2006-07-27 Thread Julian Reschke
Jukka Zitting schrieb: Hi, On 7/27/06, Marcel Reutegger [EMAIL PROTECTED] wrote: I'm ok with putting the namespace and default prefix constants in QName. But only for namespaces that are final and that's exactly the problem with the xpath-functions namespace. Good point. Another alternative

[jira] Updated: (JCR-516) remove dependencies of XPathQueryBuilder on core Jackrabbit code

2006-07-27 Thread Julian Reschke (JIRA)
[ http://issues.apache.org/jira/browse/JCR-516?page=all ] Julian Reschke updated JCR-516: --- Attachment: patch-JCR-516.txt Proposed patch. remove dependencies of XPathQueryBuilder on core Jackrabbit code

Re: [jira] Commented: (JCR-442) Implement a backup tool

2006-07-27 Thread Nicolas
Hi Jukka, c: If you are OK on this, I will create a getExternalSession() class in RepositoryImpl. This session will be used for all external application (backup, access manager and so on). The external session will have the same rights as a SystemSession. It would allow us to isolate two

Re: [jira] Commented: (JCR-442) Implement a backup tool

2006-07-27 Thread Tobias Bocanegra
c: If you are OK on this, I will create a getExternalSession() class in RepositoryImpl. This session will be used for all external application (backup, access manager and so on). The external session will have the same rights as a SystemSession. It would allow us to isolate two different class of

Re: [jira] Commented: (JCR-442) Implement a backup tool

2006-07-27 Thread Nicolas
Hi Tobias, I would prefer avoid a proper login, since it means we would have to create a user to backup. On a second thoughts, all backup software are working like this... I'll do a proper login. I'll add some parameters in the command line interface in order to be able to log in. Nico On

Re: [jira] Commented: (JCR-442) Implement a backup tool

2006-07-27 Thread Jukka Zitting
Hi, On 7/27/06, Nicolas [EMAIL PROTECTED] wrote: c: If you are OK on this, I will create a getExternalSession() class in RepositoryImpl. This session will be used for all external application (backup, access manager and so on). The external session will have the same rights as a SystemSession.

Re: Backupping the VersionHistory

2006-07-27 Thread Nicolas
Hi Jukka, Copying all workspaces into another repository was the initial idea. I changed my approach because of the data format issue: it is possible a PM switch format and break backward compatibility where the export system view will be always valid. The export system view will be compressed

Re: Re-using the query parsers outside Jackrabbit

2006-07-27 Thread Marcel Reutegger
Jukka Zitting wrote: A better upgrade path would probably be to detect a previous fn namespace mapping and remap it as fn2004 - http://www.w3.org/2004/10/xpath-functions; or as fn2005 - http://www.w3.org/2005/xpath-functions; before mapping fn - http://www.w3.org/2006/xpath-functions;. +1

XPath query parser issue?

2006-07-27 Thread Julian Reschke
Hi, I was playing around with the QueryNode trees generated by the Xpath parser. What I found is that they seem to be the same for /a/b and /a | /b (confirmed by QueryParser.toString(node, xpath, nsresolver), which in both cases produces /a/b). This is a bug, right? Best regards, Julian

COMPUTE for onParentVersion

2006-07-27 Thread hsp
Hi; I've searched in forum the following post: http://www.nabble.com/OnParentVersion-meaning-in-JackRabbit---tf7772.html#a21946 Hi all, I'm wondering about the meaning and the use cases of the OnParentVersion attribute on Nodes and Properties in JackRabbit, in particular concerning

ExportSystemView Question

2006-07-27 Thread Nicolas
Hi, I am currently looking at the code of the exportSystemView method. On the class called is SysViewSAXEventGenerator. In it, you find: /** * [EMAIL PROTECTED] */ protected void enteringProperties(Node node, int level) throws RepositoryException, SAXException { //

[jira] Commented: (JCR-442) Implement a backup tool

2006-07-27 Thread Nicolas Toper (JIRA)
[ http://issues.apache.org/jira/browse/JCR-442?page=comments#action_12423945 ] Nicolas Toper commented on JCR-442: --- Hi, The first part of the project is completed!!! Backup is working just fine :) I am posting all patches ASAP. I am waiting

[jira] Updated: (JCR-442) Implement a backup tool

2006-07-27 Thread Nicolas Toper (JIRA)
[ http://issues.apache.org/jira/browse/JCR-442?page=all ] Nicolas Toper updated JCR-442: -- Attachment: patch-backup-060728.txt Working backup operation + relevant test case. No new classes added. A lot of issues remain: mostly documentation and code

[jira] Updated: (JCR-519) Missing support for some general relations in QueryTreeDump and xpath.QueryFormat

2006-07-27 Thread Julian Reschke (JIRA)
[ http://issues.apache.org/jira/browse/JCR-519?page=all ] Julian Reschke updated JCR-519: --- Attachment: patch-JCR-519.txt (proposed patch) Missing support for some general relations in QueryTreeDump and xpath.QueryFormat