<commit_before><?xml version="1.0"?>

<!--

	ADOBE SYSTEMS INCORPORATED
	Copyright 2006-2007 Adobe Systems Incorporated
	All Rights Reserved.

	NOTICE: Adobe permits you to use, modify, and distribute this file
	in accordance with the terms of the license agreement accompanying it.

-->

<project name="framework" default="main" basedir=".">

	<echo message="Please set the environment variable ANT_OPTS to -Xmx256m"/>

	<property name="FLEX_HOME" value="${basedir}/.."/>
	<property name="framework.dir" value="${basedir}/projects/framework"/>
	<property name="airframework.dir" value="${basedir}/projects/airframework"/>
	<property name="rpc.dir" value="${basedir}/projects/rpc"/>
	<property name="flex.dir" value="${basedir}/projects/flex"/>
	<property name="haloclassic.dir" value="${basedir}/projects/haloclassic"/>
	<property name="utilities.dir" value="${basedir}/projects/utilities"/>
	<property name="locale" value="en_US"/>
	
	<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>

	<target name="main" depends="framework,framework_rb,airframework,airframework_rb,rpc,rpc_rb,flex,haloclassic,utilities"/>

	<target name="framework" description="Builds libs/framework.swc">
		<compc include-classes="FrameworkClasses" output="${basedir}/libs/framework.swc" locale="" accessible="true">
			<include-namespaces uri="http://www.adobe.com/2006/mxml"/>
			<namespace uri="http://www.adobe.com/2006/mxml" manifest="${framework.dir}/manifest.xml"/>
			<source-path path-element="${framework.dir}/src"/>
			<external-library-path dir="${basedir}/libs/player" includes="playerglobal.swc"/>
			<library-path/>
			<include-file name="defaults.css" path="${framework.dir}/defaults.css"/>
			<include-file name="defaults-2.0.0.css" path="${framework.dir}/defaults-2.0.0.css"/>
			<include-file name="defaults-2.0.1.css" path="${framework.dir}/defaults-2.0.1.css"/>
			<include-file name="Assets.swf" path="${framework.dir}/assets/Assets.swf"/>
			<keep-as3-metadata name="Bindable" />
			<keep-as3-metadata name="Managed" />
			<keep-as3-metadata name="ChangeEvent" />
			<keep-as3-metadata name="NonCommittingChangeEvent" />
			<keep-as3-metadata name="Transient" />			
		</compc>
	</target>
	
	<target name="framework_rb" description="Builds locale/en_US/framework_rb.swc">
		<compc output="${basedir}/locale/${locale}/framework_rb.swc" locale="${locale}">
            <include-resource-bundles bundle="SharedResources"/>
            <include-resource-bundles bundle="collections"/>
            <include-resource-bundles bundle="containers"/>
            <include-resource-bundles bundle="controls"/>
            <include-resource-bundles bundle="core"/>
            <include-resource-bundles bundle="effects"/>
            <include-resource-bundles bundle="formatters"/>
            <include-resource-bundles bundle="logging"/>
            <include-resource-bundles bundle="skins"/>
            <include-resource-bundles bundle="states"/>
            <include-resource-bundles bundle="styles"/>
            <include-resource-bundles bundle="utils"/>
            <include-resource-bundles bundle="validators"/>
			<source-path path-element="${framework.dir}/bundles/${locale}/src"/>
			<source-path path-element="${framework.dir}/src"/>
			<external-library-path dir="${basedir}/libs/player" includes="playerglobal.swc"/>
			<library-path/>
		</compc>
	</target>

	<target name="airframework" description="Builds libs/airframework.swc">
		<compc include-classes="AIRFrameworkClasses" output="${basedir}/libs/air/airframework.swc" locale="" accessible="true">
			<include-namespaces uri="http://www.adobe.com/2006/mxml"/>
			<namespace uri="http://www.adobe.com/2006/mxml" manifest="${airframework.dir}/manifest.xml"/>
			<source-path path-element="${airframework.dir}/src"/>
			<library-path/>
			<external-library-path dir="${basedir}/libs/air" includes="airglobal.swc"/>
			<external-library-path dir="${basedir}/libs" includes="framework.swc"/>
			<include-file name="defaults.css" path="${airframework.dir}/defaults.css"/>
			<include-file name="Assets.swf" path="${airframework.dir}/assets/Assets.swf"/>
			<include-file name="ComputerIcon.swf" path="${airframework.dir}/assets/ComputerIcon.swf"/>
			<include-file name="gripper_up.png" path="${airframework.dir}/assets/gripper_up.png"/>
			<include-file name="mac_close_down.png" path="${airframework.dir}/assets/mac_close_down.png"/>
			<include-file name="mac_close_over.png" path="${airframework.dir}/assets/mac_close_over.png"/>
			<include-file name="mac_close_up.png" path="${airframework.dir}/assets/mac_close_up.png"/>
			<include-file name="mac_max_dis.png" path="${airframework.dir}/assets/mac_max_dis.png"/>
			<include-file name="mac_max_down.png" path="${airframework.dir}/assets/mac_max_down.png"/>
			<include-file name="mac_max_over.png" path="${airframework.dir}/assets/mac_max_over.png"/>
			<include-file name="mac_max_up.png" path="${airframework.dir}/assets/mac_max_up.png"/>
			<include-file name="mac_min_dis.png" path="${airframework.dir}/assets/mac_min_dis.png"/>
			<include-file name="mac_min_down.png" path="${airframework.dir}/assets/mac_min_down.png"/>
			<include-file name="mac_min_over.png" path="${airframework.dir}/assets/mac_min_over.png"/>
			<include-file name="mac_min_up.png" path="${airframework.dir}/assets/mac_min_up.png"/>
			<include-file name="win_close_down.png" path="${airframework.dir}/assets/win_close_down.png"/>
			<include-file name="win_close_over.png" path="${airframework.dir}/assets/win_close_over.png"/>
			<include-file name="win_close_up.png" path="${airframework.dir}/assets/win_close_up.png"/>
			<include-file name="win_max_dis.png" path="${airframework.dir}/assets/win_max_dis.png"/>
			<include-file name="win_max_down.png" path="${airframework.dir}/assets/win_max_down.png"/>
			<include-file name="win_max_over.png" path="${airframework.dir}/assets/win_max_over.png"/>
			<include-file name="win_max_up.png" path="${airframework.dir}/assets/win_max_up.png"/>
			<include-file name="win_min_dis.png" path="${airframework.dir}/assets/win_min_dis.png"/>
			<include-file name="win_min_down.png" path="${airframework.dir}/assets/win_min_down.png"/>
			<include-file name="win_min_over.png" path="${airframework.dir}/assets/win_min_over.png"/>
			<include-file name="win_min_up.png" path="${airframework.dir}/assets/win_min_up.png"/>
			<include-file name="win_restore_down.png" path="${airframework.dir}/assets/win_restore_down.png"/>
			<include-file name="win_restore_over.png" path="${airframework.dir}/assets/win_restore_over.png"/>
			<include-file name="win_restore_up.png" path="${airframework.dir}/assets/win_restore_up.png"/>
		</compc>
	</target>

	<target name="airframework_rb" description="Builds locale/en_US/airframework_rb.swc">
		<compc output="${basedir}/locale/${locale}/airframework_rb.swc" locale="${locale}">
            <include-resource-bundles bundle="SharedResources"/>
            <include-resource-bundles bundle="aircontrols"/>
            <include-resource-bundles bundle="collections"/>
            <include-resource-bundles bundle="containers"/>
            <include-resource-bundles bundle="controls"/>
            <include-resource-bundles bundle="core"/>
            <include-resource-bundles bundle="effects"/>
            <include-resource-bundles bundle="formatters"/>                        
            <include-resource-bundles bundle="skins"/>
			<include-resource-bundles bundle="styles"/>
			<source-path path-element="${airframework.dir}/bundles/${locale}/src"/>
			<source-path path-element="${airframework.dir}/src"/>
			<source-path path-element="${framework.dir}/src"/>
			<source-path path-element="${framework.dir}/bundles/${locale}/src"/>
			<external-library-path dir="${basedir}/libs/player" includes="playerglobal.swc"/>
			<library-path/>
		</compc>
	</target>

	<target name="rpc" description="Builds libs/rpc.swc">
		<compc include-classes="RPCClasses" output="${basedir}/libs/rpc.swc" locale="" accessible="true">
			<include-namespaces uri="http://www.adobe.com/2006/mxml"/>
			<namespace uri="http://www.adobe.com/2006/mxml" manifest="${rpc.dir}/manifest.xml"/>
			<source-path path-element="${rpc.dir}/src"/>
			<external-library-path dir="${basedir}/libs/player" includes="playerglobal.swc"/>
			<external-library-path dir="${basedir}/libs" includes="framework.swc"/>
			<library-path/>
		</compc>
	</target>
	
	<target name="rpc_rb" description="Builds locale/en_US/rpc_rb.swc">
		<compc output="${basedir}/locale/${locale}/rpc_rb.swc" locale="${locale}">
            <include-resource-bundles bundle="collections"/>
			<include-resource-bundles bundle="core"/>
			<include-resource-bundles bundle="logging"/>
			<include-resource-bundles bundle="messaging"/>
			<include-resource-bundles bundle="rpc"/>
			<include-resource-bundles bundle="styles"/>
			<include-resource-bundles bundle="utils"/>
			<source-path path-element="${rpc.dir}/bundles/${locale}/src"/>
			<source-path path-element="${framework.dir}/bundles/${locale}/src"/>
			<source-path path-element="${framework.dir}/src"/>
			<external-library-path dir="${basedir}/libs/player" includes="playerglobal.swc"/>
			<library-path/>
		</compc>
	</target>

	<target name="flex" description="Builds flex.swc">
		<compc include-classes="FlexClasses" output="${basedir}/libs/flex.swc" locale="" accessible="true">
			<source-path path-element="${flex.dir}/src"/>
			<source-path path-element="${framework.dir}/src"/>
			<library-path/>
		</compc>
	</target>

	<target name="haloclassic" description="Builds haloclassic.swc">
		<compc include-classes="HaloClassicClasses" output="${basedir}/themes/HaloClassic/haloclassic.swc" locale="" accessible="true">
			<source-path path-element="${haloclassic.dir}/src"/>
			<external-library-path dir="${basedir}/libs/player" includes="playerglobal.swc"/>
			<external-library-path dir="${basedir}/libs" includes="framework.swc"/>
			<library-path/>
			<include-file name="defaults.css" path="${haloclassic.dir}/defaults.css"/>
			<include-file name="Assets.swf" path="${haloclassic.dir}/assets/Assets.swf"/>
		</compc>
	</target>

	<target name="utilities" description="Builds utilities.swc">
		<compc include-classes="UtilitiesClasses" output="${basedir}/libs/utilities.swc" locale="" accessible="true">
			<source-path path-element="${utilities.dir}/src"/>
			<source-path path-element="${framework.dir}/src"/>
			<source-path path-element="${framework.dir}/bundles/{locale}/src"/>
			<library-path/>
		</compc>
	</target>

	<target name="clean" description="Cleans all SWCs and their resource bundles">
		<delete failonerror="false">
			<fileset dir="${basedir}/libs" includes="framework.swc,rpc.swc,flex.swc,utilities.swc"/>
			<fileset dir="${basedir}/libs/air" includes="airframework.swc"/>
			<fileset dir="${basedir}/locale/${locale}" includes="framework_rb.swc,airframework_rb.swc,rpc_rb.swc"/>
			<fileset dir="${basedir}/themes/HaloClassic" includes="haloclassic.swc"/>
		</delete>
	</target>

