[ANNOUNCE] Apache Jackrabbit FileVault Package Maven Plugin 1.0.4 released

2019-07-19 Thread Tobias Bocanegra
The Apache Jackrabbit community is pleased to announce the release of Apache Jackrabbit FileVault Package Maven Plugin $version. The release is available for download at: http://jackrabbit.apache.org/jcr/downloads.html#vltplg See the full release notes below for details about this release:

[ANNOUNCE] Apache Jackrabbit FileVault 3.2.8 released

2019-03-21 Thread Tobias Bocanegra
The Apache Jackrabbit community is pleased to announce the release of Apache Jackrabbit FileVault 3.2.8 The release is available for download at: http://jackrabbit.apache.org/downloads.html See the full release notes below for details about this release:

[ANNOUNCE] Apache Jackrabbit FileVault 3.2.6 released

2018-11-29 Thread Tobias Bocanegra
The Apache Jackrabbit community is pleased to announce the release of Apache Jackrabbit FileVault 3.2.6 The release is available for download at: http://jackrabbit.apache.org/downloads.html See the full release notes below for details about this release:

[ANNOUNCE] Apache Jackrabbit FileVault 3.2.4 released

2018-09-27 Thread Tobias Bocanegra
The Apache Jackrabbit community is pleased to announce the release of Apache Jackrabbit FileVault 3.2.4 The release is available for download at: http://jackrabbit.apache.org/downloads.html See the full release notes below for details about this release:

[ANNOUNCE] Apache Jackrabbit FileVault Package Maven Plugin 1.0.3 released

2018-09-04 Thread Tobias Bocanegra
The Apache Jackrabbit community is pleased to announce the release of Apache Jackrabbit FileVault Package Maven Plugin 1.0.3. The release is available for download at: http://jackrabbit.apache.org/jcr/downloads.html#vltplg See the full release notes below for details about this release:

[ANNOUNCE] Apache Jackrabbit FileVault 3.2.0 released

2018-08-09 Thread Tobias Bocanegra
The Apache Jackrabbit community is pleased to announce the release of Apache Jackrabbit FileVault 3.2.0. The release is available for download at: http://jackrabbit.apache.org/downloads.html See the full release notes below for details about this release:

[ANNOUNCE] Apache Jackrabbit FileVault 3.1.44 released

2018-02-24 Thread Tobias Bocanegra
The Apache Jackrabbit community is pleased to announce the release of Apache Jackrabbit FileVault 3.1.44. The release is available for download at: http://jackrabbit.apache.org/jcr/downloads.html#vlt See the full release notes below for details about this release: Release Notes -- Apache

[ANNOUNCE] Apache Jackrabbit FileVault Package Maven Plugin 1.01 released

2017-12-20 Thread Tobias Bocanegra
The Apache Jackrabbit community is pleased to announce the release of Apache Jackrabbit FileVault Package Maven Plugin $version. The release is available for download at: http://jackrabbit.apache.org/jcr/downloads.html#vltplg See the full release notes below for details about this release:

[ANNOUNCE] Apache Jackrabbit FileVault 3.1.42 released

2017-11-13 Thread Tobias Bocanegra
The Apache Jackrabbit community is pleased to announce the release of Apache Jackrabbit FileVault 3.1.42. The release is available for download at: http://jackrabbit.apache.org/jcr/downloads.html#vlt See the full release notes below for details about this release: Release Notes -- Apache

[ANNOUNCE] Apache Jackrabbit FileVault Package Maven Plugin 1.0.0 released

2017-10-29 Thread Tobias Bocanegra
The Apache Jackrabbit community is pleased to announce the release of Apache Jackrabbit FileVault Package Maven Plugin 1.0.0. The release is available for download at: http://jackrabbit.apache.org/jcr/downloads.html#vltplg See the full release notes below for details about this release:

Re: [vlt] Rules for interpreting .vltignore

2014-05-16 Thread Tobias Bocanegra
hi, On Fri, May 16, 2014 at 6:01 AM, Robert Munteanu romb...@apache.org wrote: Hi, I want to double-check two things about the contents of .vltignore files. 1. Are the paths contained in a .vltignore file repository or filesystem paths? filesystem 2. Does the .vltignore apply for all

Re: javax.jcr.PathNotFoundException for node with character '|' in name

