Is it possible to build a runtime locale swf (i.e. just the resources)
for a locale without having to provide the resource bundles for all
dependencies?

I have a project that is using datavisualization and I specify the
runtime locales as:
               <runtimeLocales>
                  <locale>en_US</locale>
                  <locale>en_GB</locale>
               </runtimeLocales>

and then specify includeResourceBundles with my own properties file:
               <includeResourceBundles>
                  <bundle>resources</bundle>
               </includeResourceBundles>

I would expect to three artefacts to be created application.swf,
application-en_US.swf and application-en_GB.swf.  This is actually
failing because it cannot find the resources for datavisualization:
[INFO] Unable to find resource
'com.adobe.flex.framework:datavisualization:rb.swc:en_GB:4.0.0.14159'
in repository central (http://repo1.maven.org/maven2).

Why is it trying to get resources for dataviz?  I realise I have a
dependency on it but I've told it to only include my own resource
bundle 'resources'.

On May 28, 2:26 pm, Logan Allred <[email protected]> wrote:
> On Fri, May 28, 2010 at 5:54 AM, Matt C <[email protected]> wrote:
> > Does that look like the correct usage to you?
>
> Looks like it, though I'm not sure about <sourcePaths>. Velo says
> there's only 1 use case for it, and I'm not sure which one that is.
>
> Logan

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to