<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project>

    <condition property="isWindows" value="true">
        <os family="windows" />
    </condition>

	<target name="init">
		<property name="config.dir" value="buildconfig"/>
		<property file="${config.dir}/build.properties"/>
		<property file="${config.dir}/config.properties"/>
	</target>
	<target name="-delete-old-dir" if="${install.delete_old_dir}">
		<delete dir="${install.dir}"/>
	</target>

    <target name="-install-windows-launcher" if="isWindows">
        <echo message="Installing JOLIE Windows launcher script..." />
        <echo file="${install.launcher_dir}/jolie.bat">set joliepath=${install.dir}
set params=%1 %2 %3 %4 %5 %6 %7 %8 %9
java -jar %joliepath%jolie.jar -l %joliepath%lib;%joliepath%javaServices\*;%joliepath%extensions\* -i %joliepath%include %params%
</echo>
		<chmod file="${install.launcher_dir}/jolie" perm="a+x"/>
    </target>

    <target name="-install-unix-launcher" unless="isWindows">
        <echo message="Installing JOLIE Unix launcher script..." />
        <echo file="${install.launcher_dir}/jolie">#!/bin/sh

JOLIE_HOME=${install.dir}
java -Djava.rmi.server.codebase=file:/$JOLIE_HOME/extensions/rmi.jar -jar $JOLIE_HOME/jolie.jar -l $JOLIE_HOME/lib:$JOLIE_HOME/javaServices/*:$JOLIE_HOME/extensions/* -i $JOLIE_HOME/include "$@"
</echo>
		<chmod file="${install.launcher_dir}/jolie" perm="a+x"/>
    </target>

	<target name="install" depends="init,dist,-delete-old-dir">
		<copy todir="${install.dir}">
			<fileset dir="dist"/>
		</copy>
		<antcall target="-install-unix-launcher" />
        <antcall target="-install-windows-launcher" /><commit_msg>* Windows launcher: do not echo script commands. * Windows launcher: added a backslash to the installation path.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project>

    <condition property="isWindows" value="true">
        <os family="windows" />
    </condition>

	<target name="init">
		<property name="config.dir" value="buildconfig"/>
		<property file="${config.dir}/build.properties"/>
		<property file="${config.dir}/config.properties"/>
	</target>
	<target name="-delete-old-dir" if="${install.delete_old_dir}">
		<delete dir="${install.dir}"/>
	</target>

    <target name="-install-windows-launcher" if="isWindows">
        <echo message="Installing JOLIE Windows launcher script..." />
        <echo file="${install.launcher_dir}/jolie.bat">@echo off
set joliepath=${install.dir}\
set params=%1 %2 %3 %4 %5 %6 %7 %8 %9
java -jar %joliepath%jolie.jar -l %joliepath%lib;%joliepath%javaServices\*;%joliepath%extensions\* -i %joliepath%include %params%
</echo>
		<chmod file="${install.launcher_dir}/jolie" perm="a+x"/>
    </target>

    <target name="-install-unix-launcher" unless="isWindows">
        <echo message="Installing JOLIE Unix launcher script..." />
        <echo file="${install.launcher_dir}/jolie">#!/bin/sh

JOLIE_HOME=${install.dir}
java -Djava.rmi.server.codebase=file:/$JOLIE_HOME/extensions/rmi.jar -jar $JOLIE_HOME/jolie.jar -l $JOLIE_HOME/lib:$JOLIE_HOME/javaServices/*:$JOLIE_HOME/extensions/* -i $JOLIE_HOME/include "$@"
</echo>
		<chmod file="${install.launcher_dir}/jolie" perm="a+x"/>
    </target>

	<target name="install" depends="init,dist,-delete-old-dir">
		<copy todir="${install.dir}">
			<fileset dir="dist"/>
		</copy>
		<antcall target="-install-unix-launcher" />
        <antcall target="-install-windows-launcher" />
{'fraction_non_alphanumeric': 0.19825581395348837, 'fraction_numerical': 0.0069767441860465115, 'mean_word_length': 4.5056, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 2, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1288219', 'n_tokens_mistral': 1258, 'n_tokens_neox': 1196, 'n_words': 214}