<commit_before><!--
    =====================================================
												  	FocWebServer
    =====================================================
  -->
	
<project name="focWebServer" default="makeJar">
			
	<target name="prepareDir">
		<delete dir="${focWebServer.buildDir}" />
		<mkdir dir="${focWebServer.buildDir}" />
		<mkdir dir="${focWebServer.classDir}" />
		<mkdir dir="${focWebServer.jarDir}" />
	</target>

	<macrodef name="compileMacro">
		<attribute name="tarDir" default="NOT_SET"/>
		<element name="justdoit" implicit="yes"/>
		<sequential>
			<javac srcdir="${focWebServer.srcDir}" destdir="@{tarDir}" debug="${compile_debug_true}" debuglevel="${compile_debug_lines}" encoding="UTF-8" >
				<classpath>
					<pathelement path="${java.class.path}/"/>
					<pathelement path="${foc.jarFile}/"/>
					<pathelement path="${focAPI.jarFile}/"/>
					<pathelement path="${focShared.jarFile}/"/>
					<pathelement path="${focVaadinTheme.jarFile}/"/>
					<pathelement path="${focOfficeLink.jarFile}/"/>
					<pathelement path="${GWTDir}/${GWTFile1}"/>
					<pathelement path="${vaadinJAR1}"/>
					<pathelement path="${vaadinJAR2}"/>
					<pathelement path="${vaadinJAR3}"/>
					<pathelement path="${vaadinLib1}"/>
	                <pathelement path="${vaadinAddOnJar.ExpandingTextArea}"/>
					<pathelement path="${vaadinAddOnJar.DnD}"/>
					<pathelement path="${vaadinAddOnJar.EverproTreeGrid}"/>
					<pathelement path="${vaadinAddOnJar.ContextHelp}"/>
					<pathelement path="${vaadinAddOnJar.JFreeChartWrapper}"/>
					<pathelement path="${vaadinAddOn.Network}"/>
					<pathelement path="${vaadinAddOnJar.SliderPanel}"/>
					<pathelement path="${TomcatDir}/${TomcatFile1}"/>
					<pathelement path="${jFreeChartDir}/${jFreeChartFile1}"/>
					<pathelement path="${jFreeChartDir}/${jFreeChartFile2}"/>
					<pathelement path="${jFreeChartDir}/${jFreeChartFile3}/"/>
					<pathelement path="${jFreeChartDir}/${jFreeChartFile4}/"/>
					<pathelement path="${jFreeChartDir}/${jFreeChartFile5}/"/>					
					<pathelement path="${JasperReportDir}/${JasperReportFile1}/"/>
          <pathelement path="${JasperReportDir}/${JasperReportFile4}"/>
          <pathelement path="${POIDir}/${POIFile1}"/>
					<pathelement path="${POIDir}/${POIFile3}"/>
          <pathelement path="${POIDir}/${POIFile4}"/>
					<pathelement path="${POIDir}/${POIFile5}"/>
				  <pathelement path="${qrCodeJAR1}"/>
					<pathelement path="${qrCodeJAR2}"/>
					<pathelement path="${qrCodeJAR3}"/>
					<pathelement path="${BarcodeJAR1}"/>
					<pathelement path="${BarcodeJAR2}"/>
				  	
					<pathelement path="${pdfJAR}"/>
					<pathelement path="${jwtJAR}"/>
					<pathelement path="${jettyJAR}"/>
\					<pathelement path="${excelExportJAR}"/>
					
					<pathelement path="${WebServicesDir}/${wsFile1}"/>
					<pathelement path="${WebServicesDir}/${wsFile2}"/>
					<pathelement path="${WebServicesDir}/${wsFile3}"/>
					<pathelement path="${WebServicesDir}/${wsFile4}"/>
					<pathelement path="${WebServicesDir}/${wsFile5}"/>
					<pathelement path="${WebServicesDir}/${wsFile6}"/>
					
          	
          <pathelement path="${mailapiJAR}"/>
					<pathelement path="${jsonJAR}"/>
				</classpath>
			</javac>
		</sequential>
	</macrodef>

	<target name="compile" depends="prepareDir" >
		<compileMacro tarDir="${focWebServer.classDir}"/>
	</target>
	
	<target name="makeJar" depends="compile">
		<jar basedir="${focWebServer.classDir}" destfile="${focWebServer.jarFile}">
	     <fileset dir="${focWebServer.srcDir}" >
         <patternset><commit_msg>focWebServer builder<commit_after><!--
    =====================================================
												  	FocWebServer
    =====================================================
  -->
	
