I guess I could also show my ant build script. I have two source paths in
there, one commented out. One points to the folder that has the compiled
locale SWCs that I know work when compiled into the app (it's the commented
out one right now), the other points to the folder that contains the
*.properties files that the SWCs were compiled with.
<target name="build-locale">
<basename property="base.dirname" file="${dirName}" />
<echo message="Building locale SWF for locale ${base.dirname}.
Output: ${LOCALE_RESOURCE_DIR}/${base.dirname}_resources.swf" />
<mxmlc locale="${base.dirname}"
output="${LOCALE_RESOURCE_DIR}/${base.dirname}_resources.swf">
<source-path
path-element="${FLEX_HOME}/frameworks/locale/${base.dirname}" />
<include-resource-bundles bundle="SharedResources" />
<include-resource-bundles bundle="collections" />
<include-resource-bundles bundle="components" />
<include-resource-bundles bundle="containers" />
<include-resource-bundles bundle="controls" />
<include-resource-bundles bundle="core" />
<include-resource-bundles bundle="effects" />
<include-resource-bundles bundle="formatters" />
<include-resource-bundles bundle="layout" />
<include-resource-bundles bundle="logging" />
<include-resource-bundles bundle="messaging" />
<include-resource-bundles bundle="rpc" />
<include-resource-bundles bundle="skins" />
<include-resource-bundles bundle="sparkEffects" />
<include-resource-bundles bundle="styles" />
<include-resource-bundles bundle="textLayout" />
<include-resource-bundles bundle="utils" />
<include-resource-bundles bundle="validators" />
<include-resource-bundles bundle="apache" />
</mxmlc>
</target>
<target name="build-locale-resources">
<foreach delimiter="," list="${LOCALES}" target="build-locale"
param="dirName" />
</target>
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Trying-to-compile-runtime-resource-modules-tp14391p14394.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.