The cairngorm2-config.xml is used by the compiler to know
which classes/MXML files to compile (which it finds under the src
folder).
the -external-library-path option will use those file
during compile time but not include them in the resulting
SWC.
my cairngorm.swc is 76k.
Dimitrios
Gianninas
RIA
Developer
Optimal
Payments Inc.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Derrick Grigg Sent: Thursday, September 21, 2006 11:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Architecting a large, modular Flex application Hey Dimitrios,
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
<flex-config> <compiler> </compiler> <include-classes> <class>com.adobe.cairngorm.business.Responder</class> <class>com.adobe.cairngorm.business.ServiceLocator</class> <class>com.adobe.cairngorm.commands.Command</class> <class>com.adobe.cairngorm.commands.SequenceCommand</class> <class>com.adobe.cairngorm.control.CairngormEvent</class> <class>com.adobe.cairngorm.control.CairngormEventDispatcher</class> <class>com.adobe.cairngorm.control.FrontController</class> <class>com.adobe.cairngorm.model.ModelLocator</class> <class>com.adobe.cairngorm.view.ViewHelper</class> <class>com.adobe.cairngorm.view.ViewLocator</class> <class>com.adobe.cairngorm.vo.ValueObject</class> </include-classes> </flex-config>
<!-- /////////////////////////////////////////////////////////// Ant build script for Cairngorm 2 (for Flex 2.0) //////////////////////////////////////////////////////////// -->
<project name="fxcommon2" default="build" basedir="."> <!-- /////////////////////////////////////////////////////////////////////////// --> <target name="init"> <property file="${basedir}/build.properties"/> <!-- verify --> <fail message="'FLEX2_ROOT' variable not set." unless="FLEX2_ROOT"/> <!-- set properties --> <property name="BUILD" value="build"/> <property name="SRC" value="${basedir}/2.0"/> <property name="FLEX2_COMPC" value="${FLEX2_ROOT}/sdk/bin/compc.exe"/> <property name="SDK_LIB" value="${FLEX2_ROOT}/sdk/frameworks/libs"/> </target> <!-- /////////////////////////////////////////////////////////////////////////// --> <target name="clean" depends="init"> <delete dir="${BUILD}" includeemptydirs="true"/> </target> <!-- /////////////////////////////////////////////////////////////////////////// --> <target name="build" depends="init"> <mkdir dir="${BUILD}"/> <echo>using ${FLEX2_COMPC}</echo> <exec executable="${FLEX2_COMPC}" dir="${BUILD}" vmlauncher="false" failonerror="true"> <arg value="-load-config+=${basedir}/cairngorm2-config.xml"/> <arg value="-source-path=${SRC}"/> <arg value="-external-library-path+=${SDK_LIB}/playerglobal.swc,${SDK_LIB}/framework.swc,${SDK_LIB}/fds.swc"/> <arg value="-output=cairngorm.swc" /> </exec> </target> </project>