3 Replies Latest reply on Jul 5, 2010 2:55 PM by ylluminate

    URGENT: RSL Stopped Working - Need to compile with Runtime Shared Library

    ylluminate

      I need this target to compile using the “Use Runtime Shared Library” option such that Flex libraries will be not included IN the swf, however I cannot get it to work.  No matter what, mxmlc includes them.  Oddly it DID work briefly for short time, however suddenly stopped again and unfortunately going through subversion revision history yields no insight whatsoever to what evoked this breakage.

       

      <target name="compile" depends="replace_build_version">

                  <exec executable="${FLEX_HOME}/bin/mxmlc.exe" dir="${basedir}">           

                        <arg value="${basedir}/src/Main.mxml"/>

                        <arg value="-output=${basedir}/bin-release/Main.swf"/>

                        <arg value="-static-rsls=false"/>

                        <arg value="-debug=false"/>

                        <arg value="-include-libraries=${basedir}/libs"/>

                        <arg value="-source-path=${basedir}/src"/>

                        <arg value="-creator=me"/>

                        <arg value="-source-path=${basedir}/locale/en_US"/>

                        <arg value="-source-path=${basedir}/locale/ru_RU"/>

                        <arg value="-locale=en_US" />

                        <arg value="-include-resource-bundles=en_US,ru_RU"/>

                        <arg value="-runtime-shared-library-path=${FLEX_HOME}/frameworks/libs/framework.swc,http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/framework_4.1.0.16076.swz,http://fpdo wnload.adobe.com/pub/swz/crossdomain.xml"/>

                        <arg value="-runtime-shared-library-path=${FLEX_HOME}/frameworks/libs/textLayout.swc,http://fpdownload.adobe.com/pub/swz/tlf/1.1.0.604/textLayout_1.1.0.604.swz,http://fpdownlo ad.adobe.com/pub/swz/crossdomain.xml"/>

                        <arg value="-runtime-shared-library-path=${FLEX_HOME}/frameworks/libs/osmf.swc,http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/osmf_flex.4.0.0.13495.swz,http://fpdo wnload.adobe.com/pub/swz/crossdomain.xml"/>

                        <arg value="-runtime-shared-library-path=${FLEX_HOME}/frameworks/libs/spark.swc,http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/spark_4.1.0.16076.swz,http://fpdownlo ad.adobe.com/pub/swz/crossdomain.xml"/>

                        <arg value="-runtime-shared-library-path=${FLEX_HOME}/frameworks/libs/sparkskins.swc,http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/sparkskins_4.1.0.16076.swz,http://fpd ownload.adobe.com/pub/swz/crossdomain.xml"/>

                        <arg value="-external-library-path=${FLEX_HOME}/frameworks/libs/flex.swc"/>

                        <arg value="-theme=${FLEX_HOME}/frameworks/projects/spark/MXFTEText.css"/>

                        <arg value="-theme=${FLEX_HOME}/frameworks/themes/Spark/spark.css"/>

                        <arg value="-verbose-stacktraces"/>

                  </exec>

            </target>