On 4/22/07, CORUM, M E [AG/1000] <[EMAIL PROTECTED]> wrote:
This code for automatically loading an ldif file using the ldifDirectory
property seems pretty badly broken on Windows for 1.5.  It always strips
off the first two characters of the file name and puts a question mark
in front it.  I've tried every combination of file names and directories
I can think of and it always defeats me.  Does anybody have this working
with 1.5 on Windows?

I believe that for Windows you would need the following format:

c:\\path\\to\\admin.ldif

as in:

File f = new File("c:\\path\\to\\admin.ldif");

I've never tried it with just a directory path, so I'm surprised that
works.  Also, I'm not on Windows so please let us know if that File
format doesn't work.

Enrique

Reply via email to