<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project default="deploy.scheduler" basedir=".">
	<import file="common-build.xml" />
	<import file="scheduler-env.xml" />
	<import file="rm-build.xml" />

	<target name="compile.scheduler" depends="compile.rm" description="Compile all Scheduler's stuffs">
		<mkdir dir="${cl.scheduler.dir}"/>
		<mkdir dir="${cl.scheduler.tests.dir}"/>

		<copy toDir="${cl.scheduler.dir}">
			<fileset dir="${src.scheduler.dir}" excludes="**/*.java"/>
		</copy>
		<copy toDir="${cl.scheduler.tests.dir}">
				<fileset dir="${src.scheduler.tests.dir}" excludes="**/*.java"/>
		</copy>

		<javac
			srcdir="${src.scheduler.dir}"
			destdir="${cl.scheduler.dir}"
			deprecation="on"
			source="${source}"
			debug="${debug}"  >

			<classpath refid="scheduler.libs"/>
			<classpath path="${cl.rm.dir}"/>
			<include name="**/*.java"/>
		</javac>

		<javac
			srcdir="${src.scheduler.tests.dir}"
			destdir="${cl.scheduler.tests.dir}"
			deprecation="on"
			source="${source}"
			debug="${debug}"  >

			<classpath refid="scheduler.libs"/>
			<classpath path="${cl.rm.dir}"/>
			<classpath path="${cl.rm.tests.dir}"/>
			<classpath path="${cl.scheduler.dir}"/>
			<include name="**/*.java"/>
		</javac>

		<java classname="${stubgenerator.class}" fork="true">
			<classpath refid="scheduler.classpath" />
            <arg line="-srcDir ${cl.scheduler.dir} -pkg org.ow2.proactive.scheduler" />
		</java>
	</target>

    <!-- ************
		Deploy
	-->

	<target name="deploy.scheduler" depends="-deployCopy, compile.scheduler, deploy.common, deploy.rm"  description="Creates scheduler core jar">
		<jar destfile="${deploy.lib.dir}/${scheduler.core.jar}" manifest="${basedir}/scheduler-Manifest-base.mf" index="true">
			<fileset dir="${cl.scheduler.dir}" includes="**" />
			<indexjars>
				<fileset refid="jar.index.fileset" />
			</indexjars>
        </jar>
	</target>

	<target name="deploy.scheduler.client" depends="-deployCopy, compile.scheduler, deploy.common.client" description="Creates scheduler client jar">
		<jar destfile="${deploy.lib.dir}/${scheduler.client.jar}" manifest="${basedir}/scheduler-Manifest-base.mf" index="true">
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/common/**" />
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/resourcemanager/nodesource/policy/**" />
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/util/adminconsole/*" />
			<fileset dir="${cl.rm.dir}" includes="org/ow2/proactive/resourcemanager/common/*" />
			<indexjars>
				<fileset refid="jar.index.fileset" />
			</indexjars>
	    </jar>
	</target>

	<target name="deploy.scheduler.matlab" depends="-deployCopy, compile.scheduler, deploy.common.client" description="Creates scheduler matlab/scilab jar">
		<jar destfile="${deploy.lib.dir}/${scheduler.matlab.jar}" manifest="${basedir}/scheduler-Manifest-base.mf">
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/common/Main.class" />
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/ext/**" />
			<indexjars>
				<fileset refid="jar.index.fileset" />
			</indexjars>
	    </jar>
	</target>

	<target name="deploy.scheduler.splitmerge" depends="-deployCopy, compile.scheduler, deploy.common.client" description="Creates scheduler file split/merge jar">
		<jar destfile="${deploy.lib.dir}/${scheduler.fsm.jar}" manifest="${basedir}/scheduler-Manifest-base.mf">
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/common/Main.class" />
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/ext/filessplitmerge/**" />
			<indexjars>
				<fileset refid="jar.index.fileset" />
			</indexjars>
	    </jar>
	</target>

	<!-- ************
		Junit tests
	-->

	<target name="junit.scheduler" depends="deploy.scheduler, deploy.scheduler.worker" description="Run scheduler's tests">
		<junitMacro
			testsuite="scheduler.testsuite"
			testclasspath="scheduler.test.classpath"
			log4jconfig="-Dlog4j.configuration=file:${base.dir}/compile/scheduler-log4j"
		/>
<commit_msg>Fix matlab/scilab jar creation Remove ojdbc.jar<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project default="deploy.scheduler" basedir=".">
	<import file="common-build.xml" />
	<import file="scheduler-env.xml" />
	<import file="rm-build.xml" />

	<target name="compile.scheduler" depends="compile.rm" description="Compile all Scheduler's stuffs">
		<mkdir dir="${cl.scheduler.dir}"/>
		<mkdir dir="${cl.scheduler.tests.dir}"/>

		<copy toDir="${cl.scheduler.dir}">
			<fileset dir="${src.scheduler.dir}" excludes="**/*.java"/>
		</copy>
		<copy toDir="${cl.scheduler.tests.dir}">
				<fileset dir="${src.scheduler.tests.dir}" excludes="**/*.java"/>
		</copy>

		<javac
			srcdir="${src.scheduler.dir}"
			destdir="${cl.scheduler.dir}"
			deprecation="on"
			source="${source}"
			debug="${debug}"  >

			<classpath refid="scheduler.libs"/>
			<classpath path="${cl.rm.dir}"/>
			<include name="**/*.java"/>
		</javac>

		<javac
			srcdir="${src.scheduler.tests.dir}"
			destdir="${cl.scheduler.tests.dir}"
			deprecation="on"
			source="${source}"
			debug="${debug}"  >

			<classpath refid="scheduler.libs"/>
			<classpath path="${cl.rm.dir}"/>
			<classpath path="${cl.rm.tests.dir}"/>
			<classpath path="${cl.scheduler.dir}"/>
			<include name="**/*.java"/>
		</javac>

		<java classname="${stubgenerator.class}" fork="true">
			<classpath refid="scheduler.classpath" />
            <arg line="-srcDir ${cl.scheduler.dir} -pkg org.ow2.proactive.scheduler" />
		</java>
	</target>

    <!-- ************
		Deploy
	-->

	<target name="deploy.scheduler" depends="-deployCopy, compile.scheduler, deploy.common, deploy.rm"  description="Creates scheduler core jar">
		<jar destfile="${deploy.lib.dir}/${scheduler.core.jar}" manifest="${basedir}/scheduler-Manifest-base.mf" index="true">
			<fileset dir="${cl.scheduler.dir}" includes="**" />
			<indexjars>
				<fileset refid="jar.index.fileset" />
			</indexjars>
        </jar>
	</target>

	<target name="deploy.scheduler.client" depends="-deployCopy, compile.scheduler, deploy.common.client" description="Creates scheduler client jar">
		<jar destfile="${deploy.lib.dir}/${scheduler.client.jar}" manifest="${basedir}/scheduler-Manifest-base.mf" index="true">
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/common/**" />
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/resourcemanager/nodesource/policy/**" />
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/util/adminconsole/*" />
			<fileset dir="${cl.rm.dir}" includes="org/ow2/proactive/resourcemanager/common/*" />
			<indexjars>
				<fileset refid="jar.index.fileset" />
			</indexjars>
	    </jar>
	</target>

	<target name="deploy.scheduler.matlab" depends="-deployCopy, compile.scheduler, deploy.common.client" description="Creates scheduler matlab/scilab jar">
		<jar destfile="${deploy.lib.dir}/${scheduler.matlab.jar}" manifest="${basedir}/scheduler-Manifest-base.mf">
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/common/Main.class" />
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/ext/common/**" />
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/ext/matlab/**" />
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/ext/scilab/**" />
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/ext/masterworker/**" />
			<indexjars>
				<fileset refid="jar.index.fileset" />
			</indexjars>
	    </jar>
	</target>

	<target name="deploy.scheduler.splitmerge" depends="-deployCopy, compile.scheduler, deploy.common.client" description="Creates scheduler file split/merge jar">
		<jar destfile="${deploy.lib.dir}/${scheduler.fsm.jar}" manifest="${basedir}/scheduler-Manifest-base.mf">
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/common/Main.class" />
			<fileset dir="${cl.scheduler.dir}" includes="org/ow2/proactive/scheduler/ext/filessplitmerge/**" />
			<indexjars>
				<fileset refid="jar.index.fileset" />
			</indexjars>
	    </jar>
	</target>

	<!-- ************
		Junit tests
	-->

	<target name="junit.scheduler" depends="deploy.scheduler, deploy.scheduler.worker" description="Run scheduler's tests">
		<junitMacro
			testsuite="scheduler.testsuite"
			testclasspath="scheduler.test.classpath"
			log4jconfig="-Dlog4j.configuration=file:${base.dir}/compile/scheduler-log4j"
		/>

{'fraction_non_alphanumeric': 0.21229765925235822, 'fraction_numerical': 0.0038430185163619425, 'mean_word_length': 4.573004542504867, 'pattern_counts': {'":': 0, '<': 150, '<?xml version=': 2, '>': 150, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '3279326', 'n_tokens_mistral': 3232, 'n_tokens_neox': 2932, 'n_words': 402}