Re: webdav webapp is not relinquishing disk space

2009-09-30 Thread Greg Schueler
Ok, for installations that have already been configured to use the FileDataStore, what is the simplest solution to invoking the garbage collection? It's not clear to me how I can go about doing that. Do I have to modify the existing webapp/servlet code to add this custom service and rebuild it? or

Re: webdav webapp is not relinquishing disk space

2009-09-30 Thread Alexander Klimetschek
On Wed, Sep 30, 2009 at 22:04, Greg Schueler wrote: > I see, so as it stands the webdav webapp cannot really be used "standalone" > as a simple file based WebDAV repository solution, because it requires > custom code to in actualy delete files? You don't have to use the data store - you can use a

Re: webdav webapp is not relinquishing disk space

2009-09-30 Thread Greg Schueler
I see, so as it stands the webdav webapp cannot really be used "standalone" as a simple file based WebDAV repository solution, because it requires custom code to in actualy delete files? On Wed, Sep 30, 2009 at 12:59 PM, Alexander Klimetschek wrote: > On Wed, Sep 30, 2009 at 20:52, Greg Schueler

Re: webdav webapp is not relinquishing disk space

2009-09-30 Thread Alexander Klimetschek
On Wed, Sep 30, 2009 at 20:52, Greg Schueler wrote: > Hi, we are using the webdav webapp (jackrabbit-webapp-1.5.5.war) configured > with the FileDataStore.  We have noticed that files that are deleted from > WebDAV do not seem to relinquish any disk space on the server. > > This page indicates tha

webdav webapp is not relinquishing disk space

2009-09-30 Thread Greg Schueler
Hi, we are using the webdav webapp (jackrabbit-webapp-1.5.5.war) configured with the FileDataStore. We have noticed that files that are deleted from WebDAV do not seem to relinquish any disk space on the server. This page indicates that Garbage collection must be done manually in code: http://wik

Export version history

2009-09-30 Thread freak182
Hello, How can export the version history? if for example coron.jpg has has version 1.0, 1.1, 1.2, as per my testing the latest version exported. How can export the old version? thanks a lot. cheers. -- View this message in context: http://www.nabble.com/Export-version-history-tp25677641p25677

Re: recursive XPath in jackrabbit...

2009-09-30 Thread Alexander Klimetschek
On Wed, Sep 30, 2009 at 08:13, Michael Planamente wrote: > an other question, isn't it possible to manage this without using index > aggregate, only through xpath? With "yes" I meant that your query should work: //element(*,nt:BLAH)//*[jcr:contains(.,term)] The rest was just a (maybe simpler) a

Re: importXML() fails with a ConstraintViolationException

2009-09-30 Thread Alexander Klimetschek
On Wed, Sep 30, 2009 at 07:12, freak182 wrote: > I export my repository using exportDocument view and path is > /photo/upload/test/ (plus the binary and contain versions) and it work fine. > Now when i importXML > > session.importXML("/", file, > ImportUUIDBehavior.IMPORT_UUID_COLLISION_REMOVE_EXI

Re: Escaping/encoding of paths/names/values

2009-09-30 Thread Alexander Klimetschek
On Wed, Sep 30, 2009 at 09:22, Charles Brooking wrote: >> On Fri, Sep 18, 2009 at 08:16, Charles Brooking >> Good idea, you could put it onto the wiki, maybe on the examples page: >> http://wiki.apache.org/jackrabbit/ExamplesPage > > See . Gr

Export/Import help

2009-09-30 Thread freak182
Hello, I uploaded my file in the repository like this: photo/upload/test/coron.jpg -> this is versionable. Now, I export my repository using exportSystemView view like this: File file = new File(exportFile); FileOutputStream out = new FileOutputStream(file); contentSessi

Re: Escaping/encoding of paths/names/values

2009-09-30 Thread Charles Brooking
> On Fri, Sep 18, 2009 at 08:16, Charles Brooking > Good idea, you could put it onto the wiki, maybe on the examples page: > http://wiki.apache.org/jackrabbit/ExamplesPage See . Later Charlie