DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6914>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6914 Problem creating directories for FSDirectory ------- Additional Comments From [EMAIL PROTECTED] 2002-03-12 04:49 ------- Well, we should definatelly not keep the current code. It should either read. if (!directory.exists()) throw new IOException("Directory " + directory + " does not exist"); OR if (!directory.exists()) if ( !directory.mkdirs() ) throw new IOException("Cannot create directory " + directory); I vote for #2, only because its closer to the current behaivor of the code, users that expect at least one directory to be created for them will have to change their code... -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
