<commit_before>:: -*- mode: Fundamental; tab-width: 4; -*-
:: ex:ts=4
::
:: $Id$
::
:: Converts xins-project.xml in the current directory to an Ant build file and
:: then passes control to Ant.


:: Make sure XINS_HOME is set
IF NOT "%XINS_HOME%" == "" GOTO xins_home_set
ECHO FATAL: XINS_HOME not set
GOTO end

:xins_home_set
IF EXIST %XINS_HOME%\src\xslt\xins-project_to_ant-build.xslt GOTO stylesheet_found
ECHO FATAL: Cannot find stylesheet %XINS_HOME%\src\xslt\xins-project_to_ant-build.xslt
GOTO end

:stylesheet_found
in="${project_home}/${in_base}"
IF EXIST xins-project.xml GOTO project_file_found
ECHO FATAL: Cannot find input file xins-project.xml
GOTO end

:project_file_found
IF NOT EXIST build\NUL GOTO builddir_existent
MKDIR build

:builddir_existent
CALL ant -f %XINS_HOME\src\ant\transform.xml -Din=xins-project.xml -Dout=build\build.xml -Dstyle=%XINS_HOME%\src\xslt\xins-project_to_ant-build.xslt -Dxins_home=%XINS_HOME% -Dproject_home=. -Dbuilddir=build

CALL ant -f build\build.xml %1 %2 %3 %4 %5 %6 %7 %8 %9
:end<commit_msg>Fixed bug.<commit_after>:: -*- mode: Fundamental; tab-width: 4; -*-
:: ex:ts=4
::
:: $Id$
::
:: Converts xins-project.xml in the current directory to an Ant build file and
:: then passes control to Ant.


:: Make sure XINS_HOME is set
IF NOT "%XINS_HOME%" == "" GOTO xins_home_set
ECHO FATAL: XINS_HOME not set
GOTO end

:xins_home_set
IF EXIST %XINS_HOME%\src\xslt\xins-project_to_ant-build.xslt GOTO stylesheet_found
ECHO FATAL: Cannot find stylesheet %XINS_HOME%\src\xslt\xins-project_to_ant-build.xslt
GOTO end

:stylesheet_found
in="${project_home}/${in_base}"
IF EXIST xins-project.xml GOTO project_file_found
ECHO FATAL: Cannot find input file xins-project.xml
GOTO end

:project_file_found
IF NOT EXIST build\NUL GOTO builddir_existent
MKDIR build

:builddir_existent
CALL ant -f %XINS_HOME%\src\ant\transform.xml -Din=xins-project.xml -Dout=build\build.xml -Dstyle=%XINS_HOME%\src\xslt\xins-project_to_ant-build.xslt -Dxins_home=%XINS_HOME% -Dproject_home=. -Dbuilddir=build

CALL ant -f build\build.xml %1 %2 %3 %4 %5 %6 %7 %8 %9
:end
{'fraction_non_alphanumeric': 0.12440191387559808, 'fraction_numerical': 0.010526315789473684, 'mean_word_length': 4.991404011461318, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 14}, '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': '1498616', 'n_tokens_mistral': 869, 'n_tokens_neox': 803, 'n_words': 214}