Hi Mario, are you passing Resources-en_US as flashVar to you swf ?
2010/2/25 marioB <[email protected]> > Yes it is correct. I have it because I was testing with different > folders. > > mario > > On Feb 24, 5:26 am, Cliff Meyers <[email protected]> wrote: > > Hi Mario, > > > > Are you sure your resource bundle path is correct? > > > > <resourceBundlePath>${basedir}/src/main/locales/locale/{locale}</ > > resourceBundlePath> > > > > It looks like you might have an extra "locale" folder in there. > > > > -Cliff > > > > On Feb 23, 12:02 am, marioB <[email protected]> wrote: > > > > > > > > > Hi, > > > I'm having some problems with runtimeLocalization when using flexmojos- > > > maven-plugin version 3.3.0 and higher. The problem is when using > > > option includeResourceBundles there is nothing included (my resources > > > bundle) during compilation (install phase). > > > Maven version 2.0.10 > > > eclipse 3.5 > > > flexmojos version 3.3.0,3.4.0,3.4.1,3.4.2,3.5 and 3.6-SNAPSHOT > > > > > With previous versions of flexmojos evrything works fine but that is > > > not option form me because some others options. > > > > > My pom for localization : > > > <?xml version="1.0" encoding="UTF-8"?> > > > <project > > > xsi:schemaLocation=" > http://maven.apache.org/POM/4.0.0http://maven.apache.org/xsd/maven-4...." > > > xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"> > > > <modelVersion>4.0.0</modelVersion> > > > <parent> > > > <artifactId>locales</artifactId> > > > <groupId>hr.abc.test</groupId> > > > <version>0.0.1-SNAPSHOT</version> > > > </parent> > > > <groupId>hr.abc.test</groupId> > > > <artifactId>flex-locale</artifactId> > > > <version>0.0.1-SNAPSHOT</version> > > > <packaging>swf</packaging> > > > <name>flex-locale Flex</name> > > > <properties> > > > > <resources.dir>${basedir}/src/main/resources</resources.dir> > > > </properties> > > > <build> > > > <sourceDirectory>src/main/flex</sourceDirectory> > > > > <testSourceDirectory>src/test/flex</testSourceDirectory> > > > <plugins> > > > <plugin> > > > > <groupId>org.sonatype.flexmojos</groupId> > > > > <artifactId>flexmojos-maven-plugin</artifactId> > > > <version>3.4.2</version> > > > <extensions>true</extensions> > > > <configuration> > > > > <resourceBundlePath>${basedir}/src/main/locales/locale/{locale}</ > > > resourceBundlePath> > > > <includeResourceBundles> > > > > <bundle>Resources</bundle> > > > </includeResourceBundles> > > > <runtimeLocales> > > > <locale>en_US</locale> > > > <locale>hr_HR</locale> > > > </runtimeLocales> > > > > <runtimeLocaleOutputPath>${project.build.directory}\hr\abcinfo > > > \resources\locales\{locale}\Resources_{locale}.{extension}</ > > > runtimeLocaleOutputPath> > > > </configuration> > > > </plugin> > > > </plugins> > > > </build> > > > <profiles> > > > <profile> > > > <id>m2e</id> > > > <activation> > > > <property> > > > <name>m2e.version</name> > > > </property> > > > </activation> > > > <build> > > > <pluginManagement> > > > <plugins> > > > <plugin> > > > > <artifactId>maven-resources-plugin</artifactId> > > > > <version>2.4</version> > > > </plugin> > > > </plugins> > > > </pluginManagement> > > > <plugins> > > > <plugin> > > > > <groupId>org.maven.ide.eclipse</groupId> > > > > <artifactId>lifecycle-mapping</artifactId> > > > > <version>0.9.9-SNAPSHOT</version> > > > <configuration> > > > > <mappingId>customizable</mappingId> > > > <configurators> > > > > <configurator > > > > id="org.maven.ide.eclipse.configuration.flex.configurator" /> > > > > </configurators> > > > > <mojoExecutions> > > > > <mojoExecution>org.apache.maven.plugins:maven-resources- > > > plugin::</mojoExecution> > > > > </mojoExecutions> > > > </configuration> > > > </plugin> > > > </plugins> > > > </build> > > > </profile> > > > </profiles> > > > <dependencies> > > > <dependency> > > > <groupId>com.adobe.flex.framework</groupId> > > > <artifactId>flex-framework</artifactId> > > > <version>${flex.sdk.version}</version> > > > <type>pom</type> > > > </dependency> > > > </dependencies> > > > </project> > > > > > And console output: > > > [INFO] Scanning for projects... > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Building flex-locale Flex > > > [INFO] task-segment: [clean, install] > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] [clean:clean] > > > [INFO] Deleting directory C:\razvoj\workspace001\hr.abc.test.locales > > > \flex-locale\target > > > [INFO] [resources:resources] > > > [WARNING] Using platform encoding (UTF-8 actually) to copy filtered > > > resources, i.e. build is platform dependent! > > > [INFO] Copying 0 resource > > > [INFO] [flexmojos:compile-swf] > > > [INFO] Flexmojos 3.5.0 > > > [INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT > > > file > > > [WARNING] Source file was not defined, flexmojos will guess one. > > > [WARNING] Unable to find license.jar on classpath. Check wiki for > > > instructions about how to add it: > > > https://docs.sonatype.org/display/FLEXMOJOS/FAQ#FAQ-1.3 > > > [INFO] Flex compiler configurations: > > > -compiler.accessible=false > > > -compiler.actionscript-file-encoding UTF-8 > > > -compiler.allow-source-path-overlap=false > > > -compiler.as3=true > > > -compiler.debug=false > > > -compiler.es=false > > > -compiler.external-library-path C:\razvoj > > > \workspace001\hr.abc.test.locales\flex-locale\target\classes\libraries > > > \playerglobal.swc > > > -compiler.fonts.local-fonts-snapshot C:\razvoj > > > \workspace001\hr.abc.test.locales\flex-locale\target\classes > > > \fonts.ser > > > -compiler.fonts.managers flash.fonts.JREFontManager > > > flash.fonts.AFEFontManager flash.fonts.BatikFontManager > > > -compiler.headless-server=false > > > -compiler.include-libraries= > > > -compiler.keep-all-type-selectors=false > > > -compiler.keep-generated-actionscript=false > > > -compiler.library-path C:\Documents and Settings\Mario\.m2\repository > > > \com\adobe\flex\framework\flex\3.5.0.12683\flex-3.5.0.12683.swc C: > > > \Documents and Settings\Mario\.m2\repository\com\adobe\flex\framework > > > \framework\3.5.0.12683\framework-3.5.0.12683.swc C:\Documents and > > > Settings\Mario\.m2\repository\com\adobe\flex\framework\rpc > > > \3.5.0.12683\rpc-3.5.0.12683.swc C:\Documents and Settings\Mario > > > \.m2\repository\com\adobe\flex\framework\utilities > > > \3.5.0.12683\utilities-3.5.0.12683.swc > > > -compiler.locale= > > > -compiler.namespaces.namespacehttp://www.adobe.com/2006/mxmlC:\razvoj > > > \workspace001\hr.abc.test.locales\flex-locale\target\classes > > > \config-3.5.0.12683\mxml-manifest.xml > > > -compiler.optimize=true > > > -compiler.source-path C:\razvoj\workspace001\hr.abc.test.locales\flex- > > > locale\src\main\flex > > > -compiler.strict=true > > > -compiler.use-resource-bundle-metadata=true > > > -compiler.verbose-stacktraces=false > > > -default-background-color 8821927 > > > -default-frame-rate 24 > > > -default-script-limits 1000 60 > > > -default-size 500 375 > > > -include-resource-bundles Resources > > > -licenses.license flexbuilder3 137741628362027145878533 > > > -licenses.license flexbuilder3.displayedFirstLaunchMessage true... > > > > read more ยป > > -- > 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]<flex-mojos%[email protected]> > For more options, visit this group at > http://groups.google.com/group/flex-mojos?hl=en?hl=en > > http://flexmojos.sonatype.org/ > -- 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://flexmojos.sonatype.org/
