Releasing voldemort 1.8.11
[voldemort/jeffpc.git] / bin / voldemort-convert-bdb.bat
blob1d94f9373dc8e44c127526bba6fc63e400ab44ef
1 @echo off
3 REM
4 REM Copyright 2013 Carlos Tasada
5 REM
6 REM Licensed under the Apache License, Version 2.0 (the "License");
7 REM you may not use this file except in compliance with the License.
8 REM You may obtain a copy of the License at
9 REM
10 REM http://www.apache.org/licenses/LICENSE-2.0
11 REM
12 REM Unless required by applicable law or agreed to in writing, software
13 REM distributed under the License is distributed on an "AS IS" BASIS,
14 REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 REM See the License for the specific language governing permissions and
16 REM limitations under the License.
17 REM
18 REM ** This Windows BAT file is not tested with each Voldemort release. **
20 SET BASE_DIR=%~dp0..
21 SET CLASSPATH=.
23 for %%j in ("%BASE_DIR%\dist\*.jar") do (call :append_classpath "%%j")
24 for %%j in ("%BASE_DIR%\contrib\*\lib\*.jar") do (call :append_classpath "%%j")
25 for %%j in ("%BASE_DIR%\lib\*.jar") do (call :append_classpath "%%j")
26 set CLASSPATH=%CLASSPATH%;"%BASE_DIR%\dist\resources"
27 goto :run
29 :append_classpath
30 set CLASSPATH=%CLASSPATH%;%1
31 goto :eof
33 :run
34 set JVM_OPTS=-server -Xms2g -Xmx2g -XX:NewSize=1024m -XX:MaxNewSize=1024m -XX:+AlwaysPreTouch -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:CMSInitiatingOccupancyFraction=70 -XX:SurvivorRatio=2
36 java -Dlog4j.debug -Dlog4j.configuration="file:/%BASE_DIR%\src\java\log4j.properties" %JVM_OPTS% -cp %CLASSPATH% voldemort.store.bdb.dataconversion.BdbConvertData %*
38 endlocal
39 :eof