Sha256: 91cd5397f9cdcaf452a8a1613f82b385488434d1e6393e0e514a68af1ad6d3e5

Contents?: true

Size: 433 Bytes

Versions: 5

Compression:

Stored size: 433 Bytes

Contents

@echo off

SETLOCAL

if NOT DEFINED JAVA_HOME goto err

set SCRIPT_DIR=%~dp0

for %%I in ("%SCRIPT_DIR%..") do set REDPEN_HOME=%%~dpfI

set REDPEN_CLASSPATH=%REDPEN_HOME%/conf;%REDPEN_HOME%/lib/*
set JAVA_OPTS=%JAVA_OPTS%

"%JAVA_HOME%\bin\java" %JAVA_OPTS% -classpath "%REDPEN_CLASSPATH%" cc.redpen.Main %*
goto finally

:err
echo Error: JAVA_HOME is not defined. Can not start RedPen
pause

:finally
ENDLOCAL

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
redpen-0.1.0 lib/redpen-cli-1.1/bin/redpen.bat
redpen_ruby-0.4 lib/redpen-cli-1.1/bin/redpen.bat
redpen_ruby-0.3 lib/redpen-cli-1.1/bin/redpen.bat
redpen_ruby-0.2 lib/redpen-cli-1.1/bin/redpen.bat
redpen_ruby-0.1 lib/redpen-cli-1.0/bin/redpen.bat