2014-05-13 Thread Tobias Bocanegra
Hi, well, '|' is an invalid character by the JCR spec: InvalidChar ::= '/' | ':' | '[' | ']' | '|' | '*' so I wonder how you created this node :-) but maybe you can iterate over the childnodes, do a string-compare of the name and then do a node.remove(), eg: for (NodeIterator iter =

Re: javax.jcr.PathNotFoundException for node with character '|' in name

2014-05-12 Thread Tobias Bocanegra
So you're saying that: session.nodeExists(parentNode.getNodes().nextNode().getPath()); returns false? (assuming your '|' node is the first node in the iteration) regards, toby On Fri, May 9, 2014 at 5:55 AM, hsp piccina...@ibest.com.br wrote: Hi; There is a node in our repository, with name

Re: How to delete/remove a file under Node?

2014-04-29 Thread Tobias Bocanegra
Hi, On Tue, Apr 29, 2014 at 5:31 AM, AshokBS asidda...@altimetrik.com wrote: Thanks Michael :) I will try this and let you know. I was interested only in removing the files under a node, but not the node itself. theNode.getNode(file1).remove(); theNode.getSession().save(); regards, toby

Re: remote user management over webdav

2014-04-14 Thread Tobias Bocanegra
Hi, IIRC, the only way to remotely manage users is to use davex and sysview import to create the nodes. regards, toby On Mon, Apr 14, 2014 at 3:34 AM, Torgeir Veimo torgeir.ve...@gmail.com wrote: Are there any best practices regarding creating users on a remote jackrabbit repository? --

Re: Exception in adding mixin with same name property

2014-02-27 Thread Tobias Bocanegra
can you provide the CND of the 2 mixins? regards, toby On Thu, Feb 27, 2014 at 10:08 AM, hsp piccina...@ibest.com.br wrote: Hi, I am facing a situation where when adding a mixin to a node raises a exception: javax.jcr.nodetype.ConstraintViolationException: The property definition for

Re: Exception in adding mixin with same name property

2014-02-27 Thread Tobias Bocanegra
Hi, I see, IMO it should work, since both property definitions are equal. however, I think that Lukas' suggestion is better to solve the problem with inheritance. regards, toby On Thu, Feb 27, 2014 at 11:20 AM, hsp piccina...@ibest.com.br wrote: I defined node types always with xml, basically

Re: Group membership is not honoured?

2013-12-12 Thread Tobias Bocanegra
Hi Anjan, I don't really see how the ACL is setup. can you export a JSON dump of the respective rep:policy node? everyone does not have a special priority, the order of the ACEs is important. regards, toby On Thu, Dec 12, 2013 at 2:32 AM, anjan poliset...@gmail.com wrote: To further update,

Re: Group membership is not honoured?

2013-12-12 Thread Tobias Bocanegra
so when I format it a bit nicer: then /content/child has: Managers: { denied: [ jcr:removeNode, jcr:modifyAccessControl, jcr:versionManagement, jcr:nodeTypeManagement, jcr:modifyProperties, jcr:addChildNodes

Re: Timeline for a FileVault release

2013-09-24 Thread Tobias Bocanegra
Hi Ate, On Tue, Sep 24, 2013 at 3:59 PM, Ate Douma a...@douma.nu wrote: On 09/23/2013 07:24 AM, Tobias Bocanegra wrote: Hi Robert, sorry for the delay - I was on vacation. But I was also waiting for the new JIRA project for filevault to be created. apparently it takes some time :-) I

Re: Timeline for a FileVault release

2013-09-22 Thread Tobias Bocanegra
Hi Robert, sorry for the delay - I was on vacation. But I was also waiting for the new JIRA project for filevault to be created. apparently it takes some time :-) I will go ahead and create the 3.0 release asap this week. Regards, Toby On Fri, Sep 6, 2013 at 2:32 AM, Robert Munteanu

Re: [filevault] Serializing nodes to XML

2013-08-18 Thread Tobias Bocanegra
Hi Robert, the serialization depends on the artifacts of the aggregate. Generic nodes are represented in SerializerArtifacts, which use the DocViewSerializer which use the DocViewSAXFormatter. So DocViewSAXFormatter is probably what you're looking for. Note, there is also a customized

Re: Can't move node - AccessDeniedException

2013-08-13 Thread Tobias Bocanegra
Hi, the subject for the session is calculated on login. in your case, bob does not have the 'group' principal in his session, thus not having the permissions added for that group. AFAIK, the only way is to re-login. you can try to clone the session, by impersonating the user to himself - but I

Re: Problem Retrieve a file with webdav

