@echo off

REM ###########################################################
REM # set the environment for JasperReportsIntegration first
REM ###########################################################

set DIR=%~dp0
pushd %DIR%\..
set OC_JASPER_CONFIG_HOME=%CD%
popd

set CP="%OC_JASPER_CONFIG_HOME%/lib/JasperReportsIntegration-2.5.0.0.jar;%OC_JASPER_CONFIG_HOME%/lib/log4j-1.2.15.jar;%OC_JASPER_CONFIG_HOME%/lib/commons-configuration-1.8.jar;%OC_JASPER_CONFIG_HOME%/lib/velocity-1.7-dep.jar;%OC_JASPER_CONFIG_HOME%/lib/jasperreports-6.7.0.jar;%OC_JASPER_CONFIG_HOME%/lib/commons-logging-1.1.1.jar;%OC_JASPER_CONFIG_HOME%/lib/commons-codec-1.5.jar"

REM pass ALL parameters to the class
java -cp %CP% main/CommandLine encryptPasswords %*


