<commit_before><project default="jar">
	<!-- ================================================================== -->
	<target name="init">
		<property name="build.dir" value="D:/Temp/AdapterFramework/build"/>
		<delete dir="${build.dir}"/>
		<mkdir dir="${build.dir}"/>
		<property file="webapp/src/main/webapp/WEB-INF/classes/AppConstants.properties" prefix="ac"/>
		<propertyfile file="${build.dir}/IAF.properties">
			<entry key="timestamp" type="date" pattern="yyyyMMdd-HHmm" value="now"/>
		</propertyfile>
		<property file="${build.dir}/IAF.properties" prefix="iaf"/>
	</target>
	<!-- ================================================================== -->
	<target name="jar" description="Create the jar file" depends="init">
		<jar destfile="${build.dir}/AdapterFramework ${ac.application.version}.jar" duplicate="preserve">
			<fileset dir="coolgen/src/main/java"/>
			<fileset dir="core/src/main/java"/>
			<fileset dir="core/src/main/resources"/>
			<fileset dir="ibm/src/main/java"/>
			<fileset dir="ifsa/src/main/java"/>
			<fileset dir="sap/src/main/java"/>
			<fileset dir="tibco/src/main/java"/>
			<fileset dir="webapp/src/main/webapp/WEB-INF/classes"/>
			<manifest>
				<attribute name="Built-By" value="${user.name}"/>
				<section name="nl/nn/adapterframework/">
					<attribute name="Specification-Title" value="${ac.application.name}"/>
					<attribute name="Specification-Version" value="${ac.application.version}"/>
					<attribute name="Specification-Vendor" value="Nationale-Nederlanden"/>
					<attribute name="Implementation-Title" value="nl.nn.adapterframework"/>
					<attribute name="Implementation-Version" value="${ac.application.version}_${iaf.timestamp}"/> 
					<attribute name="Implementation-Vendor" value="Nationale-Nederlanden"/>
				</section>
			</manifest>		
		</jar>
	</target>
	<!-- ================================================================== -->
	<target name="javadoc" description="Create the javadoc documentation">
		<property name="javadoc.dir" value="${build.dir}/api"/>
		<delete dir="${javadoc.dir}"/>
		<mkdir dir="${javadoc.dir}"/>
		<!--
			Disable "extends RPCRouterServlet" in SoapRouterServlet as a
			workaround for the following NPE when running javadoc:
			  [javadoc] Standard Doclet version 1.6.0
			  [javadoc] Building tree for all the packages and classes...
			  [javadoc] java.lang.NullPointerException
			  [javadoc] 	at com.sun.tools.javadoc.TypeMaker.getType(TypeMaker.java:79)
			  [javadoc] 	...
		-->
		<replace file="JavaSource/nl/nn/adapterframework/soap/SoapRouterServlet.java" token="extends RPCRouterServlet" value="/*extends RPCRouterServlet*/"/>
		<replace file="JavaSource/nl/nn/adapterframework/soap/SoapRouterServlet.java" token="super.init(config);" value="/*super.init(config);*/"/>
		<replace file="JavaSource/nl/nn/adapterframework/soap/SoapRouterServlet.java" token="super.doPost(req,res);" value="/*super.doPost(req,res);*/"/>
		<javadoc
			sourcepath="JavaSource"
			destdir="${javadoc.dir}"
			windowtitle="${ac.application.name} v${ac.application.version} Developer Documentation"
			use="true"
			author="true"
			doctitle="&lt;h1&gt;IBIS AdapterFramework v${ac.application.version} Developer Documentation&lt;/h1&gt;"
			bottom="&lt;i&gt;MIX/IBIS&lt;/i&gt;"
			>
			<classpath>
				<fileset dir="WebContent/WEB-INF/lib">
					<include name="*.jar"/>
				</fileset>
				<fileset dir="lib">
					<include name="*.jar"/>
				</fileset>
			</classpath>
		</javadoc>
		<replace file="JavaSource/nl/nn/adapterframework/soap/SoapRouterServlet.java" token="/*extends RPCRouterServlet*/" value="extends RPCRouterServlet"/>
		<replace file="JavaSource/nl/nn/adapterframework/soap/SoapRouterServlet.java" token="/*super.init(config);*/" value="super.init(config);"/>
		<replace file="JavaSource/nl/nn/adapterframework/soap/SoapRouterServlet.java" token="/*super.doPost(req,res);*/" value="super.doPost(req,res);"/>
	</target>
	<!-- ================================================================== -->
	<target name="testproject" description="Create the jar file and copy it to a test project" depends="jar">
		<property name="ibis.testproject" value="Ibis4TestIAFWEB"/>
		<copy file="${build.dir}/AdapterFramework ${ac.application.version}.jar" todir="../${ibis.testproject}/WebContent/WEB-INF/lib"/>
		<!-- eclipse.convertPath fileSystemPath="../${ibis.testproject}/WebContent/WEB-INF/lib" property="project.resource"/>
		<eclipse.refreshLocal resource="${project.resource}" depth="infinite"/ -->
	</target>
