Re: Searching....

2006-05-30 Thread hsp
I am doing a classification of the mimetype by comparing the end of the file name, like this: public static String getMimeType(String nomeArquivo) { String ret = null; if(nomeArquivo.endsWith(".avi")) { ret = "video/x-msvideo";

Re: Google Summer of Code project for Jackrabbit

2006-05-30 Thread David Kennedy
Just to continue the lock discussionI don't think jcr:Locks are an issue on the backup operation, however they are an issue on the restore. What will happen on a restore when a lock is held on a node being restored? Will the node be replaced, the lock reapplied and the isms updated so Inva

Re: Google Summer of Code project for Jackrabbit

2006-05-30 Thread Jukka Zitting
Hi, On 5/30/06, David Kennedy <[EMAIL PROTECTED]> wrote: Just to continue the lock discussionI don't think jcr:Locks are an issue on the backup operation, however they are an issue on the restore. What will happen on a restore when a lock is held on a node being restored? Will the node be r

Re: Google Summer of Code project for Jackrabbit

2006-05-30 Thread Jukka Zitting
Hi, On 5/25/06, Nicolas Toper <[EMAIL PROTECTED]> wrote: About Tobias ProxyPM: I am ok to write it although it is out of scope of the initial project, you all seem to really need it, so let's go for it. Jukka? This is something that we should look at later on. Modifying the internal persistenc

[jira] Created: (JCR-444) Error while restoring OPV=Version childnodes (Restore of root version not allowed)

2006-05-30 Thread Tobias Bocanegra (JIRA)
Error while restoring OPV=Version childnodes (Restore of root version not allowed) -- Key: JCR-444 URL: http://issues.apache.org/jira/browse/JCR-444 Project: Jackrabbit Type: Bug Envir

[jira] Closed: (JCR-444) Error while restoring OPV=Version childnodes (Restore of root version not allowed)

2006-05-30 Thread Tobias Bocanegra (JIRA)
[ http://issues.apache.org/jira/browse/JCR-444?page=all ] Tobias Bocanegra closed JCR-444: Resolution: Fixed fixed in r410311. > Error while restoring OPV=Version childnodes (Restore of root version not > allowed) > --

Versions and frozen nodes

2006-05-30 Thread Markus Krueger
Hello there, I'm a jackrabbit newbie and have a problem with the frozen node of a version. I tried an example at http://www.artima.com/lejava/articles/contentrepository3.html and failed at the part where the frozen nodes property "blogtext" is read. System.out.println("Version saved on " +

Re: Versions and frozen nodes

2006-05-30 Thread Tobias Bocanegra
well, first of all, this is a very ugly example. e.g. you never instantiate a value directly, you rather use the value factory. so i haven't looked at the example closer, maybe you can send some test code, or try to debug it yourself. start by dumping all nodes and properties of the repo recursive

Re: [VOTE] Release Apache Jackrabbit 1.0.1

2006-05-30 Thread Stefan Guggisberg
[X] +1 Release the packages as Apache Jackrabbit 1.0.1 cheers stefan

Graphics into Jackrabbit documentation

2006-05-30 Thread Jean-Yves Cronier
Just one little question about graphs into documentation. For example : http://jackrabbit.apache.org/images/arch/level-2.jpg Witch software have you use to make this picture ?