Hi Guys!

I have a problem with localization and FlashBuilder... my project
compiles and works fine....

But, if  open in the FlashBuilder some problems appear...


Messages in Problems view:

Unable to resolve resource bundle "components" for locale "en_US".
Unable to resolve resource bundle "components" for locale "en_US".
Unable to resolve resource bundle "controls" for locale "en_US".
Unable to resolve resource bundle "core" for locale "en_US".
Unable to resolve resource bundle "core" for locale "en_US".    
Unable to resolve resource bundle "core" for locale "en_US".    
Unable to resolve resource bundle "effects" for locale "en_US". 
Unable to resolve resource bundle "layout" for locale "en_US".  
Unable to resolve resource bundle "skins" for locale "en_US".   
Unable to resolve resource bundle "styles" for locale "en_US".  
Unable to resolve resource bundle "textLayout" for locale "en_US".


I know, this locales is in
framework(framework-4.1.0.16076-en_US.rb.swc) and
spark(spark-4.1.0.16076-en_US.rb.swc)...

Tried put this dependencies in my pom.xml and run the command:

mvn clean eclipse:clean flexmojos:flashbuilder

But not work..... Can you help-me?

Thanks!

My pom.xml in this time is:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
        <modelVersion>4.0.0</modelVersion>

        <parent>
                <groupId>br.com.envisia.plataforma</groupId>
                <artifactId>Envisia2</artifactId>
                <version>1.0.0-SNAPSHOT</version>
        </parent>

        <groupId>br.com.envisia.plataforma</groupId>
        <artifactId>EnvisiaWeb</artifactId>
        <version>1.0.0-SNAPSHOT</version>
        <packaging>swf</packaging>

        <name>Envisia Web Application</name>

        <build>
                <sourceDirectory>src/main/flex</sourceDirectory>
                <testSourceDirectory>src/test/flex</testSourceDirectory>
                <plugins>
                        <plugin>
                                <groupId>org.sonatype.flexmojos</groupId>
                                <artifactId>flexmojos-maven-plugin</artifactId>
                                <version>${flexmojos.version}</version>
                                <extensions>true</extensions>
                                <dependencies>
                                        <dependency>
                                                
<groupId>com.adobe.flex</groupId>
                                                
<artifactId>compiler</artifactId>
                                                
<version>${flexframework.version}</version>
                                                <type>pom</type>
                                        </dependency>
                                </dependencies>
                                <configuration>
                                        
<sourceFile>br/com/envisia/plataforma/view/Main.mxml</sourceFile>
                                        <debug>true</debug>
                                        <contextRoot>Envisia2</contextRoot>
                    <runtimeLocales>
                        <locale>en_US</locale>
                    </runtimeLocales>
                    <locales>
                        <locale>en_US</locale>
                    </locales>
                    <mergeResourceBundle>false</mergeResourceBundle>
                                <themes>
                                   
<theme>${project.build.directory}/themes/spark-theme.css</theme>
                                   
<theme>${project.build.directory}/themes/halo-theme.swc</theme>
                                </themes>                                       
                                </configuration>
                        </plugin>

                        <plugin>
                                <groupId>org.sonatype.flexmojos</groupId>
                                <artifactId>flexmojos-maven-plugin</artifactId>
                                <version>${flexmojos.version}</version>
                                <executions>
                                        <execution>
                                                <goals>
                                                        <goal>wrapper</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                  <configuration>
                                        
<outputDirectory>${project.build.directory}/EnvisiaWeb</outputDirectory>
                                    <parameters>
                                      <title>Envisia</title>
                                      <width>100%</width>
                                      <height>100%</height>
                                    </parameters>
                                    <htmlName>index</htmlName>
                                  </configuration>
                        </plugin>


                        <plugin>
                           <artifactId>maven-dependency-plugin</artifactId>
                              <executions>
                                 <execution>
                                    <id>copy-themes-for-flex4</id>
                                    <phase>generate-resources</phase>
                                    <goals>
                                       <goal>copy-dependencies</goal>
                                    </goals>
                                    <configuration>
                                       <includeTypes>swc,css</includeTypes>
                                       
<outputDirectory>target/themes</outputDirectory>
                                       <overWriteIfNewer>true</overWriteIfNewer>
                                       
<includeGroupIds>com.adobe.flex.framework</includeGroupIds>
                                       
<includeArtifactIds>halo,spark</includeArtifactIds>
                                       
<includeClassifiers>theme</includeClassifiers>
                                       <stripVersion>true</stripVersion>
                                    </configuration>
                               </execution>
                            </executions>
                        </plugin>

                </plugins>
        </build>

        <dependencies>
                
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>flex-framework</artifactId>
                        <version>${flexframework.version}</version>
                        <type>pom</type>
                </dependency>

                <dependency>
                        <groupId>org.swizframework</groupId>
                        <artifactId>swiz</artifactId>
                        <version>1.0.0</version>
                        <type>swc</type>
                </dependency>

                <!-- Themes -->
                <dependency>
                   <groupId>com.adobe.flex.framework</groupId>
                   <artifactId>halo</artifactId>
                   <version>${flexframework.version}</version>
                   <classifier>theme</classifier>
                   <type>swc</type>
                   <scope>theme</scope>
                </dependency>
                
                <dependency>
                   <groupId>com.adobe.flex.framework</groupId>
                   <artifactId>spark</artifactId>
                   <version>${flexframework.version}</version>
                   <classifier>theme</classifier>
                   <type>css</type>
                   <scope>theme</scope>
                </dependency>           

                <!--  Tests -->
                <dependency>
                        <groupId>com.adobe.flexunit</groupId>
                        <artifactId>flexunit</artifactId>
                        <version>0.85</version>
                        <type>swc</type>
                        <scope>test</scope>
                </dependency>

        </dependencies>

</project>

-- 
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