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
