Great. I've commited your patch to the CVS source code.
James

> -----Original Message-----
> From: Sean Kelly [mailto:[EMAIL PROTECTED]
> Sent: 04 May 2002 23:15
> To: [EMAIL PROTECTED]
> Subject: PATCH: Database.java dbroot dir bug
> 
> 
> When embedding a Xindice database within another application 
> on a Windows
> system, setting the dbroot to an absolute pathname like 
> "C:\..." fails with
> a BTreeFiler exception that the database isn't open.
> 
> The problem is in Database.setConfig, which checks if the dbroot is an
> absolute path by looking to see if the string starts with 
> "/", which is
> great on Unix, not so great on Windoze.
> 
> The attached patch fixes the bug.
> 
> Thanks for providing Xindice.
> 
> --
> Sean Kelly
> Independent Consultant
> http://kelly.homeunix.com/
> 

Reply via email to