Andreas Hartmann wrote:
Michael Wechner wrote:
Andreas Hartmann wrote:
Hi Lenya devs,
the paths in crawler.xconf and lucene.xconf are resolved from different locations (execution directory vs. config file directory).
are you sure? I think both configuration files are based from config file directory resp. where crawler.xconf and lucene.xconf are located.
Strange, that didn't work for me. I started using the config from the website:
you're right. I guess nobody really realized it yet, because people might
have specified absolute paths within the config. Actually the path resolving
was implemented within the Configuration class, but the crawler didn't use it.
I have fixed it and it should work now.
The crawler file might still need to be specified as absolute path:
ant -f crawl_and_index.xml crawl -Dcrawler.xconf=/foo/bar/crawler.xconf
but I am actually not sure about it, but it won't hurt ;-)
I don't think we should remove the configuration file, because the dump and the
index can become huge (depending on what you are indexing) and shoudln't reside
within the application directory.
This makes sense. But then I'd rather have a single configuration point of the index location for the complete Lenya webapp, which could default to the container's work directory.
well, one could merge the two files and use a "fallback" ...
Michi
-- Michael Wechner Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org [EMAIL PROTECTED] [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
