I have followed about every guideline that was posted on the blog, but
I can't generate the swf files which contain all the resource
properties.

This is my configuration thus far:

<plugin>
        <groupId>info.flex-mojos</groupId>
        <artifactId>flex-compiler-mojo</artifactId>
        <version>2.0M10</version>
        <extensions>true</extensions>
        <configuration>
                <debug>true</debug>
                <sourceFile>main.mxml</sourceFile>
                <mergeResourceBundle>false</mergeResourceBundle>
                <resourceBundlePath>${basedir}/src/main/flex/locale/{locale}</
resourceBundlePath>
                <locales>
                        <locale>en_US</locale>
                </locales>
                <contextRoot>web</contextRoot>
        </configuration>
</plugin>

When I run mvn install, I get this error:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error installing artifact: File C:\Users\BjDe\workspace\flex-
maven\ria\target\ria-1.0-SNAPSHOT-en_US.swf does not exist

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error
installing artifact: File C:\Users\BjDe\workspace\exocura-flex-maven
\exocura-ria\target\exocura-ria-1.0-SNAPSHOT-en_US.swf does not exist

As you can see, I'm using the latest installment, so I really don't
know what the problem could be.  Above these files, there's a list of
errors, which look like this:

[INFO] Generating resource-bundle for en_US
Loading configuration file C:\Users\BjDe\workspace\exocura-flex-maven
\exocura-ri
a\target\classes\config.xml
Error: Unable to resolve resource bundle "containers" for locale
"en_US".
Error: Unable to resolve resource bundle "validators" for locale
"en_US".
Error: Unable to resolve resource bundle "states" for locale "en_US".
Error: Unable to resolve resource bundle "styles" for locale "en_US".
Error: Unable to resolve resource bundle "effects" for locale "en_US".
Error: Unable to resolve resource bundle "logging" for locale "en_US".
Error: Unable to resolve resource bundle "controls" for locale
"en_US".
Error: Unable to resolve resource bundle "rpc" for locale "en_US".
Error: Unable to resolve resource bundle "formatters" for locale
"en_US".
Error: Unable to resolve resource bundle "core" for locale "en_US".
Error: Unable to resolve resource bundle "messaging" for locale
"en_US"
Error: Unable to resolve resource bundle "SharedResources" for locale
"en_US".
Error: Unable to resolve resource bundle "collections" for locale
"en_US".
Error: Unable to resolve resource bundle "skins" for locale "en_US".

I think these are just warnings, but I'm not quite sure.  I don't know
why it's looking for all these files too, since I didn't configure it
and I also don't know if it's possible to configure that.

The directory structure is as follows:
src/main/flex/locale/en_US/resources.properties

Does anyone have a clue what I'm doing wrong here?

--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to