2012-01-16 Thread Tobias Bocanegra
Hi, what's the exception that is thrown? -- toby On Mon, Jan 16, 2012 at 3:38 AM, Bruno Vaz de Melo Rodrigues brunovazdem...@gmail.com wrote: I put a file in jackrabbit workspace using webdav, but i can't retrieve this file. I try this: public byte[] readFile(WebDavServerConfig serverConfig,

Re: Node.remove()

2012-01-12 Thread Tobias Bocanegra
Hi, as i wrote on a another thread, you need to remove the node or at least make it non-versionable by removing the mix:versionable mixin, before you can remove the version that is referenced through the base version property. something like: VersionHistory vh = node.getVersionHistory();

Re: make the default root primary node type configurable

2012-01-12 Thread Tobias Bocanegra
Hi, I suggest you simply create your own root, for example put all your stuff below '/content'. this ways you can control all you need. regards, toby On Thu, Dec 8, 2011 at 10:30 AM, Lukas Kahwe Smith m...@pooteeweet.org wrote: Hi, I am wondering if it would make sense to allow users to

Re: Setting permissions

2011-09-19 Thread Tobias Bocanegra
: Principal sol3 does not exist. exception). Is there something i am missing? Thanks in advance for your attention! 2011/9/17 Tobias Bocanegra tri...@adobe.com hi francisco, if you are using normal resource based ACLs you can manage them with the provided interfaces. example to grant all

Re: Setting permissions

2011-09-17 Thread Tobias Bocanegra
hi francisco, if you are using normal resource based ACLs you can manage them with the provided interfaces. example to grant all rights to everyone: AccessControlManager aMgr = session.getAccessControlManager(); Privilege[] privileges = new

Re: DavEx Remoting Performance

2011-06-21 Thread Tobias Bocanegra
hi, Sc-write - 80 concurrent users : the run is interrupted by an overload of many threads running changePolling method be sure to logout the session after the test - otherwise the change polling thread will never stop. there is also work in progress to only create the thread on demand [0].

Re: DavEx Remoting Performance

2011-06-17 Thread Tobias Bocanegra
hi chad, i'm not 100% sure, but i think there is only 1 connection openend per client repository. all session traffic is then using the same connection. iirc, this was an optimization, so that no new connections were made for each new session. but i agree, that this might harm performance with a

Re: DavEx Remoting Performance

2011-06-17 Thread Tobias Bocanegra
chadmichaelda...@gmail.com wrote: On Fri, Jun 17, 2011 at 2:33 PM, Tobias Bocanegra tri...@adobe.com wrote: hi chad, i'm not 100% sure, but i think there is only 1 connection openend per client repository. all session traffic is then using the same connection. iirc, this was an optimization, so

Re: Session Question

