Showing paste #ycfk1 by alinakazi@apache.org: (Show raw paste)

<?xml version="1.0" ?>
<!--

  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

-->
<project name="Royale" default="compile" basedir=".">
    <property name="ROYALE_DRIVE" location="D:\"/>
    <property name="ROYALE_HOME" location="${ROYALE_DRIVE}apache-royale-0.9.3-bin-js-swf\royale-asjs"/>
    <property name="example" value="applications" />
    
    <property file="${ROYALE_HOME}/env.properties"/>
    <property environment="env"/>
    <property file="${ROYALE_HOME}/build.properties"/>
    <property name="ROYALE_HOME" value="${ROYALE_HOME}"/>
    <property name="debug_flag" value="false"/>
    

    <condition property="ROYALE_COMPILER_HOME" value="${env.ROYALE_COMPILER_HOME}">
        <and>
            <not>
                <isset property="ROYALE_COMPILER_HOME" />
            </not>
            <available file="${env.ROYALE_COMPILER_HOME}/lib/jsc.jar" type="file" />
        </and>
    </condition>

    <condition property="ROYALE_COMPILER_HOME" value="${ROYALE_HOME}/js">
        <and>
            <not>
                <isset property="ROYALE_COMPILER_HOME" />
            </not>
            <available file="${ROYALE_HOME}/js/lib/jsc.jar" type="file" />
        </and>
    </condition>

    <condition property="ROYALE_COMPILER_HOME" value="${ROYALE_HOME}/../royale-compiler/compiler-jx">
        <and>
            <not>
                <isset property="ROYALE_COMPILER_HOME" />
            </not>
            <available file="${ROYALE_HOME}/../royale-compiler/compiler-jx/lib/jsc.jar" type="file" />
        </and>
    </condition>

    <condition property="GOOG_HOME" value="${env.GOOG_HOME}">
        <and>
            <not>
                <isset property="GOOG_HOME" />
            </not>
            <available file="${env.GOOG_HOME}/closure/goog/base.js" type="file" />
        </and>
    </condition>

    <condition property="GOOG_HOME" value="${ROYALE_HOME}/js/lib/google/closure-library">
        <and>
            <not>
                <isset property="GOOG_HOME" />
            </not>
            <available file="${ROYALE_HOME}/js/lib/google/closure-library/closure/goog/base.js" type="file" />
        </and>
    </condition>


    <property name="version" value="1.2" />
	
    <!-- additional tasks - mxmlc tag -->
    <path id="flexTasks.path">
        <fileset dir="${ROYALE_HOME}">
            <include name="js/lib/compiler-royaleTasks.jar" />
        </fileset>
		<!-- 
		   <fileset dir="E:\RoyaleLib\DBIZLib\src\target">
             <include name="ProjectFiles.swc" /> 
          </fileset>   
		  -->
		 
		 
    </path>
    <taskdef resource="flexTasks.tasks" classpathref="flexTasks.path"/>
   
    <macrodef name="compile-mxml">
    	 <attribute name="example"/>
         <attribute name="folder"/>
         <attribute name="relmap"/>
        
        <sequential>
   			<mxmlc file="${basedir}/src/@{folder}@{example}.mxml" debug="${debug_flag}"
            	output="${basedir}/bin-debug/@{folder}@{example}.swf"
                fork="true" failonerror="true">
				<load-config filename="${ROYALE_HOME}/frameworks/flex-config.xml"/>
				<library-path dir="${ROYALE_DRIVE}DBIZCOMLIB\src\target" append="true">
                <include name="DbizLib.swc" />
				<include name="ProjectFiles.swc" />
                </library-path>
			
                <js-library-path dir="${ROYALE_DRIVE}DBIZCOMLIB\src\target" append="true">
                <include name="DbizLib.swc" />
				<include name="ProjectFiles.swc" />
                </js-library-path> 
                <arg value="-module-output=@{folder}" />
                <arg value="-load-externs=${basedir}/bin-debug/link_report-js.xml" />
                <arg value="-js-compiler-option=--variable_map_input_file @{relmap}gcc_variablemap.txt" />
                <arg value="-js-compiler-option+=--property_map_input_file @{relmap}gcc_propertymap.txt" />
                <arg value="-js-compiler-option+=--externs ${basedir}/bin/js-debug/externs_report.js" />
                <arg value="+playerglobal.version=${playerglobal.version}" />
                <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
                <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
			</mxmlc>
		</sequential>
	</macrodef>
    
    <macrodef name="compile-main">
        <attribute name="example"/>
        <attribute name="folder"/>
        
        <sequential>
            <mxmlc file="${basedir}/src/@{folder}@{example}.mxml" debug="${debug_flag}"
                output="${basedir}/bin-debug/@{folder}@{example}.swf"
                fork="true" failonerror="true">
                <load-config filename="${ROYALE_HOME}/frameworks/flex-config.xml"/>
				<library-path dir="${ROYALE_DRIVE}DBIZCOMLIB\src\target" append="true">
                <include name="DbizLib.swc" />
				<include name="ProjectFiles.swc" />
                </library-path>
			
                <js-library-path dir="${ROYALE_DRIVE}DBIZCOMLIB\src\target" append="true">
                <include name="DbizLib.swc" />
				<include name="ProjectFiles.swc" />
                </js-library-path> 
                <arg value="-module-output=@{folder}" />
                <arg value="-js-compiler-option=--variable_map_output_file gcc_variablemap.txt" />
                <arg value="-js-compiler-option+=--property_map_output_file gcc_propertymap.txt" />
                <arg value="-externs-report=${basedir}/bin/js-debug/externs_report.js" />
                <!-- the JSROYALE compilation will produce a file called link_report-js.xml -->
                <arg value="-link-report=${basedir}/bin-debug/link_report.xml" />
                <arg value="+playerglobal.version=${playerglobal.version}" />
                <arg value="+env.AIR_HOME=${env.AIR_HOME}" />
                <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
            </mxmlc>
        </sequential>
    </macrodef>	
	
    <macrodef name="compile-mxml-locales">
    	 <attribute name="example"/>
    	 <attribute name="locales" default="en_US"/>
        
        <sequential>
   			<mxmlc file="${basedir}/src/@{example}.mxml"
            	output="${basedir}/src/@{example}.swf" fork="true" failonerror="true">
   				<locale>en_US</locale>
   				<locale>en_AU</locale>
   				<locale>en_GB</locale>
   				<locale>en_CA</locale>
   				<locale>el_GR</locale>
   				<locale>de_CH</locale>
   				<locale>pt_PT</locale>
				<load-config filename="${ROYALE_HOME}/frameworks/flex-config.xml"/>
				<library-path dir="${ROYALE_DRIVE}DBIZCOMLIB\src\target" append="true">
                <include name="DbizLib.swc" />
				<include name="ProjectFiles.swc" />
                </library-path>
			
                <js-library-path dir="${ROYALE_DRIVE}DBIZCOMLIB\src\target" append="true">
                <include name="DbizLib.swc" />
				<include name="ProjectFiles.swc" />
                </js-library-path> 
			</mxmlc>
		</sequential>
	</macrodef>
	
	<target name="compile" description="compile all examples and the applications shell" depends="cleanAll,compile-shell,compile-mx,copy-all,copy-all2">
	</target>
    
    <target name="compile-applications" description="compile only applications">
         <compile-main folder="/" example="applications"/>
		
		</target>
	
	<target name="compile-shell" description="compile applications shell">
		<compile-main folder="/" example="applications"/>
		
	    <compile-mxml folder="/" relmap="" example="dbzLogin"/>
        
		
        <copy file="${basedir}/src/applications.xml" toFile="${basedir}/bin/js-debug/applications.xml" />
        <condition property="js-release" value="true">
            <available file="${basedir}/bin/js-release" type="dir" />
        </condition>

        <antcall target="copy-mxml" />
        <antcall target="copy-mxml-release" />
        <antcall target="copy-3p-release" />
    </target>
    
    <target name="copy-3p-release" if="js-release">
        <copy file="${basedir}/src/applications.xml" toFile="${basedir}/bin/js-release/applications.xml" />
	</target>
    
    <target name="copy-mxml" >
        <copy todir="${basedir}/bin/js-debug" >
            <fileset dir="${basedir}/src" >
                <include name="**/*.mxml" />
                <include name="**/*.as" />
            </fileset>
        </copy>
    </target>
    <target name="copy-mxml-release" if="js-release">
        <copy todir="${basedir}/bin/js-release" >
            <fileset dir="${basedir}/src" >
                <include name="**/*.mxml" />
                <include name="**/*.as" />
            </fileset>
        </copy>
    </target>	
	
	<target name="compile-mx" description="compile mx examples">
       
	   <!-- <compile-mxml folder="/com/dbz/modules/RI/" relmap="../../../../" example="dbzRetailInspectionModule"/> -->
	    <!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzPurchaseModule"/>  -->
	    <!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzSalesModule"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/INV/" relmap="../../../../" example="dbzInventoryModule"/>  -->
	    <!-- <compile-mxml folder="/com/dbz/modules/AR/" relmap="../../../../" example="dbzAccountsReceivableModule"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/AP/" relmap="../../../../" example="dbzAccountsPayableModule"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/EIS/" relmap="../../../../" example="dbzEISModule"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/FA/" relmap="../../../../" example="dbzFixedAssetsModule"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzGeneralLedgerModule"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/PLAN/" relmap="../../../../" example="dbzPlanModule"/> -->
	    <!-- <compile-mxml folder="/com/dbz/modules/FS/" relmap="../../../../" example="dbzFeasibilityModule"/> -->

      

        <!-- Setups -->
        <!-- <compile-mxml folder="/com/dbz/modules/SEC/" relmap="../../../../" example="dbzMainForm"/> -->
       
		
		<!-- Setups fully ported -->
			<!-- Alina -->
	    <!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzUnitRateSetup"/>    -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzProductGroupSetup"/>   -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzProductConditionsSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzProductAnalysis1Setup"/>   -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzProductAnalysis2Setup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzProductAnalysis3Setup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzProductAnalysis4Setup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzProductAnalysis5Setup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzProductLocWiseSTaxRMaster"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzApprovedDepotSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzDriverMasterSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzFreightRateSetup"/>  -->
		 <!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzDepartmentSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzDesignationSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzOraIntConfigSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzCVSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzPartnerSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzConcessionMaster"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzFieldMaster"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzFormationMaster"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzWellMasterSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzReservoirMaster"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzCountrySetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzContinentSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzProvinceSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzEmployeeSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzApprovedDepotSetup"/>  -->
		<!-- Pasho -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzCompanySetup"/> -->
	    <!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzStoreSetup"/>  -->
	    <!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzSupplierType"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzLocWiseSTaxWHTR"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzCustomerSetupTabs"/> -->
	    <!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzCostCenterSetup"/>  -->
	    <!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzSitesSetup"/>  -->
	    <!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzMeasurementUnitSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzFreightZoneSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzProductProfileSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzVerificationPlanSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzSupplierSetupTabs"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzExchangeRatePeriodwiseSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzExchangeRateDatewiseSetup"/> -->
	    <!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzForeignCurrencyRatesSetup"/> -->
	    <!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzFCRatesMain"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzShiftSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzPlannimetryMaster"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzProductCostMaster"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzProductFormationSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzFlarePointMstr"/> 	 -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzSetUpVerificationPlan"/> 	 -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzFCRateType"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzDocumentSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzDocumentDetailSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzDocumentTabSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzPreferences"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzCitySetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzGroupPrivileges"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzUserSitesSetup"/> -->
		<!-- Hira -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzProdWiseStoreSetup"/>      -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzInventoryType"/>        -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzStoreDistanceSetup"/>     -->
		<!-- <compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzTermsandConditions"/>   -->
		<!-- no<compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzPartySetup"/>   -->
		<!-- condition%<compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzFacilityMaster"/>   -->
		<!-- %<compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzPlantSetup"/>   -->
		<!-- %<compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzComponentsSetup"/>   -->
		<!-- %<compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzProductMaster"/>   -->
		<!-- %<compile-mxml folder="/com/dbz/modules/Common/" relmap="../../../../" example="dbzPlannimetryPointsSetup"/>  -->

		<!-- Alina -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzDocTypeCategorySetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzCustomerSegment"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzCustomerExchange"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzCustVehicleRegSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzCouponIssuanceSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzSealsSetup"/> issue -->
		<!-- Pasho -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzStoreCityDistanceSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzCustomerSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzCustomerType"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzCustomerCategory"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzArabYieldSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzProductYield"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzCrudeFormula"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzSalesmanSetup"/>  -->
	    <!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzBrandSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzPackingSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzTemperatureCompenSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzCrudeDiscount"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzRepairJobSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzIncentiveSchemeSetup"/>  -->
		<!-- Hira -->
		<!--module issue# <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzPriceEntryTabs"/>    -->
		<!--# <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzPriceTitleWiseSetup"/>   -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzPriceTitleSetup"/>     -->
		<!-- <compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzPriceTitleConfigSetup"/>    -->
		<!-- 2<compile-mxml folder="/com/dbz/modules/SAL/" relmap="../../../../" example="dbzPriceTitleWiseEntry"/>    -->

		<!-- Alina -->
		<!-- <compile-mxml folder="/com/dbz/modules/AP/" relmap="../../../../" example="dbzBankSetup"/> issue -->
		<!-- <compile-mxml folder="/com/dbz/modules/AP/" relmap="../../../../" example="dbzBankSetupTabs"/> issue -->
	    <!-- <compile-mxml folder="/com/dbz/modules/AP/" relmap="../../../../" example="dbzChqBookSetupDetail"/>  issue -->
	    <!-- <compile-mxml folder="/com/dbz/modules/AP/" relmap="../../../../" example="dbzChequeBook"/> issue  -->
		<!-- Pasho -->
		<!-- <compile-mxml folder="/com/dbz/modules/AR/" relmap="../../../../" example="dbzReasonSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/AR/" relmap="../../../../" example="dbzATMRentalReceipt"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/AR/" relmap="../../../../" example="dbzATMRentalPayment"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/AR/" relmap="../../../../" example="dbzLeaseRentalDetail"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/AR/" relmap="../../../../" example="dbzLeaseRental"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/AR/" relmap="../../../../" example="dbzSiteWiseMonthlyBreakupImport"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/AR/" relmap="../../../../" example="dbzSiteWiseMonthlyBreakupDetail"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/AR/" relmap="../../../../" example="dbzSiteWiseMonthlyBreakup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/AR/" relmap="../../../../" example="dbzSalesCommissionSchemeDetail"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/AR/" relmap="../../../../" example="dbzSalesCommissionScheme"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/AR/" relmap="../../../../" example="dbzSalesCommissionConfigurationDetail"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/AR/" relmap="../../../../" example="dbzSalesCommissionConfiguration"/> -->
		
		<!-- Alina -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzWithHoldingTaxTypes"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzPaymentSectionSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzFillStationSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzPurchaseSrcSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzPurchaseTypeSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzLetterPrintingSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzSupplySourceSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzPaymentTermSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzPurchaseRequSetup"/> issue -->
		<!-- Pasho -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzDateWiseTankStateSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzReasonTypeSetup"/>  -->
	    <!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzTechnicalEvaluationSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzFreightForwardersSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzDebitCrdtSetup"/>  -->
		<!-- Hira -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzDateWisePrdRateSetup"/>     -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzShipmentModeSetup"/>      -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzTransportationModeSetup"/>    --> 
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzDeliveryTermsSetup"/>      -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzSpecificGravitySetup"/>        -->
	 
		<!-- Alina -->
		<!-- <compile-mxml folder="/com/dbz/modules/FS/" relmap="../../../../" example="dbzMainCategoryTypeSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/FS/" relmap="../../../../" example="dbzProfitabilityRateSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/FS/" relmap="../../../../" example="dbzFeasibilityCategorySetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/FS/" relmap="../../../../" example="dbzSubCategoryTypeSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/FS/" relmap="../../../../" example="dbzConversionSource"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/FS/" relmap="../../../../" example="dbzProductGroupingFeasilbilitySetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/FS/" relmap="../../../../" example="dbzGainLossMasterSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/FS/" relmap="../../../../" example="dbzGainLossDetail"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/FS/" relmap="../../../../" example="dbzGainLossPipelineMonthlySetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/FS/" relmap="../../../../" example="dbzTaxTypeSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/FS/" relmap="../../../../" example="dbzTaxRateSetup"/>  -->

		<!-- <compile-mxml folder="/com/dbz/modules/RI/" relmap="../../../../" example="dbzParticularsCategorySetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/RI/" relmap="../../../../" example="dbzConditionsSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/RI/" relmap="../../../../" example="dbzLikertPointsSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/RI/" relmap="../../../../" example="dbzActionPlanSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/RI/" relmap="../../../../" example="dbzEquipmentListSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/RI/" relmap="../../../../" example="dbzTankSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/RI/" relmap="../../../../" example="dbzMeterNozzleSetup"/>  -->
		<!-- Pasho -->
		<!-- <compile-mxml folder="/com/dbz/modules/RI/" relmap="../../../../" example="dbzPertainingIssueSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/RI/" relmap="../../../../" example="dbzLocationSetup"/>  -->
		<!-- Hira -->
		 <!-- <compile-mxml folder="/com/dbz/modules/RI/" relmap="../../../../" example="dbzParticularsSetup"/>  -->
		 <!-- <compile-mxml folder="/com/dbz/modules/RI/" relmap="../../../../" example="dbzMobileRestrictionSetup"/>   -->
		 <!-- <compile-mxml folder="/com/dbz/modules/RI/" relmap="../../../../" example="dbzActionPlanExecutionCriteria"/>    -->
		 <!-- Alina -->
		<!-- <compile-mxml folder="/com/dbz/modules/INV/" relmap="../../../../" example="dbzInventoryRecalculateEmailingMaster"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/INV/" relmap="../../../../" example="dbzDPRremarksSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/INV/" relmap="../../../../" example="dbzInventorySchedulingSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/INV/" relmap="../../../../" example="dbzCarriageRouteSetup"/>  -->
		<!-- Pasho -->
		<!-- <compile-mxml folder="/com/dbz/modules/INV/" relmap="../../../../" example="dbzAdjustmentTypeSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/INV/" relmap="../../../../" example="dbzBillOfMaterialTypeSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/INV/" relmap="../../../../" example="dbzCarriageContractorSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/INV/" relmap="../../../../" example="dbzCarriageVehicleSetupTabs"/>  -->
        <!-- <compile-mxml folder="/com/dbz/modules/INV/" relmap="../../../../" example="dbzVehicleSetup"/> -->
		 <!-- Alina -->
		<!-- <compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzGLAnalysis1Setup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzGLAnalysis2Setup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzGLAnalysis3Setup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzGLAnalysis4Setup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzGLAnalysis5Setup"/>   -->
		<!-- <compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzVoucherTypeSetup"/>   -->
		<!-- <compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzBankReconSetup"/>  issue-->
		<!-- Pasho -->
		<!-- <compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzChartOfAccountsSetup"/>  -->
	    <!-- <compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzCopyChartOfAccounts"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzCopyChartOfAccountsCompany"/>  not working in flex also  -->
		<!-- Hira -->
		<!-- no<compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzPartySetup"/>   -->
		<!-- <compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzRecurringSetup"/>   -->
		<!-- <compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzSpecialValue"/>    -->
		<!-- <compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzNoteConfiguration"/>   -->
		<!-- 3<compile-mxml folder="/com/dbz/modules/GL/" relmap="../../../../" example="dbzReportConfigurationSetup"/>    -->
		 
		<!-- Alina -->
		<!-- <compile-mxml folder="/com/dbz/modules/PLAN/" relmap="../../../../" example="dbzSalesDepartmentStructureSetup"/>  -->
		<!-- Pasho -->
		<!-- <compile-mxml folder="/com/dbz/modules/PLAN/" relmap="../../../../" example="dbzSalesZoneSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/PLAN/" relmap="../../../../" example="dbzSalesRegionSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/PLAN/" relmap="../../../../" example="dbzSalesSubRegionSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/PLAN/" relmap="../../../../" example="dbzSalesSubRegionDetail"/>  -->
		<!-- Alina -->
		<!-- <compile-mxml folder="/com/dbz/modules/IMP/" relmap="../../../../" example="dbzVesselSetup"/>   -->
		<!-- <compile-mxml folder="/com/dbz/modules/IMP/" relmap="../../../../" example="dbzHoldReasonSetup"/>   -->
			<!-- Pasho -->
		<!-- <compile-mxml folder="/com/dbz/modules/IMP/" relmap="../../../../" example="dbzSurveyorSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/IMP/" relmap="../../../../" example="dbzPortSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/IMP/" relmap="../../../../" example="dbzInsurerSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/IMP/" relmap="../../../../" example="dbzClearingAgentSetup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/IMP/" relmap="../../../../" example="dbzImportChargesSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/IMP/" relmap="../../../../" example="dbzLCChargesSetup"/>  -->
	
		<!-- <compile-mxml folder="/com/dbz/modules/FA/" relmap="../../../../" example="dbzRptLvl1Setup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/FA/" relmap="../../../../" example="dbzRptLvl2Setup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/FA/" relmap="../../../../" example="dbzRptLvl3Setup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/FA/" relmap="../../../../" example="dbzRptLvl4Setup"/> -->
		<!-- <compile-mxml folder="/com/dbz/modules/FA/" relmap="../../../../" example="dbzRptLvl5Setup"/> -->
		<!-- Hira -->
		<!-- <compile-mxml folder="/com/dbz/modules/FA/" relmap="../../../../" example="dbzAuthorizedPerson"/>  -->
		<!-- 1<compile-mxml folder="/com/dbz/modules/FA/" relmap="../../../../" example="dbzAsstCostBreakUp"/>     -->
		<!-- <compile-mxml folder="/com/dbz/modules/FA/" relmap="../../../../" example="dbzDisposalmode"/>      -->
		<!-- <compile-mxml folder="/com/dbz/modules/FA/" relmap="../../../../" example="dbzManufacturer"/>   -->
		<!-- Pasho -->
		<!-- <compile-mxml folder="/com/dbz/modules/SEC/" relmap="../../../../" example="dbzUserSetup_Financials"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/SEC/" relmap="../../../../" example="dbzUsersTabSetup"/>  -->
		<!-- <compile-mxml folder="/com/dbz/modules/SEC/" relmap="../../../../" example="dbzSecurityPolicy"/> -->
		
		
		

		<compile-mxml folder="/com/dbz/modules/INV/" relmap="../../../../" example="dbzBalanceTransferDetail"/>       
		<compile-mxml folder="/com/dbz/modules/INV/" relmap="../../../../" example="dbzBalanceTransfer"/>       

		
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzPurchaseRequisitionDetail"/>        -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzPurchaseRequisition"/>        -->
		<!-- <compile-mxml folder="/com/dbz/modules/PUR/" relmap="../../../../" example="dbzPurchaseRequisitionTabs"/>        -->

	
	</target>

	
    <target name="compile-one" description="compile one example">
        <compile-mxml folder="${folder}" relmap="${relmap}" example="${example}"/>
    </target>
    
    <!--- don't worry about squiggly for now -->
		
	<target name="package" description="package up all source files" depends="package-dir,package-tar,package-zip">
	</target>
	
	<target name="package-dir">
		<delete dir="${basedir}/out"/>  
		<mkdir dir="${basedir}/out"/> 
	</target>
		
	<target name="package-tar" description="tar up all source files">     
        <tar destfile="${basedir}/out/apache-flex-tour-de-flex-component-applications-${version}-src.tar.gz" 
         	compression="gzip"
            longfile="gnu">
            <tarfileset dir="${basedir}/..">
                <include name="LICENSE" />
            	<include name="NOTICE" />
            	<include name="CONTRIB*" />
            </tarfileset>
            <tarfileset dir="${basedir}">
                <include name="README" />
                <include name="RELEASE_NOTES" />
                <include name="build.xml" />
            	<include name="src/favicon.ico" />
                <include name="src/index.html" />
                <include name="src/applications.xml" />
                <include name="src/swfobject.js" />
                <include name="**/*.mxml" />
                <include name="**/*.as" />
                <include name="**/*.jpg" />
                <include name="**/*.png" />
                <include name="**/*.gif" />
                <include name="**/*.ttf" />
                <include name="**/*.mp4" />
                <include name="**/*.mp3" />
                <include name="**/*.fxg" />
                <include name="**/*.xml" />
            	<exclude name="**/*.swf" />
            	<exclude name="installer.xml" />
            	<exclude name="squiggly" />
                <exclude name="dictionaries" />
            	<exclude name="src/dictionaries" />
            	<exclude name="src/apache/squiggly/dictionaries" />
             </tarfileset>
         </tar>
	</target>
	
	<target name="package-zip" description="zip up all source files">    
        <zip destfile="${basedir}/out/apache-flex-tour-de-flex-component-applications-${version}-src.zip">
            <fileset dir="${basedir}/..">
                <include name="LICENSE" />
                <include name="NOTICE" />
            	<include name="CONTRIB*" />
            </fileset>
            <fileset dir="${basedir}">
                <include name="README" />
                <include name="RELEASE_NOTES" />
                <include name="build.xml" />
            	<include name="src/favicon.ico" />
                <include name="src/index.html" />
                <include name="src/applications.xml" />
                <include name="src/swfobject.js" />
                <include name="**/*.mxml" />
                <include name="**/*.as" />
                <include name="**/*.jpg" />
                <include name="**/*.png" />
                <include name="**/*.gif" />
                <include name="**/*.ttf" />
                <include name="**/*.mp4" />
                <include name="**/*.mp3" />
                <include name="**/*.fxg" />
                <include name="**/*.xml" />
                <exclude name="**/*.swf" />
            	<exclude name="installer.xml" />
            	<exclude name="squiggly" />
            	<exclude name="dictionaries" />
                <exclude name="src/dictionaries" />
            	<exclude name="src/apache/squiggly/dictionaries" />
             </fileset>
         </zip>
	</target>
   
   <target name="create-md5" >
       <echo message="Generating MD5 hashes for release artifacts"/>
       <checksum algorithm="md5" file="${basedir}/out/apache-flex-tour-de-flex-component-applications-${version}-src.tar.gz" forceOverwrite="yes"/>
       <checksum algorithm="md5" file="${basedir}/out/apache-flex-tour-de-flex-component-applications-${version}-src.zip" forceOverwrite="yes"/>
   </target>

       <target name="cleanAll">
        <delete dir="${basedir}/bin" failonerror="false" />
        <!-- <delete dir="${basedir}/bin-debug" failonerror="false" /> -->
        <!-- <delete dir="${basedir}/bin-release" failonerror="false" /> -->
        <!-- <delete dir="${basedir}/target" failonerror="false" /> -->
    </target>
	
    <target name="clean" description="clean up">
    	<delete>
    		<fileset dir="${basedir}" includes="**/*.swf" />
    	</delete>
        <delete dir="${basedir}/bin" />
    	<delete dir="${basedir}/squiggly" />
    	<delete dir="${basedir}/dictionaries" />
        <delete dir="${basedir}/src/dictionaries" />
    	<delete dir="${basedir}/src/apache/squiggly/dictionaries" />
    </target>
	
	
	<target name="copy-all" >
        <!-- <copy todir="E:\projects\SHMA\Dev\Java\web" > -->
        <copy todir="${ROYALE_DRIVE}DBIZSOL\Main\Java\web" >
            <fileset dir="${basedir}/bin/js-debug" >
                <include name="**/*.*" />
            </fileset>
        </copy>
    </target>
	
	<target name="copy-all2" >
        <copy todir="${ROYALE_DRIVE}DBIZSOL\Main\Java\web" >
            <fileset dir="${basedir}/bin-debug" >
                <include name="**/*.*" />
            </fileset>
        </copy>
    </target>


</project>
Make a new paste