</project>
<commit_msg>Transferred from the Adobe Open Source Subversion Repository<commit_after><?xml version="1.0"?>

<!--

	ADOBE SYSTEMS INCORPORATED
	Copyright 2006-2007 Adobe Systems Incorporated
	All Rights Reserved.

	NOTICE: Adobe permits you to use, modify, and distribute this file
	in accordance with the terms of the license agreement accompanying it.

-->

<project name="framework" default="main" basedir=".">

	<echo message="Please set the environment variable ANT_OPTS to -Xmx256m"/>

	<property name="FLEX_HOME" value="${basedir}/.."/>
	<property name="framework.dir" value="${basedir}/projects/framework"/>
	<property name="airframework.dir" value="${basedir}/projects/airframework"/>
	<property name="rpc.dir" value="${basedir}/projects/rpc"/>
	<property name="flex.dir" value="${basedir}/projects/flex"/>
	<property name="haloclassic.dir" value="${basedir}/projects/haloclassic"/>
	<property name="utilities.dir" value="${basedir}/projects/utilities"/>
	<property name="locale" value="en_US"/>
	<property name="playerglobal.version" value="9"/>
	
	<taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>

	<target name="main" depends="framework,framework_rb,airframework,airframework_rb,rpc,rpc_rb,flex,haloclassic,utilities"/>

	<target name="framework" description="Builds libs/framework.swc">
		<compc include-classes="FrameworkClasses" output="${basedir}/libs/framework.swc" locale="" accessible="true">
			<include-namespaces uri="http://www.adobe.com/2006/mxml"/>
			<namespace uri="http://www.adobe.com/2006/mxml" manifest="${framework.dir}/manifest.xml"/>
			<source-path path-element="${framework.dir}/src"/>
			<external-library-path dir="${basedir}/libs/player/${playerglobal.version}" includes="playerglobal.swc"/>
			<library-path/>
			<include-file name="defaults.css" path="${framework.dir}/defaults.css"/>
			<include-file name="defaults-2.0.0.css" path="${framework.dir}/defaults-2.0.0.css"/>
			<include-file name="defaults-2.0.1.css" path="${framework.dir}/defaults-2.0.1.css"/>
			<include-file name="Assets.swf" path="${framework.dir}/assets/Assets.swf"/>
			<keep-as3-metadata name="Bindable" />
			<keep-as3-metadata name="Managed" />
			<keep-as3-metadata name="ChangeEvent" />
			<keep-as3-metadata name="NonCommittingChangeEvent" />
			<keep-as3-metadata name="Transient" />			
		</compc>
	</target>
	
	<target name="framework_rb" description="Builds locale/en_US/framework_rb.swc">
		<compc output="${basedir}/locale/${locale}/framework_rb.swc" locale="${locale}">
            <include-resource-bundles bundle="SharedResources"/>
            <include-resource-bundles bundle="collections"/>
            <include-resource-bundles bundle="containers"/>
            <include-resource-bundles bundle="controls"/>
            <include-resource-bundles bundle="core"/>
            <include-resource-bundles bundle="effects"/>
            <include-resource-bundles bundle="formatters"/>
            <include-resource-bundles bundle="logging"/>
            <include-resource-bundles bundle="skins"/>
            <include-resource-bundles bundle="states"/>
            <include-resource-bundles bundle="styles"/>
            <include-resource-bundles bundle="utils"/>
            <include-resource-bundles bundle="validators"/>
			<source-path path-element="${framework.dir}/bundles/${locale}/src"/>
			<source-path path-element="${framework.dir}/src"/>
			<external-library-path dir="${basedir}/libs/player/${playerglobal.version}" includes="playerglobal.swc"/>
			<library-path/>
		</compc>
	</target>

	<target name="airframework" description="Builds libs/airframework.swc">
		<compc include-classes="AIRFrameworkClasses" output="${basedir}/libs/air/airframework.swc" locale="" accessible="true">
			<include-namespaces uri="http://www.adobe.com/2006/mxml"/>
			<namespace uri="http://www.adobe.com/2006/mxml" manifest="${airframework.dir}/manifest.xml"/>
			<source-path path-element="${airframework.dir}/src"/>
			<library-path/>
			<external-library-path dir="${basedir}/libs/air" includes="airglobal.swc"/>
			<external-library-path dir="${basedir}/libs" includes="framework.swc"/>
			<include-file name="defaults.css" path="${airframework.dir}/defaults.css"/>
			<include-file name="Assets.swf" path="${airframework.dir}/assets/Assets.swf"/>
			<include-file name="ComputerIcon.swf" path="${airframework.dir}/assets/ComputerIcon.swf"/>
			<include-file name="gripper_up.png" path="${airframework.dir}/assets/gripper_up.png"/>
			<include-file name="mac_close_down.png" path="${airframework.dir}/assets/mac_close_down.png"/>
			<include-file name="mac_close_over.png" path="${airframework.dir}/assets/mac_close_over.png"/>
			<include-file name="mac_close_up.png" path="${airframework.dir}/assets/mac_close_up.png"/>
			<include-file name="mac_max_dis.png" path="${airframework.dir}/assets/mac_max_dis.png"/>
			<include-file name="mac_max_down.png" path="${airframework.dir}/assets/mac_max_down.png"/>
			<include-file name="mac_max_over.png" path="${airframework.dir}/assets/mac_max_over.png"/>
			<include-file name="mac_max_up.png" path="${airframework.dir}/assets/mac_max_up.png"/>
			<include-file name="mac_min_dis.png" path="${airframework.dir}/assets/mac_min_dis.png"/>
			<include-file name="mac_min_down.png" path="${airframework.dir}/assets/mac_min_down.png"/>
			<include-file name="mac_min_over.png" path="${airframework.dir}/assets/mac_min_over.png"/>
			<include-file name="mac_min_up.png" path="${airframework.dir}/assets/mac_min_up.png"/>
			<include-file name="win_close_down.png" path="${airframework.dir}/assets/win_close_down.png"/>
			<include-file name="win_close_over.png" path="${airframework.dir}/assets/win_close_over.png"/>
			<include-file name="win_close_up.png" path="${airframework.dir}/assets/win_close_up.png"/>
			<include-file name="win_max_dis.png" path="${airframework.dir}/assets/win_max_dis.png"/>
			<include-file name="win_max_down.png" path="${airframework.dir}/assets/win_max_down.png"/>
			<include-file name="win_max_over.png" path="${airframework.dir}/assets/win_max_over.png"/>
			<include-file name="win_max_up.png" path="${airframework.dir}/assets/win_max_up.png"/>
			<include-file name="win_min_dis.png" path="${airframework.dir}/assets/win_min_dis.png"/>
			<include-file name="win_min_down.png" path="${airframework.dir}/assets/win_min_down.png"/>
			<include-file name="win_min_over.png" path="${airframework.dir}/assets/win_min_over.png"/>
			<include-file name="win_min_up.png" path="${airframework.dir}/assets/win_min_up.png"/>
			<include-file name="win_restore_down.png" path="${airframework.dir}/assets/win_restore_down.png"/>
			<include-file name="win_restore_over.png" path="${airframework.dir}/assets/win_restore_over.png"/>
			<include-file name="win_restore_up.png" path="${airframework.dir}/assets/win_restore_up.png"/>
		</compc>
	</target>

	<target name="airframework_rb" description="Builds locale/en_US/airframework_rb.swc">
		<compc output="${basedir}/locale/${locale}/airframework_rb.swc" locale="${locale}">
            <include-resource-bundles bundle="SharedResources"/>
            <include-resource-bundles bundle="aircontrols"/>
            <include-resource-bundles bundle="collections"/>
            <include-resource-bundles bundle="containers"/>
            <include-resource-bundles bundle="controls"/>
            <include-resource-bundles bundle="core"/>
            <include-resource-bundles bundle="effects"/>
            <include-resource-bundles bundle="formatters"/>                        
            <include-resource-bundles bundle="skins"/>
			<include-resource-bundles bundle="styles"/>
			<source-path path-element="${airframework.dir}/bundles/${locale}/src"/>
			<source-path path-element="${airframework.dir}/src"/>
			<source-path path-element="${framework.dir}/src"/>
			<source-path path-element="${framework.dir}/bundles/${locale}/src"/>
			<external-library-path dir="${basedir}/libs/player/${playerglobal.version}" includes="playerglobal.swc"/>
			<library-path/>
		</compc>
	</target>

	<target name="rpc" description="Builds libs/rpc.swc">
		<compc include-classes="RPCClasses" output="${basedir}/libs/rpc.swc" locale="" accessible="true">
			<include-namespaces uri="http://www.adobe.com/2006/mxml"/>
			<namespace uri="http://www.adobe.com/2006/mxml" manifest="${rpc.dir}/manifest.xml"/>
			<source-path path-element="${rpc.dir}/src"/>
			<external-library-path dir="${basedir}/libs/player/${playerglobal.version}" includes="playerglobal.swc"/>
			<external-library-path dir="${basedir}/libs" includes="framework.swc"/>
			<library-path/>
		</compc>
	</target>
	
	<target name="rpc_rb" description="Builds locale/en_US/rpc_rb.swc">
		<compc output="${basedir}/locale/${locale}/rpc_rb.swc" locale="${locale}">
            <include-resource-bundles bundle="collections"/>
			<include-resource-bundles bundle="core"/>
			<include-resource-bundles bundle="logging"/>
			<include-resource-bundles bundle="messaging"/>
			<include-resource-bundles bundle="rpc"/>
			<include-resource-bundles bundle="styles"/>
			<include-resource-bundles bundle="utils"/>
			<source-path path-element="${rpc.dir}/bundles/${locale}/src"/>
			<source-path path-element="${framework.dir}/bundles/${locale}/src"/>
			<source-path path-element="${framework.dir}/src"/>
			<external-library-path dir="${basedir}/libs/player/${playerglobal.version}" includes="playerglobal.swc"/>
			<library-path/>
		</compc>
	</target>

	<target name="flex" description="Builds flex.swc">
		<compc include-classes="FlexClasses" output="${basedir}/libs/flex.swc" locale="" accessible="true">
			<source-path path-element="${flex.dir}/src"/>
			<source-path path-element="${framework.dir}/src"/>
			<library-path/>
		</compc>
	</target>

	<target name="haloclassic" description="Builds haloclassic.swc">
		<compc include-classes="HaloClassicClasses" output="${basedir}/themes/HaloClassic/haloclassic.swc" locale="" accessible="true">
			<source-path path-element="${haloclassic.dir}/src"/>
			<external-library-path dir="${basedir}/libs/player/${playerglobal.version}" includes="playerglobal.swc"/>
			<external-library-path dir="${basedir}/libs" includes="framework.swc"/>
			<library-path/>
			<include-file name="defaults.css" path="${haloclassic.dir}/defaults.css"/>
			<include-file name="Assets.swf" path="${haloclassic.dir}/assets/Assets.swf"/>
		</compc>
	</target>

	<target name="utilities" description="Builds utilities.swc">
		<compc include-classes="UtilitiesClasses" output="${basedir}/libs/utilities.swc" locale="" accessible="true">
			<source-path path-element="${utilities.dir}/src"/>
			<source-path path-element="${framework.dir}/src"/>
			<source-path path-element="${framework.dir}/bundles/{locale}/src"/>
			<library-path/>
		</compc>
	</target>

	<target name="clean" description="Cleans all SWCs and their resource bundles">
		<delete failonerror="false">
			<fileset dir="${basedir}/libs" includes="framework.swc,rpc.swc,flex.swc,utilities.swc"/>
			<fileset dir="${basedir}/libs/air" includes="airframework.swc"/>
			<fileset dir="${basedir}/locale/${locale}" includes="framework_rb.swc,airframework_rb.swc,rpc_rb.swc"/>
			<fileset dir="${basedir}/themes/HaloClassic" includes="haloclassic.swc"/>
		</delete>
	</target>

</project>

{'fraction_non_alphanumeric': 0.1909669325208352, 'fraction_numerical': 0.004883950174746841, 'mean_word_length': 4.879610115911486, 'pattern_counts': {'":': 0, '<': 348, '<?xml version=': 2, '>': 348, 'https://': 0, 'lorem ipsum': 0, 'www.': 12, 'xml': 20}, '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': '4487456', 'n_tokens_mistral': 7605, 'n_tokens_neox': 7067, 'n_words': 934}