Hello, Regarding the attached mail, do you think there is a possibility to pass a directory path to FSDirectory to use as its lock directory?
Regards, RBP > -----Message d'origine----- > De : Erik Hatcher [mailto:[EMAIL PROTECTED] > Envoyà : mardi 30 mars 2004 05:38 > à : Lucene Developers List > Objet : Re: new release: 1.4-rc1 > > Please rebuild it with my (finally) fixed GermanAnalyzer. My > apologies > for the fiasco. > > Erik > > On Mar 29, 2004, at 6:43 PM, Doug Cutting wrote: > > > A new release of Lucene is available, 1.4 Release Candidate 1 > (RC1). > > > > http://cvs.apache.org/dist/jakarta/lucene/v1.4-rc1/ > > > > I'm currently only announcing this to the Lucene developer > list. If > > no major problems are identified, I will announce it on the > Lucene > > user list and add it to the Jakarta news tomorrow. > > > > Doug > > > > ------------------------------------------------------------- > -------- > > To unsubscribe, e-mail: lucene-dev- > [EMAIL PROTECTED] > > For additional commands, e-mail: lucene-dev- > [EMAIL PROTECTED] > > > --------------------------------------------------------------- > ------ > To unsubscribe, e-mail: lucene-dev- > [EMAIL PROTECTED] > For additional commands, e-mail: lucene-dev- > [EMAIL PROTECTED]
--- Begin Message --- Title: RE : FSDirectory.lockDir and recent Lock changesHello,
> You are probably using Tomcat?
Exactly...
> To solve the Tomcat (if started from batc file) edit the
> catalina.bat,
> and set either the absolute path to CATALINA_BASE or set the
> CATALINA_TMPDIR=%TEMP% or to any absolute path.So then what is the reasoning behind the "!lockDir.isAbsolute())" statement below? Why can't this directory be relative?
private FSDirectory(File path, boolean create) throws IOException {
directory = path;lockDir = new File(LOCK_DIR);
if (!lockDir.isAbsolute()) {
lockDir = new File(directory, LOCK_DIR);
}
if (create)
create();if (!directory.isDirectory())
throw new IOException(path + " not a directory");
}> The tomcat sets the java.io.tmpdir to "..\temp", so that's the
> cause of the
> problem thougth.Do you think this raise any backward compatibility concerns?
Regards,
RBP
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--- End Message ---
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]