prabhatbhattarai / project-voldemort

Automatically exported from code.google.com/p/project-voldemort
Apache License 2.0
0 stars 0 forks source link

Windows/Cygwin friendly scripts #268

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Not a bug report, but for those who use Windows (there are such ppl :)) for 
development, Cygwin friendly scripts would be great.

Until it gets fixed - 
http://www.weiqigao.com/blog/2008/03/10/java_bash_cygwin.html has some pointers.

But the quickest way is to wrap all those Unix variables with cygpath and get 
it working on Cygwin/Windows:
$(cygpath -w -p -l -a $UNIX_VARIABLE)

Full example:
java -Dlog4j.configuration=src/java/log4j.properties $VOLD_OPTS -cp $(cygpath 
-w -p -l -a $CLASSPATH) voldemort.server.VoldemortServer $(cygpath -w -p -l -a 
$@)

Ashwin.

Original issue reported on code.google.com by ashwin.j...@gmail.com on 11 Jul 2010 at 6:24

GoogleCodeExporter commented 8 years ago
Here's a short note I wrote for people trying to run Voldemort for the first 
time on Windows. It's basically the one that ships with the project but with a 
few, little modifications to make it work on Windows/Cygwin.

http://javaforu.blogspot.com/2010/07/simple-project-voldemort-test-on.html

Cheers!
Ashwin.

Original comment by ashwin.j...@gmail.com on 12 Jul 2010 at 6:04

GoogleCodeExporter commented 8 years ago
I just submitted a patch for this case: 
https://github.com/ctasada/voldemort/commit/dfd33f08791654e81f137c95d83d49467861
be1b

I hope it helps

Original comment by ctasada on 21 Feb 2012 at 10:55