Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <project name="SampleTiles Build" default="deploy">
- <!--
- Mosaic ANT task ref: http://help.adobe.com/en_US/enterpriseplatform/10.0/CAFServerTask/index.html
- -->
- <import file="initbuild.xml"/>
- <property name="src.dir" value="src" />
- <property name="target.dir" value="target" />
- <target name="clean" depends="init">
- <delete dir="${target.dir}/${stage}" />
- </target>
- <target name="build" depends="init">
- <antcall target="compile">
- <param name="file.name" value="BasicTile" />
- </antcall>
- <antcall target="compile">
- <param name="file.name" value="BasicTileTwo" />
- </antcall>
- <!--<zip destfile="${target.dir}/${stage}/BasicHTML.zip">
- <zipfileset dir="src/main/flex/resources/BasicHTML/"/>
- </zip>-->
- </target>
- <target name="compile" depends="init, compile-debug, compile-release"/>
- <target name="compile-debug" if="debug.compile">
- <mxmlc file="${src.dir}/${file.name}.mxml"
- output="${target.dir}/${stage}/${file.name}.swf"
- actionscript-file-encoding="UTF-8"
- keep-generated-actionscript="false"
- incremental="true"
- debug="${debug}"
- fork="true"
- maxmemory="512m"
- target-player="10.1.0">
- <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
- <external-library-path file="${mosaic.sdk.dir}/flex/4.5.0/frameworks/libs/*.swc" append="true"/>
- <compiler.include-libraries dir="C:/development/FlexLibrary/bin" append="true">
- <include name="*.swc" />
- </compiler.include-libraries>
- <!--
- <compiler.library-path dir="C:/development/FlexLibrary/bin" append="true">
- <include name="*.swc"/>
- </compiler.library-path>
- -->
- <keep-as3-metadata name="Application"/>
- <keep-as3-metadata name="Tile"/>
- <keep-as3-metadata name="ContextBind"/>
- <keep-as3-metadata name="SecurityManager"/>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/framework.swc">
- <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"/>
- <url rsl-url="framework_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
- </runtime-shared-library-path>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/mx/mx.swc">
- <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"/>
- <url rsl-url="mx_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
- </runtime-shared-library-path>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/osmf.swc">
- <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"/>
- <url rsl-url="osmf_1.0.0.16316.swf" policy-file-url="crossdomain.xml"/>
- </runtime-shared-library-path>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/rpc.swc">
- <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"/>
- <url rsl-url="rpc_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
- </runtime-shared-library-path>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/spark.swc">
- <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"/>
- <url rsl-url="spark_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
- </runtime-shared-library-path>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/sparkskins.swc">
- <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"/>
- <url rsl-url="sparkskins_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
- </runtime-shared-library-path>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/textLayout.swc">
- <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"/>
- <url rsl-url="textLayout_2.0.0.232.swf" policy-file-url="crossdomain.xml"/>
- </runtime-shared-library-path>
- <!--
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/advancedgrids.swc">
- <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"/>
- <url rsl-url="advancedgrids_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
- </runtime-shared-library-path>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/charts.swc">
- <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"/>
- <url rsl-url="charts_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
- </runtime-shared-library-path>
- -->
- </mxmlc>
- </target>
- <target name="compile-release" unless="debug.compile">
- <echo message="------------${mosaic.sdk.dir}------------" />
- <mxmlc file="${src.dir}/${file.name}.mxml"
- output="${target.dir}/${stage}/${file.name}.swf"
- actionscript-file-encoding="UTF-8"
- keep-generated-actionscript="false"
- incremental="true"
- debug="${debug}"
- fork="true"
- maxmemory="512m"
- target-player="10.1.0">
- <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />
- <external-library-path file="${mosaic.sdk.dir}/flex/4.5.0/frameworks/libs/*.swc" append="true"/>
- <library-path file="libs/as3corelib-0.93.swc" append="true" />
- <compiler.include-libraries dir="C:/development/FlexLibrary/bin" append="true">
- <include name="*.swc" />
- </compiler.include-libraries>
- <keep-as3-metadata name="Application"/>
- <keep-as3-metadata name="Tile"/>
- <keep-as3-metadata name="ContextBind"/>
- <keep-as3-metadata name="SecurityManager"/>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/framework.swc">
- <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"/>
- <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"/>
- <url rsl-url="framework_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
- <url rsl-url="framework_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
- <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"/>
- </runtime-shared-library-path>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/mx/mx.swc">
- <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"/>
- <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"/>
- <url rsl-url="mx_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
- <url rsl-url="mx_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
- <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"/>
- </runtime-shared-library-path>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/osmf.swc">
- <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"/>
- <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"/>
- <url rsl-url="osmf_1.0.0.16316.swz" policy-file-url="crossdomain.xml"/>
- <url rsl-url="osmf_1.0.0.16316.swf" policy-file-url="crossdomain.xml"/>
- <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"/>
- </runtime-shared-library-path>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/rpc.swc">
- <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"/>
- <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"/>
- <url rsl-url="rpc_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
- <url rsl-url="rpc_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
- <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"/>
- </runtime-shared-library-path>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/spark.swc">
- <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"/>
- <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"/>
- <url rsl-url="spark_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
- <url rsl-url="spark_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
- <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"/>
- </runtime-shared-library-path>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/sparkskins.swc">
- <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"/>
- <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"/>
- <url rsl-url="sparkskins_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
- <url rsl-url="sparkskins_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
- <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"/>
- </runtime-shared-library-path>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/textLayout.swc">
- <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"/>
- <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"/>
- <url rsl-url="textLayout_2.0.0.232.swz" policy-file-url="crossdomain.xml"/>
- <url rsl-url="textLayout_2.0.0.232.swf" policy-file-url="crossdomain.xml"/>
- <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"/>
- </runtime-shared-library-path>
- <!--
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/advancedgrids.swc">
- <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"/>
- <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"/>
- <url rsl-url="advancedgrids_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
- <url rsl-url="advancedgrids_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
- <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"/>
- </runtime-shared-library-path>
- <runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/charts.swc">
- <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"/>
- <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"/>
- <url rsl-url="charts_4.5.0.20967.swz" policy-file-url="crossdomain.xml"/>
- <url rsl-url="charts_4.5.0.20967.swf" policy-file-url="crossdomain.xml"/>
- <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"/>
- </runtime-shared-library-path>
- -->
- </mxmlc>
- </target>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement