<commit_before>@REM
@REM CODENVY CONFIDENTIAL
@REM __________________
@REM
@REM [2012] - [2013] <NAME>.
@REM All Rights Reserved.
@REM
@REM NOTICE: All information contained herein is, and remains
@REM the property of Codenvy S.A. and its suppliers,
@REM if any. The intellectual and technical concepts contained
@REM herein are proprietary to Codenvy S.A.
@REM and its suppliers and may be covered by U.S. and Foreign Patents,
@REM patents in process, and are protected by trade secret or copyright law.
@REM Dissemination of this information or reproduction of this material
@REM is strictly forbidden unless prior written permission is obtained
@REM from Codenvy S.A..
@REM
@echo off
set CHE_LOCAL_CONF_DIR=%CATALINA_HOME%\conf\

if "%JAVA_OPTS%"=="" (set JAVA_OPTS=-Xms256m -Xmx1048m -XX:MaxPermSize=256m -server)

if "%CHE_LOGS_DIR%"=="" (set CHE_LOGS_DIR=%CATALINA_HOME%\logs)

if "%JPDA_ADDRESS%"=="" (set JPDA_ADDRESS=8000)

if "%SERVER_PORT%"=="" (set SERVER_PORT=8080)

if "%CATALINA_OPTS%"=="" (set CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dche.local.conf.dir=%CHE_LOCAL_CONF_DIR%)

if "%CLASSPATH%"=="" (set CLASSPATH=%CATALINA_HOME%\conf\;%JAVA_HOME%\lib\tools.jar)<commit_msg>IDEX-3052 Allow to find Java in Windows Registry if not defined<commit_after>@REM
@REM CODENVY CONFIDENTIAL
@REM __________________
@REM
@REM [2012] - [2013] Codenvy, S.A.
@REM All Rights Reserved.
@REM
@REM NOTICE: All information contained herein is, and remains
@REM the property of Codenvy S.A. and its suppliers,
@REM if any. The intellectual and technical concepts contained
@REM herein are proprietary to Codenvy S.A.
@REM and its suppliers and may be covered by U.S. and Foreign Patents,
@REM patents in process, and are protected by trade secret or copyright law.
@REM Dissemination of this information or reproduction of this material
@REM is strictly forbidden unless prior written permission is obtained
@REM from Codenvy S.A..
@REM
@echo off
set CHE_LOCAL_CONF_DIR=%CATALINA_HOME%\conf\

if not "%JAVA_HOME%"=="" goto javaHomeAlreadyDefined

FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment" /v CurrentVersion') DO set CurVer=%%B
FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment\%CurVer%" /v JavaHome') DO set JAVA_HOME=%%B

:javaHomeAlreadyDefined

if "%JAVA_OPTS%"=="" (set JAVA_OPTS=-Xms256m -Xmx1048m -XX:MaxPermSize=256m -server)

if "%CHE_LOGS_DIR%"=="" (set CHE_LOGS_DIR=%CATALINA_HOME%\logs)

if "%JPDA_ADDRESS%"=="" (set JPDA_ADDRESS=8000)

if "%SERVER_PORT%"=="" (set SERVER_PORT=8080)

if "%CATALINA_OPTS%"=="" (set CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dche.local.conf.dir=%CHE_LOCAL_CONF_DIR%)

if "%CLASSPATH%"=="" (set CLASSPATH=%CATALINA_HOME%\conf\;%JAVA_HOME%\lib\tools.jar)
{'fraction_non_alphanumeric': 0.12516778523489933, 'fraction_numerical': 0.020134228187919462, 'mean_word_length': 5.837155963302752, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2259092', 'n_tokens_mistral': 1174, 'n_tokens_neox': 1010, 'n_words': 316}