<commit_before><project default="main">

	<!--
		Steps
	 	Ant properties available at runtime: 
	
	 - eclipse.pdebuild.scripts: the org.eclipse.eclipse.pdebuild.scripts folder
	 - eclipse.pdebuild.home: the root folder of pde build
	 - eclipse.pdebuild.templates: the  templates folder
	
	-->

	<!--build monitoring information:  e-mail, smtp server, build label-->
	<property file="monitor.properties"/>
	
	<!--location of PDE Build configuration files for builder and packager-->
	<property name="eclipse.build.configs" value="${basedir}/eclipse/buildConfigs" />
	
	<property name="base.builder" value="${basedir}/../org.eclipse.releng.basebuilder" />
	
	<!--location of properties file containing last tag used for integration build-->
	<property name="mapTag.properties" value="/home/users/releng/buildTools/eclipse33/mapTag.properties"/>
	
	
	<!--default buildDirectory-->
	<property name="buildDirectory" value="${basedir}/../src" />
	
	<!--default location for build output, parent to ${buildId}-->
	<property name="postingDirectory" value="${buildDirectory}" />

    <!--remote sign machine login infomation-->
    <property name="username.sign" value="" />
    <property name="password.sign" value="" />
    <property name="hostname.sign" value="" />
    <property name="home.dir" value="" />
    <property name="sign.dir" value="" />

	<target name="main" depends="init">
		<antcall target="prepareMapFile"/>
		<antcall target="prepareSrc" />
		<antcall target="buildBirtFeature"/>
		<antcall target="buildBirtOSGI"/>
		<antcall target="buildBirtChartOSGI"/>
		<antcall target="fetchBirtWtpFeature"/>
		<antcall target="buildBirtTestFeature"/>
		<antcall target="fetchRCP"/>
		<antcall target="buildBirtRCPFeature"/>
		<antcall target="unpackUpdateJarsForPackaging"/>
		<antcall target="buildBirtWebViewer"/>
		<antcall target="BuildChartViewer"/>
		<antcall target="CreateDistribute"/>
		
		<antcall target="buildBirtNLFeature"/>
		<antcall target="iPortalSetup"/>
		<antcall target="buildBirtWtpFeature"/>

		<antcall target="verifyCompile"/>
		<antcall target="CreateUpdateSite"/>
		
		<parallel failonany="true">
			<sequential>
		        <antcall target="runBirtTest"/>
			</sequential>
			<sequential>		
				<antcall target="generateJavaCrossReference"/>
				<antcall target="generateDocumentCheck"/>
				<antcall target="generateJavaDoc"/>   
			</sequential>
		</parallel>	
	</target>

	<target name="init">
		
		<ant antfile="build.xml" target="init" />
		
		<property file="${buildDirectory}/label.properties" />
		
		<condition property="fetchTag" value="CVS=HEAD,GIT=${mapVersionTag}">
			<equals arg1="${buildType}" arg2="N" />
		</condition>		
		<condition property="forceContextQualifier" value="${buildId}">
			<equals arg1="${buildType}" arg2="N" />
		</condition>
		<condition property="generateFeatureVersionSuffix" value="false">
			<equals arg1="${buildType}" arg2="N" />
		</condition>
		<!--
		<condition property="createUpdateSite" value="true">
			<equals arg1="${buildType}" arg2="I" />
		</condition>
		-->
		<!-- concise build setting -->
		
		<condition property="skip.build.OSGI" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
		<condition property="skip.build.WTP" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
		<condition property="skip.build.testsuite" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>	
		<condition property="skip.unit.test" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
		<condition property="skip.allinone.linux" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
		<condition property="prepare.src.flag" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
		
		<condition property="skip.build.rcp" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
				
		<condition property="update.batik" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
	
		<condition property="repackage.allinone" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
		
		<condition property="build.runtimeOSGI" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>

		<!--compiler args-->
		<property name="compilerArg" value="-enableJavadoc -encoding utf-8 -warn:-discouraged,forbidden" />
		<property name="javacSource" value="1.5" />
		<property name="javacTarget" value="1.5" />
		<property name="javacDebugInfo" value="true" />
		<property name="javacFailOnError" value="false" />
		<property name="javacVerbose" value="true" />
		<property name="logExtension" value=".xml" />
		<!--this property required as of Eclipse 3.0 stream builds > 20031126 -->
		<property name="buildingOSGi" value="true" />
		<!--zip args-->
		<property name="zipargs" value="-y -qq" />
		<!--unzip args-->
		<property name="unzipArgs" value="-qq" />
	</target>
	
	<target name="buildBirtFeature">
		<antcall target="logger">
			<param name="message" value="BIRT sdk feature build started"/>
		</antcall><commit_msg>update javacSource and javacTarget to 1.6 for 4.2.x build<commit_after><project default="main">

	<!--
		Steps
	 	Ant properties available at runtime: 
	
	 - eclipse.pdebuild.scripts: the org.eclipse.eclipse.pdebuild.scripts folder
	 - eclipse.pdebuild.home: the root folder of pde build
	 - eclipse.pdebuild.templates: the  templates folder
	
	-->

	<!--build monitoring information:  e-mail, smtp server, build label-->
	<property file="monitor.properties"/>
	
	<!--location of PDE Build configuration files for builder and packager-->
	<property name="eclipse.build.configs" value="${basedir}/eclipse/buildConfigs" />
	
	<property name="base.builder" value="${basedir}/../org.eclipse.releng.basebuilder" />
	
	<!--location of properties file containing last tag used for integration build-->
	<property name="mapTag.properties" value="/home/users/releng/buildTools/eclipse33/mapTag.properties"/>
	
	
	<!--default buildDirectory-->
	<property name="buildDirectory" value="${basedir}/../src" />
	
	<!--default location for build output, parent to ${buildId}-->
	<property name="postingDirectory" value="${buildDirectory}" />

    <!--remote sign machine login infomation-->
    <property name="username.sign" value="" />
    <property name="password.sign" value="" />
    <property name="hostname.sign" value="" />
    <property name="home.dir" value="" />
    <property name="sign.dir" value="" />

	<target name="main" depends="init">
		<antcall target="prepareMapFile"/>
		<antcall target="prepareSrc" />
		<antcall target="buildBirtFeature"/>
		<antcall target="buildBirtOSGI"/>
		<antcall target="buildBirtChartOSGI"/>
		<antcall target="fetchBirtWtpFeature"/>
		<antcall target="buildBirtTestFeature"/>
		<antcall target="fetchRCP"/>
		<antcall target="buildBirtRCPFeature"/>
		<antcall target="unpackUpdateJarsForPackaging"/>
		<antcall target="buildBirtWebViewer"/>
		<antcall target="BuildChartViewer"/>
		<antcall target="CreateDistribute"/>
		
		<antcall target="buildBirtNLFeature"/>
		<antcall target="iPortalSetup"/>
		<antcall target="buildBirtWtpFeature"/>

		<antcall target="verifyCompile"/>
		<antcall target="CreateUpdateSite"/>
		
		<parallel failonany="true">
			<sequential>
		        <antcall target="runBirtTest"/>
			</sequential>
			<sequential>		
				<antcall target="generateJavaCrossReference"/>
				<antcall target="generateDocumentCheck"/>
				<antcall target="generateJavaDoc"/>   
			</sequential>
		</parallel>	
	</target>

	<target name="init">
		
		<ant antfile="build.xml" target="init" />
		
		<property file="${buildDirectory}/label.properties" />
		
		<condition property="fetchTag" value="CVS=HEAD,GIT=${mapVersionTag}">
			<equals arg1="${buildType}" arg2="N" />
		</condition>		
		<condition property="forceContextQualifier" value="${buildId}">
			<equals arg1="${buildType}" arg2="N" />
		</condition>
		<condition property="generateFeatureVersionSuffix" value="false">
			<equals arg1="${buildType}" arg2="N" />
		</condition>
		<!--
		<condition property="createUpdateSite" value="true">
			<equals arg1="${buildType}" arg2="I" />
		</condition>
		-->
		<!-- concise build setting -->
		
		<condition property="skip.build.OSGI" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
		<condition property="skip.build.WTP" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
		<condition property="skip.build.testsuite" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>	
		<condition property="skip.unit.test" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
		<condition property="skip.allinone.linux" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
		<condition property="prepare.src.flag" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
		
		<condition property="skip.build.rcp" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
				
		<condition property="update.batik" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
	
		<condition property="repackage.allinone" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>
		
		<condition property="build.runtimeOSGI" value="true">
			<equals arg1="${HQ.BIRT.skip}" arg2="true" />
		</condition>

		<!--compiler args-->
		<property name="compilerArg" value="-enableJavadoc -encoding utf-8 -warn:-discouraged,forbidden" />
		<property name="javacSource" value="1.6" />
		<property name="javacTarget" value="1.6" />
		<property name="javacDebugInfo" value="true" />
		<property name="javacFailOnError" value="false" />
		<property name="javacVerbose" value="true" />
		<property name="logExtension" value=".xml" />
		<!--this property required as of Eclipse 3.0 stream builds > 20031126 -->
		<property name="buildingOSGi" value="true" />
		<!--zip args-->
		<property name="zipargs" value="-y -qq" />
		<!--unzip args-->
		<property name="unzipArgs" value="-qq" />
	</target>
	
	<target name="buildBirtFeature">
		<antcall target="logger">
			<param name="message" value="BIRT sdk feature build started"/>
		</antcall>
{'fraction_non_alphanumeric': 0.1846049046321526, 'fraction_numerical': 0.009147528221097703, 'mean_word_length': 4.449098621420997, 'pattern_counts': {'":': 0, '<': 233, '<?xml version=': 0, '>': 235, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '6956371', 'n_tokens_mistral': 3622, 'n_tokens_neox': 3183, 'n_words': 657}