</project>
<commit_msg>fixed build script for javadoc<commit_after><project default="jar">
	<!-- ================================================================== -->
	<target name="init">
		<property name="build.dir" value="D:/Temp/AdapterFramework/build"/>
		<delete dir="${build.dir}"/>
		<mkdir dir="${build.dir}"/>
		<property file="webapp/src/main/webapp/WEB-INF/classes/AppConstants.properties" prefix="ac"/>
		<propertyfile file="${build.dir}/IAF.properties">
			<entry key="timestamp" type="date" pattern="yyyyMMdd-HHmm" value="now"/>
		</propertyfile>
		<property file="${build.dir}/IAF.properties" prefix="iaf"/>
	</target>
	<!-- ================================================================== -->
	<target name="jar" description="Create the jar file" depends="init">
		<jar destfile="${build.dir}/AdapterFramework ${ac.application.version}.jar" duplicate="preserve">
			<fileset dir="coolgen/src/main/java"/>
			<fileset dir="core/src/main/java"/>
			<fileset dir="core/src/main/resources"/>
			<fileset dir="ibm/src/main/java"/>
			<fileset dir="ifsa/src/main/java"/>
			<fileset dir="sap/src/main/java"/>
			<fileset dir="tibco/src/main/java"/>
			<fileset dir="webapp/src/main/webapp/WEB-INF/classes"/>
			<manifest>
				<attribute name="Built-By" value="${user.name}"/>
				<section name="nl/nn/adapterframework/">
					<attribute name="Specification-Title" value="${ac.application.name}"/>
					<attribute name="Specification-Version" value="${ac.application.version}"/>
					<attribute name="Specification-Vendor" value="Nationale-Nederlanden"/>
					<attribute name="Implementation-Title" value="nl.nn.adapterframework"/>
					<attribute name="Implementation-Version" value="${ac.application.version}_${iaf.timestamp}"/> 
					<attribute name="Implementation-Vendor" value="Nationale-Nederlanden"/>
				</section>
			</manifest>		
		</jar>
	</target>
	<!-- ================================================================== -->
	<target name="javadoc" description="Create the javadoc documentation">
		<property name="javadoc.dir" value="${build.dir}/api"/>
		<delete dir="${javadoc.dir}"/>
		<mkdir dir="${javadoc.dir}"/>

		<path id="iaf.classpath">
			<!--pathelement path="D:\Data\git_home\iaf-lib\iaf-lib\sap\sapidoc-1.0.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\quartz-1.6.6.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\stax-1.2.0.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\saaj.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\rowset.jar;D:\Data\git_home\iaf-lib\iaf-lib\ifsa\ifsajmsXA-22.10.055(beta).jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\xml-apis-xerces-2.9.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\saxon9he.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\jakarta-oro.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\cglib-nodep-2.1_3.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\xmlunit1.0.jar;D:\Data\git_home\iaf-lib\iaf-lib\ifsa\ifsajcil.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\wss4j-1.5.4.jar;D:\Data\git_home\iaf-lib\iaf-lib\coolgen\NNCoolgenJavaProxies.jar;D:\Data\git_home\iaf-lib\iaf-lib\ifsa\ifsaj2ee.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\xercesImpl-2.9.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\log4j-1.2.16.jar;D:\Data\git_home\iaf-lib\iaf-lib\ifsa\IFSACommon.jar;D:\Data\git_home\iaf-lib\iaf-lib\sap\sapjco3.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-digester-1.8.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\aspectjrt.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-lang-2.6.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisXtags.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\mett-server-1.0.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-logging.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\jdbc2_0-stdext.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-pool-1.2.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-dbcp.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-collections-3.2.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisXalan.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-httpclient-3.0.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\jaxen-1.1.6.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisXalanSerializer.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-services.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\tibjmsadmin.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisBtm.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\xmlsec-1.4.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\easybeans-component-carol-1.1.0-RC1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\soap-2_3_1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\httpcore-4.2.4.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\httpclient-4.2.5.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\aspectjweaver.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\howl.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisTestTool.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisServiceDispatcher_1.3.jar;D:\Data\git_home\iaf-lib\iaf-lib\ifsa\IFSARequestorEJB.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-validator.jar;D:\Data\git_home\iaf-lib\iaf-lib\ibm\com.ibm.mqjms.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\tibjms.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-beanutils-core-1.7.0.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\stax-utils.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\spring-2.5.6-sec01.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\cg65jpip.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\mail-1.2.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\NNCoolgenJavaProxies.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\xmlbeans-2.4.0.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-resources.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisJSon.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-fileupload.jar;D:\Data\git_home\iaf-lib\iaf-lib\eclipse\j2ee.jar;D:\Data\git_home\iaf-lib\iaf-lib\tibco\tibjmsadmin.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\jotm.jar;D:\Data\git_home\iaf-lib\iaf-lib\tibco\tibjms.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\stax-1.1.2-dev.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\opensaml-1.0.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\stax-api-1.0.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\axis-1.4.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-codec-1.5.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\j2ssh.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\Echo2.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\dom4j-1.6.1.jar;D:\Data\git_home\iaf-lib\iaf-lib\sap\sapjco.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-cli-1.0.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\ehcache-1.5.0.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\struts-11-final-Websphere.jar;D:\Data\git_home\iaf-lib\iaf-lib\ibm\com.ibm.ws.runtime_6.1.0.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\TestTool.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\jcifs-1.3.17.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\commons-net-1.4.1.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\IbisWsdl4j-1.6.2.jar;D:\Data\git_home\iaf-lib\iaf-lib\sap\sapidocjco-1.0.2.jar;D:\Data\git_home\iaf-lib\iaf-lib\sap\sapidoc3.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\xtags.jar;D:\Data\git_home\iaf-lib\iaf-lib\ifsa\mett-server.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\activation.jar;D:\Data\git_home\iaf-head\webapp\src\main\webapp\WEB-INF\lib\backport-util-concurrent-3.0.jar"/-->
			<fileset dir="webapp/src/main/webapp/WEB-INF/lib">
				<include name="**/*.jar"/>
			</fileset>
			<fileset dir="../iaf-lib/iaf-lib">
				<include name="**/*.jar"/>
			</fileset>
		</path>

		<path id="iaf.sourcepath">
			<!--pathelement path="D:\Data\git_home\iaf-head\core\src\main\resources;D:\Data\git_home\iaf-head\core\src\main\java;D:\Data\git_home\iaf-head\sap\src\main\java;D:\Data\git_home\iaf-head\ifsa\src\main\java;D:\Data\git_home\iaf-head\ibm\src\main\java;D:\Data\git_home\iaf-head\tibco\src\main\java;D:\Data\git_home\iaf-head\coolgen\src\main\java"/-->
			<pathelement path="coolgen/src/main/java"/>
			<pathelement path="core/src/main/java"/>
			<pathelement path="core/src/main/resources"/>
			<pathelement path="ibm/src/main/java"/>
			<pathelement path="ifsa/src/main/java"/>
			<pathelement path="sap/src/main/java"/>
			<pathelement path="tibco/src/main/java"/>
		</path>

		<javadoc
			classpathref="iaf.classpath"
			sourcepathref="iaf.sourcepath"
			destdir="${javadoc.dir}"
			windowtitle="${ac.application.name} v${ac.application.version} Developer Documentation"
			use="true"
			author="true"
			doctitle="&lt;h1&gt;IBIS AdapterFramework v${ac.application.version} Developer Documentation&lt;/h1&gt;"
			bottom="&lt;i&gt;MIX/IBIS&lt;/i&gt;">
		</javadoc>

		<zip destfile="${build.dir}/api-v${ac.application.version}.zip">
			<fileset dir="${javadoc.dir}" casesensitive="no" defaultexcludes="false">
				<include name="**" />
				<include name="*.*" />
			</fileset>
		</zip>
	</target>
	<!-- ================================================================== -->
	<target name="testproject" description="Create the jar file and copy it to a test project" depends="jar">
		<property name="ibis.testproject" value="Ibis4TestIAFWEB"/>
		<copy file="${build.dir}/AdapterFramework ${ac.application.version}.jar" todir="../${ibis.testproject}/WebContent/WEB-INF/lib"/>
		<!-- eclipse.convertPath fileSystemPath="../${ibis.testproject}/WebContent/WEB-INF/lib" property="project.resource"/>
		<eclipse.refreshLocal resource="${project.resource}" depth="infinite"/ -->
	</target>
</project>

{'fraction_non_alphanumeric': 0.23147728009334284, 'fraction_numerical': 0.009593569715433979, 'mean_word_length': 4.436222692036646, 'pattern_counts': {'":': 0, '<': 147, '<?xml version=': 0, '>': 147, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1581974', 'n_tokens_mistral': 6595, 'n_tokens_neox': 6023, 'n_words': 406}