2011-06-08 Thread Tobias Bocanegra
hi, i tested it with jackrabbit 2.2.5 and 2.2.6 and i always get 'true', 'true'. but with this test case: @Test public void addTest() throws RepositoryException { TransientRepository repo = new TransientRepository(); System.out.println(Version: +

Re: Shareable nodes and access control

2010-07-27 Thread Tobias Bocanegra
hi, On Mon, Jul 26, 2010 at 1:12 PM, Ard Schrijvers a.schrijv...@onehippo.com wrote: Hello, From the spec jsr-283 I cannot get my head around one thing: * What is the expected behaviour of modifying child nodes of shared nodes, when you are not allowed to read the child nodes of one of the

Re: Cancel checkout

2010-06-09 Thread Tobias Bocanegra
hi, restoring the base version is the proper way to cancel a checkout. i quickly tested it and it works. restore never creates a version (unless you are doing simple versioning). if this does not work for you, please create a jira issue, and optionally a test case. regards, toby On Wed, Jun 9,

Re: moving node and versioning

2010-04-26 Thread Tobias Bocanegra
hi, when moving a node (i.e. Workspace or session move) or when cloning a node to another workspace, it's uuid stays the same, thus referencing the same version history. only if you workspace.copy a node to another workspace, it will get a new uuid and get a new version history. this behavior is

Re: after deleting version, name is unexpected

2010-04-22 Thread Tobias Bocanegra
hi, i don't really understand what you try to accomplish. the version names can currently not be controlled via jcr but are generated automatically. if you need user defined names, use version labels. regards, toby On Thu, Apr 22, 2010 at 10:43 PM, Cinnamon Scudworth principalscudwo...@gmail.com

Re: Missing examples in node type notation page?

2010-04-21 Thread Tobias Bocanegra
you're right. they are gone !? On Wed, Apr 21, 2010 at 10:07 PM, Mathieu Baudier mbaud...@argeo.org wrote: Hello, I have the feeling that examples are suddenly missing from the node type notation page: http://jackrabbit.apache.org/node-type-notation.html I am using Firefox 3.5.9 on Ubuntu

Re: Recursive child versioning

2010-03-26 Thread Tobias Bocanegra
hi, that is not entirely true. if you checkin A, then B (and the entire subtree is copied, since B is not versionable (irrespective of the OPV of B). 3.13.9 Versionable State [...] 5. For each child node C of N where • C has an OPV of COPY, a copy of the entire subgraph rooted at C

Re: Recursive child versioning

2010-03-26 Thread Tobias Bocanegra
, Davide On Fri, Mar 26, 2010 at 2:05 PM, Tobias Bocanegra tri...@day.com wrote: hi, that is not entirely true. if you checkin A, then B (and the entire subtree is copied, since B is not versionable (irrespective of the OPV of B). 3.13.9 Versionable State [...] 5. For each child node C

Re: mix:etag

2010-02-02 Thread Tobias Bocanegra
hi, no, it's not implemented - i.e. it's not auto computed by the repository, yet. regards, toby On Tue, Feb 2, 2010 at 2:21 PM, Philipp Bunge b...@crimson.ch wrote: Hi Is mix:etag implemented in 2.0.0? JCR-2116 suggests it should be, but I always receive an empty string () as the etag.

Re: looking for versioning and branching documentation or tests

2009-12-02 Thread Tobias Bocanegra
Hi, a branch is created when you perform a checkin on a node that has a base version which has successors. for example, if you have: v1.0 - v1.1 - v1.2 - v1.3 and you restore the node to v1.2 (i.e. set it's base version to 1.2), and then checkout, checkin, a new version v1.2.1 is created, which

Re: David's Model question : nt:unstructured and SNS

2009-11-13 Thread Tobias Bocanegra
hi, 2009/11/13 François Cassistat f...@maya-systems.com: David's Model gives good advices and I already followed his suggestions. However, there is something I don't understand. He says Learn to love nt:unstructured ( friends) in development. (and I think he is right) and later, Beware of

Re: Ceckin/-out, Locking - Description and tests missing in the Spec/TCK

2009-11-02 Thread Tobias Bocanegra
On Mon, Nov 2, 2009 at 1:14 PM, Alexander Klimetschek aklim...@day.com wrote: On Sat, Oct 31, 2009 at 19:15, Daniel Manzke daniel.man...@googlemail.com wrote: My questions: Is checkin/-out user based? So that this is the checkin/-out like described in my example? No, it's not user based. It

Re: Version History

2009-11-02 Thread Tobias Bocanegra
hi, versions are shared amongst all workspaces. this is intentionally so that corresponding nodes can checkin/checkout/restore/merge from their common version. if you need/want to remember the versions origin, you need to set it manually on a property before your do the checkin. regards, toby On

Re: JackRabbit (implementation-specific) Node.lock() behaviour

2009-11-02 Thread Tobias Bocanegra
hi, jackrabbit does not unlock an open-scoped lock automatically. regards, toby On Mon, Nov 2, 2009 at 3:35 PM, Mihai Vasilache mihai_vasila...@yahoo.com wrote: Hello JackRabbit users! I am a little worried about some sentences in the JCR documentation about the open-scoped lock: 1. In the

Re: jcr:lastmodified property not accessible from frozenNode.

2009-10-28 Thread Tobias Bocanegra
hi, in JCR1.0 the jcr:lastModified of a nt:resource has a OPV=Ignore, which means, it is not versioned: [nt:resource] nt:base, mix:referenceable - jcr:encoding (string) - jcr:mimeType (string) mandatory - jcr:data (binary) primary mandatory - jcr:lastModified (date) mandatory ignore in

Re: Branching

2009-10-27 Thread Tobias Bocanegra
hi, On Tue, Oct 27, 2009 at 11:18 AM, Robin Batra robin.ba...@gmail.com wrote: Thanks a lot guys, finally i got the branching code working. now i am able to saparate the working of files in different branches. Thanks a lot once again. congratulations. One more thing if i want to merge the

Re: JCR name regexp

2009-10-27 Thread Tobias Bocanegra
well, sure. but i don't know it by heart :-) for quick validation use: org.apache.jackrabbit.spi.commons.conversion.NameParser.checkFormat(String jcrName) regards, toby On Tue, Oct 27, 2009 at 11:41 AM, Patrick Plaatje pplaa...@gmail.com wrote: Hi all, i was wondering if a regular

Re: Branching

2009-10-23 Thread Tobias Bocanegra
, Oct 23, 2009 at 1:36 AM, Tobias Bocanegra tri...@day.com wrote: hi, what exactly do you need to know ? the repository supports non-linear version histories. to create a branch you do the following: Assume you have a full versionable node N in workspace W and it's versions Vn. And a 2nd

Re: Branching

2009-10-22 Thread Tobias Bocanegra
hi, what exactly do you need to know ? the repository supports non-linear version histories. to create a branch you do the following: Assume you have a full versionable node N in workspace W and it's versions Vn. And a 2nd workspace W' with the corresponding node N' N.checkin() - V1.0

Re: should we have mixin type or add new non mandatory properties to the primary type node

2009-10-16 Thread Tobias Bocanegra
hi, i would add them as mixin, especially if the new properties belong to a new semantic group. if you just forgot to add some properties on the primary, i would just add them there. regards toby On Fri, Oct 16, 2009 at 5:03 AM, Vijay K Pandey vpan...@mdes.ms.gov wrote: Hello Users, We have

Re: Unlocking open-scoped lock in a web-application

2009-10-16 Thread Tobias Bocanegra
hi, you need to remember the lock token somewhere. for example in the http session. regards, toby On Fri, Oct 16, 2009 at 6:48 PM, Mohinder Singh msi...@swri.org wrote: In a http request the user locks a node (open-scoped and deep). In a subsequent request, the lock needs to be unlocked. The

Re: InternalError in UserAccessControlProvider

2009-08-27 Thread Tobias Bocanegra
On Thu, Aug 27, 2009 at 12:15 PM, Ian Bostoni...@tfd.co.uk wrote: On 27 Aug 2009, at 11:08, Stefan Guggisberg wrote: Is it anything to be concerned about ? without knowing the code in question, i think, yes. the code obviously assumes that this situation should never happen. however, if it

Re: API to cleanup dangling reference?

2009-07-21 Thread Tobias Bocanegra
hi, jackrabbit (1.6) has only property type REFERENCE, which are never dangling, i.e. the reference integrity is always enforced. jackrabbit 2.0 also supports the new property type WEAKREFERENCE which can be dangling - but there is no API foreseen to find or cleanup them, other than searching for

Re: Restore deleted node

2009-07-20 Thread Tobias Bocanegra
hi, of course you can restore a deleted node, using: Node.restore(Version version, String relPath, boolean removeExisting); the tricky part is to find the correct version. in order to do that, you can use the search or traverse the version storage. since a versionable node can be moved around

Re: Restore deleted node

2009-07-20 Thread Tobias Bocanegra
= session.getItem(/foo): n2.restore(bar, v1); regards, toby Tobias Bocanegra schrieb: hi, of course you can restore a deleted node, using: Node.restore(Version version, String relPath, boolean removeExisting); the tricky part is to find the correct version. in order to do that, you can use

Re: Restore version node without loosing versions

2009-07-16 Thread Tobias Bocanegra
hi, I have a node with version 1.1 and 1.2 and I want to restore 1.1. After calling node.restore(1.1), there is only 1.1 left and 1.2 is removed, e.g. Version restoreMe = node.getVersionHistory().getVersion(1.1); node.restore(restoreMe, false); this is not true (or should not be the case).

Re: problem attaching InputStream to jcr:data

2009-06-13 Thread Tobias Bocanegra
hi, your error: tomcat just throws an Exception - javax.servlet.ServletException: Servlet execution threw an exception is a bit vague. but i assume the next line: contentNode.setProperty(jcr:mimeType, content.getMimeType()); throws a NPE. maybe content.getMimeType() is null? further does:

Re: Migrate a versionable node to a hierachie node

2009-05-02 Thread Tobias Bocanegra
On Fri, May 1, 2009 at 6:08 PM, chokdee bowlingbi...@gmail.com wrote: Tobias Bocanegra-3 wrote: what about Node.removeMixin(mix:versionable) ? It doesn't work the mixin is defined as a supertypes of  the type I want to migrate. removeMixin throws an exception well, if you want

Re: Migrate a versionable node to a hierachie node

2009-05-01 Thread Tobias Bocanegra
what about Node.removeMixin(mix:versionable) ? regards, toby On Fri, May 1, 2009 at 10:31 AM, chokdee bowlingbi...@gmail.com wrote: Hello did someone changed a mix:versionable node to a 'normal' node? I did not find a solution other than creating a new one and move alle children to the

Re: questions about clone and restore

2009-04-17 Thread Tobias Bocanegra
hi Jeff, If I create a versionable node in one workspace and that node is subsequently modified multiple times in that workspace, is there any way to clone an earlier version of that node into another workspace? My understanding of the Workspace.clone method is that it always clones the

Re: How-To implement a CancelCheckout

2009-04-17 Thread Tobias Bocanegra
On Fri, Apr 17, 2009 at 3:05 PM, Daniel Manzke daniel.man...@googlemail.com wrote: Hi, how could I cancel the check out of a node? Due I have to use Node.restore? yes: node.restore(node.getBaseVersion()); regards, toby

Re: Support for ChangeSets?

2008-11-09 Thread Tobias Bocanegra
hi erik, On 11/9/08, Erik van Zijst [EMAIL PROTECTED] wrote: Hi folks, I'm evaluating JCR 1.0 (JackRabbit 1.4) primarily for its versioning support, but even after browsing the spec, I'm still not sure whether JCR supports the concept of a ChangeSet, where a changeset represents a

Re: David's Model and translation projects

2008-09-08 Thread Tobias Bocanegra
won't end doing things this way (actually, it is so far my personal choice), I just wanted to know if there was a way to do it in a way that conforms a bit more to David's rule #1. Thanks again. Tobias Bocanegra escribió: hi, it certainly depends on your intention

Re: David's Model and translation projects

2008-09-06 Thread Tobias Bocanegra
hi, it certainly depends on your intention, but having a folder for each language is imo the best approach. you might have other resources later (like images) that are language dependent that you can put in the folder. regards, toby On 9/6/08, Fabián Mandelbaum [EMAIL PROTECTED] wrote: Hello

Re: Question about ntd file (node type definition)

2008-08-06 Thread Tobias Bocanegra
hi, On 8/6/08, Pulla Venkat [EMAIL PROTECTED] wrote: Hi, I am using Node Type Notation. I want to use any node name but Node Type Notation is forcing to use a node name with prefix. ns='http://namespace.com/ns' [ns:NodeType]ns:ParentType1, ns:ParentType2 o m

Re: why an added node is checkedOut = true?

2008-07-30 Thread Tobias Bocanegra
the document because he have to perform a checkout-modification-checkin procedure. On Tue, Jul 29, 2008 at 2:38 PM, Tobias Bocanegra [EMAIL PROTECTED]wrote: On 7/28/08, Paco Avila [EMAIL PROTECTED] wrote: In my application, a document node is uploaded to the repository and cheked

Re: Can anyone explain me how to change version from 1.0 to 2.0

2008-07-30 Thread Tobias Bocanegra
you restore to the root version and then the next checkin will create 2.0. regards, toby On 7/30/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Whenever I am adding the revision version of the file . The version changes from 1.0 to 1.1 . But in some situation I want the version

Re: why an added node is checkedOut = true?

2008-07-29 Thread Tobias Bocanegra
by other users. and what is the problem right now? regards, toby On Mon, Jul 28, 2008 at 9:25 PM, Tobias Bocanegra [EMAIL PROTECTED]wrote: hi, the initial state of a versionable node is checked-out with a base version to the root version. the point is, that you cannot edit the node

Re: node versioning

2008-07-15 Thread Tobias Bocanegra
On 7/15/08, Richard Huddleston [EMAIL PROTECTED] wrote: I'm a little confused when reading the JCR spec in regards to versioning. I understand that a node's properties can be versioned, but what about the heirarchy of a node. That is, if I moved a node from parent A to parent B, how would

Re: Delete References Problem

2008-07-03 Thread Tobias Bocanegra
use: Node.getReferences() to find are properties that refer to this file. regards, toby On 7/3/08, Nick Stuart [EMAIL PROTECTED] wrote: I dont know if this is really an issue or not, but reading the API and the current behavior I think something is mixed. Fairly simple use case. I have a

Re: Delete References Problem

2008-07-03 Thread Tobias Bocanegra
= node.getReferences(); iter.hasNext(); iter.nextProperty().remove()); right? regards, toby -Nick On 7/3/08, Tobias Bocanegra [EMAIL PROTECTED] wrote: use: Node.getReferences() to find are properties that refer to this file. regards, toby On 7/3/08, Nick Stuart [EMAIL

Re: Nested workspaces

2008-06-12 Thread Tobias Bocanegra
On 6/12/08, Anil K. Kotha [EMAIL PROTECTED] wrote: Hi All, Shall we have nested workspaces in Jackarbbit? hi. can you elaborate this? currently there is no notion or mechanism of any kind of relationship between workspaces. what would be the benefit of it? regards, toby btw: there

Re: importXML() fails with a ConstraintViolationException

2008-05-28 Thread Tobias Bocanegra
On 5/28/08, Bertrand Delacretaz [EMAIL PROTECTED] wrote: On Wed, May 28, 2008 at 10:13 AM, Alexander Klimetschek [EMAIL PROTECTED] wrote: ...Jackrabbit has a limitation when you have many child nodes ( 1000) under one node - it will be quite slow then... I thought this was ten

Re: importXML() fails with a ConstraintViolationException

2008-05-28 Thread Tobias Bocanegra
On 5/28/08, Stefan Guggisberg [EMAIL PROTECTED] wrote: On Wed, May 28, 2008 at 10:13 AM, Alexander Klimetschek [EMAIL PROTECTED] wrote: Hi Frederic, in general using import/export XML (especially for larger XML chunks) is not the most efficient way to work with JCR. Using the API

Re: Assign null to a Date property

2008-05-24 Thread Tobias Bocanegra
On 5/24/08, Julian Reschke [EMAIL PROTECTED] wrote: Tobias Bocanegra wrote: ... // writing the property: if (date == null) { if (node.hasProperty(xyz)) { node.getProperty(xyz).remove(); } } else { node.setProperty(xyz, date); } ... ...which is equivalent

Re: Assign null to a Date property

2008-05-23 Thread Tobias Bocanegra
hi, you can't set null to a property. but you can remove it. so you code would be: // reading the property: Calendar date = null; if (node.hasProperty(xyz)) { date = node.getProperty(xyz).getDate(); } // writing the property: if (date == null) { if (node.hasProperty(xyz)) {

Re: Assign null to a Date property

2008-05-23 Thread Tobias Bocanegra
And, in the future could I save another date in that property? of course. -- toby

Re: Transient workspace#clone alternative

2008-05-13 Thread Tobias Bocanegra
On 5/13/08, Matej Knopp [EMAIL PROTECTED] wrote: On Tue, May 13, 2008 at 8:08 AM, Tobias Bocanegra [EMAIL PROTECTED] wrote: hi, On 5/13/08, Matej Knopp [EMAIL PROTECTED] wrote: Since workspace#clone works directly on persistent storage it's usage turned out to be very

Re: Accessing tiff file using webdav

2008-05-13 Thread Tobias Bocanegra
hi, i'm not sure, but maybe the folder should not have an extension? regards, toby On 5/13/08, Gandhirajan Natarajan [EMAIL PROTECTED] wrote: Hi, I am still facing this issue. Please help me out. I am trying to add a tiff file in 'default' workspace of Jackrabbit. And my code

Re: Version.revert()

2008-05-02 Thread Tobias Bocanegra
provide an example or test case, so we can reproduce your issue. regards, toby -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Bocanegra Sent: Thursday, May 01, 2008 3:13 PM To: users@jackrabbit.apache.org Subject: Re: Version.revert() hi

Re: getProperty and jcr:name

2008-04-29 Thread Tobias Bocanegra
missed. Thanks, Brett -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Bocanegra Sent: Tuesday, April 29, 2008 4:10 PM To: users@jackrabbit.apache.org Subject: Re: getProperty and jcr:name hi brett, i don't quite understand your

Re: Are the node types the root of evil ?

2008-04-14 Thread Tobias Bocanegra
it depends on the use case. but in general i agree that nt:unstructured is sufficient for most apps. the restriction that nodetypes can't be changed (reregistered) is a problem of jackrabbit which will be fixed soon. also the lack of altering the nodetypes of existing node is something that is

Re: Webdav AccessManager, canAccess(String workspaceName)

2008-03-31 Thread Tobias Bocanegra
canAccess() should be called during init() when logging into the repository. At this time a new access manager is created the access manager checks if access is allowed. -- Toby On 3/31/08, Sushil Vegad [EMAIL PROTECTED] wrote: Hello, We want to implement a custom access manager to check

Re: nt:folder allowSameNameSiblings and node names

2008-03-27 Thread Tobias Bocanegra
On 3/27/08, Dave Brosius [EMAIL PROTECTED] wrote: I read JCR-854, and see that nt:folder does not allow same name sibling (children), which i guess makes sense from a directory point of view. Originally this was fine as i used the name of the 'real' document as the name of the node, and

Re: Behaviour of Node.getPath()

2008-03-12 Thread Tobias Bocanegra
'). I've implemented a trivial workaround to just generate the path myself, but I thought I'd check whether this was the intended behaviour. Best wishes, Dean. -- - [EMAIL PROTECTED] --- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH

Re: Behaviour of Node.getPath()

2008-03-12 Thread Tobias Bocanegra
remember. but the first is the most severe problem. regards, toby -- - [EMAIL PROTECTED] --- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 --- http

Re: Problems disallowing same name siblings

2008-02-20 Thread Tobias Bocanegra
= sameNameSiblings=false supertypes supertypent:unstructured/supertype /supertypes /nodeType I'm guessing I'm doing something stupid. :-) - Dan Tobias Bocanegra wrote: hi, the SNS works on the defining node, not on the child. i.e. your galaxy:workspace must have the SNS=false

Re: FW: JSR170 support for the 'explicit checkout' model

2008-02-19 Thread Tobias Bocanegra
perhaps that this could be used, altho i wasn't able to get it to work the way i expected. Am i missing something obvious? How do you remove the checkout status of a Node without checkin? thanks, dave -- - [EMAIL PROTECTED] --- Tobias Bocanegra, Day

Re: removeProperty() ? is this possible.. if so how?

2008-01-23 Thread Tobias Bocanegra
Just realized that this can be done with callign setProperty with null as value... should have read javadoc :) the correct way would be: node.getProperty(...).remove() regards, toby -- - [EMAIL PROTECTED] --- Tobias Bocanegra, Day Management AG

Re: Version doubt

2007-12-23 Thread Tobias Bocanegra
you have to register a nodetype with the respective definition. regards, toby On 12/22/07, wdlcs [EMAIL PROTECTED] wrote: Hi, exactly...in wich file do I have to modified this parameters? (I assume that is a xml file) Regards. Tobias Bocanegra wrote: hi, it depends on the OPV

Re: Version doubt

2007-12-21 Thread Tobias Bocanegra
/Version-doubt-tp1301p1301.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com. -- - [EMAIL PROTECTED] --- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97

Re: Jackrabbit Custom Nodes

2007-12-18 Thread Tobias Bocanegra
() + /repositoryNodeTypes.cnd), JackrabbitNodeTypeManager.TEXT_X_JCR_CND); Thanks guys! -- - [EMAIL PROTECTED] --- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97

Re: Problem deleting the first version in version graph

2007-12-17 Thread Tobias Bocanegra
. But this doesn't happen if I delete either V2 or V3 in the first case. The problem only comes if I delete the base version. Please revert back if the problem is still not clear. Regards, Montek Tobias Bocanegra wrote: hi, i don't understand what you are trying to achieve here

Re: Doubt in Versioning

2007-12-11 Thread Tobias Bocanegra
of a CMS page, before publishing, etc. regards, toby -- - [EMAIL PROTECTED] --- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 --- http://www.day.com ---

Re: Doubt in Versioning

2007-12-08 Thread Tobias Bocanegra
-intuitive. Can someone please clarify my doubt? Thanks, Sridhar -- - [EMAIL PROTECTED] --- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 --- http

Re: Problem deleting the first version in version graph

2007-12-07 Thread Tobias Bocanegra
: http://www.nabble.com/Problem-deleting-the-first-version-in-version-graph-tf4961225.html#a14209765 Sent from the Jackrabbit - Users mailing list archive at Nabble.com. -- - [EMAIL PROTECTED] --- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH

Re: ISO 8601

2007-07-23 Thread Tobias Bocanegra
-tf4124129.html#a11728468 Sent from the Jackrabbit - Users mailing list archive at Nabble.com. -- - [EMAIL PROTECTED] --- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97

Re: ${wsp.name} variable not set

2007-07-21 Thread Tobias Bocanegra
and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. -- - [EMAIL PROTECTED] --- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001

Re: Declarative versioning configuration via config file?

2007-06-28 Thread Tobias Bocanegra
a reply for the post. Thanks again for your time. Bob Kerfoot -- - [EMAIL PROTECTED] --- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 --- http

  1   2   >