Hi

I am working on a backup and restore tool for Jackrabbit. It's why I need to
escape all checks since I am writing protected node (for this reason).

What is your other idea about this please?


BR
Nicolas
my blog! http://www.deviant-abstraction.net !!

On 8/15/06, Stefan Guggisberg <[EMAIL PROTECTED]> wrote:

On 8/14/06, Nicolas <[EMAIL PROTECTED]> wrote:
> Hi,
>
> In order to restore properly the content of a workspace, I needed to
escape
> some checks the regular WorkspaceImporter class was doing. I rewrote a
> custom Importer with no problem. ( It's basically a copy/paste of the
> current importer without the check: it's a short term solution for now
but a
> working one. We plan to implement a switch to escape all checks in JR
> internal.)
>
> However, I couldn't do the same with the PropInfo class. Therefore I add
to
> add a restoreApply method, which is the same as apply but without the
check.
> Maybe I should rename it? I choose restoreApply to emphathise the fact
that
> it's reserved for the restore operation.

without knowing exactly what you're up to, i doubt that this would be a
good
approach. it rather looks like a nasty hack...

cheers
stefan



Reply via email to