Advertisement
Guest User

Untitled

a guest
Sep 15th, 2011
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 12.85 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project name="SampleTiles Build" default="deploy">
  3.    
  4.     <!--
  5.     Mosaic ANT task ref: http://help.adobe.com/en_US/enterpriseplatform/10.0/CAFServerTask/index.html
  6.     -->
  7.    
  8.     <import file="initbuild.xml"/>
  9.     <property name="src.dir" value="src" />
  10.     <property name="target.dir" value="target" />
  11.  
  12.     <target name="clean" depends="init">
  13.         <delete dir="${target.dir}/${stage}" />
  14.     </target>
  15.  
  16.     <target name="build" depends="init">
  17.         <antcall target="compile">
  18.             <param name="file.name" value="BasicTile" />
  19.         </antcall>
  20.         <antcall target="compile">
  21.             <param name="file.name" value="BasicTileTwo" />
  22.         </antcall>
  23.         <!--<zip destfile="${target.dir}/${stage}/BasicHTML.zip">
  24.            <zipfileset dir="src/main/flex/resources/BasicHTML/"/>
  25.        </zip>-->
  26.     </target>
  27.  
  28.     <target name="compile" depends="init, compile-debug, compile-release"/>
  29.     <target name="compile-debug" if="debug.compile">
  30.         <mxmlc file="${src.dir}/${file.name}.mxml"
  31.               output="${target.dir}/${stage}/${file.name}.swf"
  32.               actionscript-file-encoding="UTF-8"
  33.               keep-generated-actionscript="false"
  34.               incremental="true"
  35.               debug="${debug}"
  36.               fork="true"
  37.               maxmemory="512m"
  38.               target-player="10.1.0">
  39.            
  40.             <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
  41.             <external-library-path file="${mosaic.sdk.dir}/flex/4.5.0/frameworks/libs/*.swc" append="true"/>
  42.            
  43.             <compiler.include-libraries dir="C:/development/FlexLibrary/bin" append="true">
  44.                             <include name="*.swc" />
  45.                         </compiler.include-libraries>
  46.                         <!--
  47.                         <compiler.library-path dir="C:/development/FlexLibrary/bin" append="true">
  48.                             <include name="*.swc"/>
  49.                         </compiler.library-path>
  50.                         -->
  51.         <keep-as3-metadata name="Application"/>
  52.         <keep-as3-metadata name="Tile"/>
  53.         <keep-as3-metadata name="ContextBind"/>
  54.         <keep-as3-metadata name="SecurityManager"/>
  55.        
  56.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/framework.swc">
  57.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/framework_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  58.           <url rsl-url="framework_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  59.         </runtime-shared-library-path>
  60.  
  61.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/mx/mx.swc">
  62.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/mx_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  63.           <url rsl-url="mx_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  64.         </runtime-shared-library-path>
  65.  
  66.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/osmf.swc">
  67.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/osmf_1.0.0.16316.swf" policy-file-url="crossdomain.xml"/>
  68.           <url rsl-url="osmf_1.0.0.16316.swf" policy-file-url="crossdomain.xml"/>
  69.         </runtime-shared-library-path>
  70.  
  71.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/rpc.swc">
  72.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/rpc_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  73.           <url rsl-url="rpc_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  74.         </runtime-shared-library-path>
  75.  
  76.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/spark.swc">
  77.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/spark_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  78.           <url rsl-url="spark_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  79.         </runtime-shared-library-path>
  80.  
  81.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/sparkskins.swc">
  82.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/sparkskins_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  83.           <url rsl-url="sparkskins_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  84.         </runtime-shared-library-path>
  85.  
  86.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/textLayout.swc">
  87.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/textLayout_2.0.0.232.swf" policy-file-url="crossdomain.xml"/>
  88.           <url rsl-url="textLayout_2.0.0.232.swf" policy-file-url="crossdomain.xml"/>
  89.         </runtime-shared-library-path>
  90.  
  91.             <!--
  92.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/advancedgrids.swc">
  93.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/advancedgrids_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  94.           <url rsl-url="advancedgrids_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  95.         </runtime-shared-library-path>
  96.        
  97.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/charts.swc">
  98.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/charts_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  99.           <url rsl-url="charts_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  100.         </runtime-shared-library-path>
  101.        -->
  102.         </mxmlc>
  103.     </target>
  104.     <target name="compile-release" unless="debug.compile">
  105.         <echo message="------------${mosaic.sdk.dir}------------" />
  106.         <mxmlc file="${src.dir}/${file.name}.mxml"
  107.               output="${target.dir}/${stage}/${file.name}.swf"
  108.               actionscript-file-encoding="UTF-8"
  109.               keep-generated-actionscript="false"
  110.               incremental="true"
  111.               debug="${debug}"
  112.               fork="true"
  113.               maxmemory="512m"
  114.               target-player="10.1.0">
  115.             <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
  116.             <external-library-path file="${mosaic.sdk.dir}/flex/4.5.0/frameworks/libs/*.swc" append="true"/>
  117.             <library-path file="libs/as3corelib-0.93.swc" append="true" />
  118.             <compiler.include-libraries dir="C:/development/FlexLibrary/bin" append="true">
  119.                 <include name="*.swc" />
  120.             </compiler.include-libraries>
  121.            
  122.         <keep-as3-metadata name="Application"/>
  123.         <keep-as3-metadata name="Tile"/>
  124.         <keep-as3-metadata name="ContextBind"/>
  125.         <keep-as3-metadata name="SecurityManager"/>
  126.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/framework.swc">
  127.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/framework_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
  128.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/framework_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  129.           <url rsl-url="framework_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
  130.           <url rsl-url="framework_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  131.           <url rsl-url="http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/framework_4.5.0.20967.swz" policy-file-url="http://fpdownload.adobe.com/pub/swz/crossdomain.xml"/>
  132.         </runtime-shared-library-path>
  133.  
  134.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/mx/mx.swc">
  135.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/mx_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
  136.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/mx_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  137.           <url rsl-url="mx_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
  138.           <url rsl-url="mx_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  139.           <url rsl-url="http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/mx_4.5.0.20967.swz" policy-file-url="http://fpdownload.adobe.com/pub/swz/crossdomain.xml"/>
  140.         </runtime-shared-library-path>
  141.  
  142.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/osmf.swc">
  143.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/osmf_1.0.0.16316.swz" policy-file-url="crossdomain.xml"/>
  144.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/osmf_1.0.0.16316.swf" policy-file-url="crossdomain.xml"/>
  145.           <url rsl-url="osmf_1.0.0.16316.swz" policy-file-url="crossdomain.xml"/>
  146.           <url rsl-url="osmf_1.0.0.16316.swf" policy-file-url="crossdomain.xml"/>
  147.           <url rsl-url="http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/osmf_1.0.0.16316.swz" policy-file-url="http://fpdownload.adobe.com/pub/swz/crossdomain.xml"/>
  148.         </runtime-shared-library-path>
  149.  
  150.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/rpc.swc">
  151.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/rpc_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
  152.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/rpc_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  153.           <url rsl-url="rpc_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
  154.           <url rsl-url="rpc_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  155.           <url rsl-url="http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/rpc_4.5.0.20967.swz" policy-file-url="http://fpdownload.adobe.com/pub/swz/crossdomain.xml"/>
  156.         </runtime-shared-library-path>
  157.  
  158.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/spark.swc">
  159.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/spark_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
  160.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/spark_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  161.           <url rsl-url="spark_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
  162.           <url rsl-url="spark_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  163.           <url rsl-url="http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/spark_4.5.0.20967.swz" policy-file-url="http://fpdownload.adobe.com/pub/swz/crossdomain.xml"/>
  164.         </runtime-shared-library-path>
  165.  
  166.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/sparkskins.swc">
  167.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/sparkskins_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
  168.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/sparkskins_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  169.           <url rsl-url="sparkskins_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
  170.           <url rsl-url="sparkskins_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  171.           <url rsl-url="http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/sparkskins_4.5.0.20967.swz" policy-file-url="http://fpdownload.adobe.com/pub/swz/crossdomain.xml"/>
  172.         </runtime-shared-library-path>
  173.  
  174.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/textLayout.swc">
  175.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/textLayout_2.0.0.232.swz" policy-file-url="crossdomain.xml"/>
  176.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/textLayout_2.0.0.232.swf" policy-file-url="crossdomain.xml"/>
  177.           <url rsl-url="textLayout_2.0.0.232.swz" policy-file-url="crossdomain.xml"/>
  178.           <url rsl-url="textLayout_2.0.0.232.swf" policy-file-url="crossdomain.xml"/>
  179.           <url rsl-url="http://fpdownload.adobe.com/pub/swz/tlf/2.0.0.232/textLayout_2.0.0.232.swz" policy-file-url="http://fpdownload.adobe.com/pub/swz/crossdomain.xml"/>
  180.         </runtime-shared-library-path>
  181.        
  182.             <!--
  183.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/advancedgrids.swc">
  184.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/advancedgrids_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
  185.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/advancedgrids_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  186.           <url rsl-url="advancedgrids_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
  187.           <url rsl-url="advancedgrids_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  188.           <url rsl-url="http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/advancedgrids_4.5.0.20967.swz" policy-file-url="http://fpdownload.adobe.com/pub/swz/crossdomain.xml"/>
  189.         </runtime-shared-library-path>
  190.        
  191.        
  192.         <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/charts.swc">
  193.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/charts_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
  194.           <url rsl-url="/content/mosaic/viewer/flex_sdks/flex_sdk_4.5.0.20967/charts_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  195.           <url rsl-url="charts_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
  196.           <url rsl-url="charts_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
  197.           <url rsl-url="http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/charts_4.5.0.20967.swz" policy-file-url="http://fpdownload.adobe.com/pub/swz/crossdomain.xml"/>
  198.         </runtime-shared-library-path>
  199.        
  200.        -->
  201.             </mxmlc>
  202.     </target>
  203. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement