<commit_before>:: This script packs DynamicFastBuffers library for any platform in Windows.
::
:: This script needs the next environment variables to be run.
:: - SVN_BIN_DIR: Directory with the subversion binaries.
:: - LIBREOFFICE_BIN_DIR: Directory with the LibreOffice binaries.
:: - NSIS_BIN_DIR: Directory with the NSIS installer libraries.
:: - EPROSIMADIR: URL to the directory with common sources of eProsima.
:: - ANT_BIN_DIR: Directory with the ant binaries.
:: - DOXYGEN_BIN_DIR: Directory with the doxygen binaries. (Also pdflatex and graphviz)
:: Also this script needs the eProsima.documentation.changeVersion macro installed in the system.

setlocal EnableDelayedExpansion
setlocal EnableExpansion
@echo off

:: Initialize the returned value to 0 (all succesfully)
set errorstatus=0

:: Go to root directory
cd "..\.."



:: Compile CDR library.
cd "thirdparty\fastcdr"
cd "utils\scripts"
call build_cdr.bat noclean
set errorstatus=%ERRORLEVEL%
if not %errorstatus%==0 goto :exit
cd "..\..\..\..\"

:: Get the current vesion of RTPS
call %EPROSIMADIR%\scripts\common_pack_functions.bat :getVersionFromCPP VERSIONRTPS include/fastrtps/fastrtps_version.h
if not %errorstatus%==0 goto :exit

:: Compile RTPS for target.
cd "utils\scripts"
::COMPILE VS2013
set LIB_BOOST_PATH=C:\local\boost_1_57_0
call build_fastrtps.bat noclean
set errorstatus=%ERRORLEVEL%
if not %errorstatus%==0 goto :exit
cd "..\.."

:: Create PDFS from documentation.
cd "doc"
mkdir pdf
mkdir html
:: Installation manual
soffice.exe --headless "macro:///eProsima.documentation.changeVersion(%CD%\FastRTPS_Installation_Manual.odt,%VERSIONRTPS%)"
set errorstatus=%ERRORLEVEL%
if not %errorstatus%==0 goto :exit<commit_msg>Fixed local in package<commit_after>:: This script packs DynamicFastBuffers library for any platform in Windows.
::
:: This script needs the next environment variables to be run.
:: - SVN_BIN_DIR: Directory with the subversion binaries.
:: - LIBREOFFICE_BIN_DIR: Directory with the LibreOffice binaries.
:: - NSIS_BIN_DIR: Directory with the NSIS installer libraries.
:: - EPROSIMADIR: URL to the directory with common sources of eProsima.
:: - ANT_BIN_DIR: Directory with the ant binaries.
:: - DOXYGEN_BIN_DIR: Directory with the doxygen binaries. (Also pdflatex and graphviz)
:: Also this script needs the eProsima.documentation.changeVersion macro installed in the system.

setlocal EnableDelayedExpansion
setlocal EnableExpansion
@echo off

:: Initialize the returned value to 0 (all succesfully)
set errorstatus=0

:: Go to root directory
cd "..\.."



:: Compile CDR library.
cd "thirdparty\fastcdr"
cd "utils\scripts"
call build_cdr.bat noclean
set errorstatus=%ERRORLEVEL%
if not %errorstatus%==0 goto :exit
cd "..\..\..\..\"

:: Get the current vesion of RTPS
call %EPROSIMADIR%\scripts\common_pack_functions.bat :getVersionFromCPP VERSIONRTPS include/fastrtps/fastrtps_version.h
if not %errorstatus%==0 goto :exit

:: Compile RTPS for target.
cd "utils\scripts"
::COMPILE VS2013
::set LIB_BOOST_PATH=C:\local\boost_1_57_0
call build_fastrtps.bat noclean
set errorstatus=%ERRORLEVEL%
if not %errorstatus%==0 goto :exit
cd "..\.."

:: Create PDFS from documentation.
cd "doc"
mkdir pdf
mkdir html
:: Installation manual
soffice.exe --headless "macro:///eProsima.documentation.changeVersion(%CD%\FastRTPS_Installation_Manual.odt,%VERSIONRTPS%)"
set errorstatus=%ERRORLEVEL%
if not %errorstatus%==0 goto :exit
{'fraction_non_alphanumeric': 0.10230926629640456, 'fraction_numerical': 0.008184741303712365, 'mean_word_length': 5.221818181818182, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6182612', 'n_tokens_mistral': 1165, 'n_tokens_neox': 1066, 'n_words': 352}