Stupid question... are your files referenced any time on your library? VELO
On Tue, Feb 10, 2009 at 11:21 AM, netphreak <[email protected]> wrote: > > Only: > > containers.properties > core.properties > effects.properties > skins.properties > styles.properties > > missing my own files: > validators.properties > fionia_validators.properties > > > > On 10 Feb., 14:17, Marvin Froeder <[email protected]> wrote: > > You openned flex-framework-resources-${version}-en_US.rb.swc and has no > > localization stuff on it?! > > > > VELO > > > > On Tue, Feb 10, 2009 at 11:15 AM, netphreak <[email protected]> wrote: > > > > > Same result: > > > > > My pom.xml now: > > > > > <?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.0http://maven.apache.org/maven-v4_0_0.xsd"> > > > <modelVersion>4.0.0</modelVersion> > > > <groupId>dk.xxx.flex</groupId> > > > <artifactId>flex-framework-resources</artifactId> > > > <packaging>swc</packaging> > > > <version>${release.version}</version> > > > <name>xxx.dk flex-framework-resources</name> > > > <url>http://xxxx.dk/</url> > > > > > <parent> > > > <artifactId>project-parent</artifactId> > > > <groupId>dk.xxx</groupId> > > > <version>1.0-SNAPSHOT</version> > > > </parent> > > > > > <build> > > > <plugins> > > > <plugin> > > > <groupId>info.flex-mojos</groupId> > > > > <artifactId>flex-compiler-mojo</artifactId> > > > <extensions>true</extensions> > > > <configuration> > > > <runtimeLocales> > > > <locale>en_US</locale> > > > </runtimeLocales> > > > > > <resourceBundlePath>${basedir}/src/main/locales/{locale}</ > > > resourceBundlePath> > > > </configuration> > > > </plugin> > > > </plugins> > > > </build> > > > </project> > > > > > On 10 Feb., 14:08, Marvin Froeder <[email protected]> wrote: > > > > Use runtimeLocales only. > > > > Remove mergeResourceBundle > > > > You use default resourceBundlePath, so is not necessary to declare > it. > > > > > > VELO > > > > > > On Tue, Feb 10, 2009 at 11:00 AM, netphreak <[email protected]> > wrote: > > > > > > > Here's my pom.xml for the swc containing the resources: > > > > > > > <?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.0http://maven.apache.org/maven-v4_0_0.xsd > "> > > > > > <modelVersion>4.0.0</modelVersion> > > > > > <groupId>dk.xxxx.flex</groupId> > > > > > <artifactId>flex-framework-resources</artifactId> > > > > > <packaging>swc</packaging> > > > > > <version>${release.version}</version> > > > > > <name>xxx.dk flex-framework-resources</name> > > > > > <url>http://xxx.dk/</url> > > > > > > > <parent> > > > > > <artifactId>project-parent</artifactId> > > > > > <groupId>dk.fioniabank</groupId> > > > > > <version>1.0-SNAPSHOT</version> > > > > > </parent> > > > > > > > <build> > > > > > <plugins> > > > > > <plugin> > > > > > <groupId>info.flex-mojos</groupId> > > > > > <artifactId>flex-compiler-mojo</artifactId> > > > > > <extensions>true</extensions> > > > > > <configuration> > > > > > <!--runtimeLocales> > > > > > > <locale>en_US</locale> > > > > > </runtimeLocales--> > > > > > <compiledLocales> > > > > > > <locale>en_US</locale> > > > > > </compiledLocales> > > > > > > > <mergeResourceBundle>false</mergeResourceBundle> > > > > > > > <resourceBundlePath>${basedir}/src/main/locales/{locale}</ > > > > > resourceBundlePath> > > > > > </configuration> > > > > > > > </plugin> > > > > > </plugins> > > > > > </build> > > > > > </project> > > > > > > > My locale files are located in /src/main/locales/en_US/ > > > > > > > containing: > > > > > > > - fionia_valdiators.properties > > > > > - validators.properties > > > > > > > On 10 Feb., 13:50, Marvin Froeder <[email protected]> wrote: > > > > > > You are doing something wrong on SWC compilation. > > > > > > > > VELO > > > > > > > > On Tue, Feb 10, 2009 at 10:43 AM, netphreak <[email protected]> > > > wrote: > > > > > > > > > Hi Velo! > > > > > > > > > Great idea! > > > > > > > > > No - the rb.swc does not contain an > fionia_validators.properties. > > > > > > > > > Now that's weird. How come? > > > > > > > > > On 10 Feb., 13:36, Marvin Froeder <[email protected]> wrote: > > > > > > > > Did you open your rb.swc and check if en_US stuff is there? > > > > > > > > > > VELO > > > > > > > > > > On Tue, Feb 10, 2009 at 10:30 AM, netphreak < > [email protected]> > > > > > wrote: > > > > > > > > > > > I tried using each one separate. Same result. > > > > > > > > > > > I got no idea, what I'm doing wrong... > > > > > > > > > > > On 10 Feb., 13:18, Marvin Froeder <[email protected]> > wrote: > > > > > > > > > > <runtimeLocales> > > > > > > > <locale>en_US</locale> > > > > > > > > > > </runtimeLocales> > > > > > > > > > > <compiledLocales> > > > > > > > <locale>en_US</locale> > > > > > > > > > > </compiledLocales> > > > > > > > > > > > > Pick one.... may help. > > > > > > > > > > > > VELO > > > > > > > > > > > > On Tue, Feb 10, 2009 at 10:15 AM, netphreak < > > > [email protected]> > > > > > > > wrote: > > > > > > > > > > > > > Hi Velo! > > > > > > > > > > > > > Yes, it does: > > > > > > > > > > > > > <build> > > > > > > > > > > > <plugins> > > > > > > > > > > > <plugin> > > > > > > > <groupId>info.flex-mojos</groupId> > > > > > > > > > > > <artifactId>flex-compiler-mojo</artifactId> > > > > > > > > > > > <configuration> > > > > > > > > > > > <runtimeLocales> > > > > > > > > > <locale>en_US</locale> > > > > > > > > > > > > </runtimeLocales> > > > > > > > > > > > > <compiledLocales> > > > > > > > > > <locale>en_US</locale> > > > > > > > > > > > > </compiledLocales> > > > > > > > > > > > > > <mergeResourceBundle>true</mergeResourceBundle> > > > > > > > > > > > > > > <resourceBundlePath>${basedir}/src/main/locales/{locale}</ > > > > > > > > > > > resourceBundlePath> > > > > > > > > > > > </configuration> > > > > > > > > > > > > > </plugin> > > > > > > > > > > > </plugins> > > > > > > > > > > > </build> > > > > > > > > > > > > > On 10 Feb., 13:07, Marvin Froeder <[email protected]> > > > wrote: > > > > > > > > > > > > Does this rb.swc contains en_US bundle? > > > > > > > > > > > > > > VELO > > > > > > > > > > > > > > On Tue, Feb 10, 2009 at 10:05 AM, netphreak < > > > > > [email protected]> > > > > > > > > > wrote: > > > > > > > > > > > > > > > Hi All! > > > > > > > > > > > > > > > I'm having trouble compiling a module (swf), that > > > depends > > > > > on a > > > > > > > > > > > > > resource bundle. > > > > > > > > > > > > > > > I get the error: "Unable to resolve resource bundle > > > > > > > > > > > > > "fionia_validators" for locale "en_US". > > > > > > > > > > > > > > > I'm compiling using the flex-mojo v 2.0.3 and JDK > 1.5. > > > > > > > > > > > > > > > My pom.xml > > > > > > > > > > > > > > > <?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.0http://maven.apache.org/maven-v4_0_0.xsd > > > > > > > > > "> > > > > > > > > > > > > > <modelVersion>4.0.0</modelVersion> > > > > > > > > > > > > > <groupId>dk.xxxxxx.flex</groupId> > > > > > > > > > > > > > <artifactId>flex-sas-reports</artifactId> > > > > > > > > > > > > > <packaging>swf</packaging> > > > > > > > > > > > > > <version>${release.version}</version> > > > > > > > > > > > > > <name>xxxxxx.dk flex-sas-reports</name> > > > > > > > > > > > > > <url>http://xxxxx.dk/</url> > > > > > > > > > > > > > > > <parent> > > > > > > > > > > > > > > <artifactId>project-parent</artifactId> > > > > > > > > > > > > > <groupId>dk.xxxxxx</groupId> > > > > > > > > > > > > > <version>1.0-SNAPSHOT</version> > > > > > > > > > > > > > </parent> > > > > > > > > > > > > > > > <build> > > > > > > > > > > > > > <plugins> > > > > > > > > > > > > > <plugin> > > > > > > > > > <groupId>info.flex-mojos</groupId> > > > > > > > > > > > > > <artifactId>flex-compiler-mojo</artifactId> > > > > > > > <extensions>true</extensions> > > > > > > > > > > > > > <configuration> > > > > > > > > > > > > > </configuration> > > > > > > > > > > > > > </plugin> > > > > > > > > > > > > > </plugins> > > > > > > > > > > > > > </build> > > > > > > > > > > > > > > > <dependencies> > > > > > > > > > > > > > <dependency> > > > > > > > <groupId>dk.fioniabank.flex</groupId> > > > > > > > <artifactId>flex-framework</artifactId> > > > > > > > <version>${release.version}</version> > > > > > > > > > > > > > <type>swc</type> > > > > > > > > > > > > > </dependency> > > > > > > > > > > > > > <dependency> > > > > > > > <groupId>dk.fioniabank.flex</groupId> > > > > > > > > > > > > > <artifactId>flex-framework-resources</artifactId> > > > > > > > <version>${release.version}</version> > > > > ... > > > > læs mere » > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
