Lucene config on windows

5 views
Skip to first unread message

iain.d...@gsk.com

unread,
Feb 1, 2005, 6:26:40 AM2/1/05
to cpat...@googlegroups.com

Hi there,

My linux install of cpath is now being used by others so I have moved back to using cpath on my Windows box.  I have had to change one file for it to work. org.mskcc.pathdb.lucene.LuceneConfig

The getLuceneDirectory method has some hard coded forward slashes in it, I have just replaced them with "java.io.File.separator" and now it works.

A minor tweak to env.pl (doing a os check, then choosing the correct system delimiter) means everything works fine on my windows and linux boxes.

I hope this is useful.

Iain K

env.pl

Gary Bader

unread,
Feb 1, 2005, 10:57:23 AM2/1/05
to cpat...@googlegroups.com
Hi Iain,
Thanks. I actually did something similar with env.pl, but your
solution is better so I'm going to check it in to CVS. I didn't have
any other problems with installing cPath on Windows XP, but we'll look
into it.

Thanks,
Gary

Ethan Cerami

unread,
Feb 1, 2005, 11:43:01 AM2/1/05
to cpat...@googlegroups.com
Hi Iain,

Thanks for doing this. Can you also post your revised LuceneConfig.java
file, or just email it to me directly -- I'll check it into CVS too.

Ethan
--
Ethan Cerami
Computational Biology Center
Memorial Sloan-Kettering Cancer Center
http://cbio.mskcc.org
Email: cer...@cbio.mskcc.org
Direct phone: (646) 735-8082
cerami.vcf
Reply all
Reply to author
Forward
0 new messages