cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: [LuceneIndexTransformer] storing index files outside Cocoon work directory
Date Thu, 25 Mar 2004 09:50:53 GMT
Jeremy Quinn wrote:
> Niels van Kampenhout wrote:
> 
> > Hi,
> >
> > Is there any way to let the LuceneIndexTransformer store the index 
> > files in a directory outside the Cocoon work directory? In the source 
> > code there is a check for an absolute path in openWriter(), however 
> > specifying an absolute (windows) path crashes Cocoon with an 
> > EmptyStackException.
> >
> > Our problem with storing the index files in the Cocoon work directory 
> > is that they get deleted on restarts, which are sometimes unavoidable.
> 
> Crashes !?!
> 
> I added that recently to solve the very problem you describe.
> 
> I have this working fine on Linux and MacOSX, but was unable to test it 
> on Windows.

Do you need to use a file:// URL?
http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html#File%3A+URLs

--David



Mime
View raw message