<project name="focWebServer" default="makeJar">
			
	<target name="prepareDir">
		<delete dir="${focWebServer.buildDir}" />
		<mkdir dir="${focWebServer.buildDir}" />
		<mkdir dir="${focWebServer.classDir}" />
		<mkdir dir="${focWebServer.jarDir}" />
	</target>

	<macrodef name="compileMacro">
		<attribute name="tarDir" default="NOT_SET"/>
		<element name="justdoit" implicit="yes"/>
		<sequential>
			<echo message="focWebServer.srcDir = ${focWebServer.srcDir}"/>
			<echo message="tarDir= @{tarDir}"/>
			
			<echo message="jwtJAR= ${jwtJAR}"/>
			<echo message="jettyJAR= ${jettyJAR}"/>
			<echo message="${java.class.path} = ${java.class.path}"/> 
				
			<javac srcdir="${focWebServer.srcDir}" destdir="@{tarDir}" debug="${compile_debug_true}" debuglevel="${compile_debug_lines}" encoding="UTF-8" >
				<classpath>
					<pathelement path="${java.class.path}/"/>
					<pathelement path="${foc.jarFile}/"/>
					<pathelement path="${focAPI.jarFile}/"/>
					<pathelement path="${focShared.jarFile}/"/>
					<pathelement path="${focVaadinTheme.jarFile}/"/>
					<pathelement path="${focOfficeLink.jarFile}/"/>
					<pathelement path="${GWTDir}/${GWTFile1}"/>
					<pathelement path="${vaadinJAR1}"/>
					<pathelement path="${vaadinJAR2}"/>
					<pathelement path="${vaadinJAR3}"/>
					<pathelement path="${vaadinLib1}"/>
	                <pathelement path="${vaadinAddOnJar.ExpandingTextArea}"/>
					<pathelement path="${vaadinAddOnJar.DnD}"/>
					<pathelement path="${vaadinAddOnJar.EverproTreeGrid}"/>
					<pathelement path="${vaadinAddOnJar.ContextHelp}"/>
					<pathelement path="${vaadinAddOnJar.JFreeChartWrapper}"/>
					<pathelement path="${vaadinAddOn.Network}"/>
					<pathelement path="${vaadinAddOnJar.SliderPanel}"/>
					<pathelement path="${TomcatDir}/${TomcatFile1}"/>
					<pathelement path="${jFreeChartDir}/${jFreeChartFile1}"/>
					<pathelement path="${jFreeChartDir}/${jFreeChartFile2}"/>
					<pathelement path="${jFreeChartDir}/${jFreeChartFile3}/"/>
					<pathelement path="${jFreeChartDir}/${jFreeChartFile4}/"/>
					<pathelement path="${jFreeChartDir}/${jFreeChartFile5}/"/>					
					<pathelement path="${JasperReportDir}/${JasperReportFile1}/"/>
          <pathelement path="${JasperReportDir}/${JasperReportFile4}"/>
          <pathelement path="${POIDir}/${POIFile1}"/>
					<pathelement path="${POIDir}/${POIFile3}"/>
          <pathelement path="${POIDir}/${POIFile4}"/>
					<pathelement path="${POIDir}/${POIFile5}"/>
				  <pathelement path="${qrCodeJAR1}"/>
					<pathelement path="${qrCodeJAR2}"/>
					<pathelement path="${qrCodeJAR3}"/>
					<pathelement path="${BarcodeJAR1}"/>
					<pathelement path="${BarcodeJAR2}"/>
				  	
					<pathelement path="${pdfJAR}"/>
					<pathelement path="${jwtJAR}"/>
					<pathelement path="${jettyJAR}"/>
					<pathelement path="${excelExportJAR}"/>
					
					<pathelement path="${WebServicesDir}/${wsFile1}"/>
					<pathelement path="${WebServicesDir}/${wsFile2}"/>
					<pathelement path="${WebServicesDir}/${wsFile3}"/>
					<pathelement path="${WebServicesDir}/${wsFile4}"/>
					<pathelement path="${WebServicesDir}/${wsFile5}"/>
					<pathelement path="${WebServicesDir}/${wsFile6}"/>
					
          	
          <pathelement path="${mailapiJAR}"/>
					<pathelement path="${jsonJAR}"/>
				</classpath>
			</javac>
		</sequential>
	</macrodef>

	<target name="compile" depends="prepareDir" >
		<compileMacro tarDir="${focWebServer.classDir}"/>
	</target>
	
	<target name="makeJar" depends="compile">
		<jar basedir="${focWebServer.classDir}" destfile="${focWebServer.jarFile}">
	     <fileset dir="${focWebServer.srcDir}" >
         <patternset>
{'fraction_non_alphanumeric': 0.23006217896728845, 'fraction_numerical': 0.007839956745066235, 'mean_word_length': 4.323021582733813, 'pattern_counts': {'":': 0, '<': 152, '<?xml version=': 0, '>': 152, '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': '2344329', 'n_tokens_mistral': 2981, 'n_tokens_neox': 2456, 'n_words': 305}