Did you change sourcePath?
VELO
On Mon, Apr 6, 2009 at 3:22 PM, alpduhuez <[email protected]> wrote:
>
> Right, this is the path I have on disk:
>
> ${basedir}/src/main/locales/en_US
>
> It has 2 files now:
> fpLocale.properties
> tpLocale.properties
>
> I did try copying them to: ${basedir}/src/main/locales/ but I still
> get the same error:
> [ERROR] Unable to resolve resource bundle "fpLocale" for locale
> "en_US".
>
> Thanks.
> -Al
>
> On Apr 6, 11:14 am, Marvin Froeder <[email protected]> wrote:
> > {locale} folder shouldn't exist on disk. It is just a virtual reference,
> if
> > you have it on disk, delete.
> > VELO
> >
> > On Mon, Apr 6, 2009 at 3:03 PM, alpduhuez <[email protected]> wrote:
> >
> > > No luck, I copied tpLocale.properties to fpLocale.properties in the
> > > same directory: ${basedir}/src/main/locales/{locale}
> >
> > > I still get the error: [ERROR] Unable to resolve resource bundle
> > > "fpLocale" for locale "en_US".
> >
> > > I even tried changing the <compiledLocales/> to <runtimeLocales/>
> >
> > > On Apr 6, 10:49 am, Marvin Froeder <[email protected]> wrote:
> > > > Try to put the file in
> > > > ${basedir}/src/main/locales/en_US/fpLocale.properties
> > > > VELO
> >
> > > > On Mon, Apr 6, 2009 at 2:46 PM, alpduhuez <[email protected]>
> wrote:
> >
> > > > > Currently I have it in ${basedir}/src/main/locales/ in the same
> > > > > project as the .swf
> >
> > > > > On Apr 6, 10:44 am, Marvin Froeder <[email protected]> wrote:
> > > > > > What should provide tpLocale.properties?
> > > > > > VELO
> >
> > > > > > On Mon, Apr 6, 2009 at 2:41 PM, alpduhuez <[email protected]>
> > > wrote:
> >
> > > > > > > Boing, sorry, edited that part out. I am getting a compiler
> error:
> >
> > > > > > > [ERROR] Unable to resolve resource bundle "tpLocale" for locale
> > > > > > > "en_US".
> >
> > > > > > > this is the compiler output:
> >
> > > > > > > [INFO] [resources:resources]
> > > > > > > [INFO] Using default encoding to copy filtered resources.
> > > > > > > [INFO] [flexmojos:wrapper {execution: default}]
> > > > > > > [INFO] flexmojos 3.0.0 - GNU GPL License (NO WARRANTY) - See
> > > COPYRIGHT
> > > > > > > file
> > > > > > > [INFO] Extracting template
> > > > > > > [INFO] [flexmojos:compile-swf]
> > > > > > > [INFO] flexmojos 3.0.0 - GNU GPL License (NO WARRANTY) - See
> > > COPYRIGHT
> > > > > > > file
> > > > > > > [WARNING] Source file was not defined, flexmojos will guess
> one.
> > > > > > > [INFO] Flex compiler configurations:
> > > > > > > -compiler.accessible=false
> > > > > > > -compiler.actionscript-file-encoding UTF-8
> > > > > > > -compiler.allow-source-path-overlap=false
> > > > > > > -compiler.as3=true
> > > > > > > -compiler.debug=true
> > > > > > > -compiler.es=false
> > > > > > > -compiler.external-library-path
> > > /Users/blonac/Source/depot/Service/ui/
> > > > > > > java/projects/Tsunami/main/flex/ui/target/classes/libraries/
> > > > > > > playerglobal.swc
> > > > > > > -compiler.fonts.advanced-anti-aliasing=true
> > > > > > > -compiler.fonts.local-fonts-snapshot
> /Users/blonac/Source/depot/
> > > > > > > Service/ui/java/projects/Tsunami/main/flex/ui/target/classes/
> > > > > > > fonts.ser
> > > > > > > -compiler.fonts.managers flash.fonts.AFEFontManager
> > > > > > > -compiler.fonts.max-cached-fonts 20
> > > > > > > -compiler.fonts.max-glyphs-per-face 1000
> > > > > > > -compiler.headless-server=false
> > > > > > > -compiler.include-libraries=
> > > > > > > -compiler.keep-all-type-selectors=false
> > > > > > > -compiler.keep-generated-actionscript=false
> > > > > > > -compiler.library-path
> > > /Users/blonac/.m2/repository/com/theplatform/
> > > > > > >
> console/pl-console-flex-components/1.0-SNAPSHOT/pl-console-flex-
> > > > > > > components-1.0-SNAPSHOT.swc /Users/blonac/.m2/repository/com/
> >
> > > theplatform/console/pl-console-flex-model/1.0-SNAPSHOT/pl-console-flex-
> > > > > > > model-1.0-SNAPSHOT.swc
> > > /Users/blonac/.m2/repository/com/theplatform/
> >
> > > flex/pl-flex-common/2.0.0-SNAPSHOT/pl-flex-common-2.0.0-SNAPSHOT.swc /
> >
> > > Users/blonac/.m2/repository/com/theplatform/flex/pl-flex-logger/2.0.0-
> > > > > > > SNAPSHOT/pl-flex-logger-2.0.0-SNAPSHOT.swc /Users/blonac/.m2/
> > > > > > >
> repository/com/adobe/flex/framework/applicationupdater/3.2.0.3958/
> > > > > > > applicationupdater-3.2.0.3958.swc
> /Users/blonac/.m2/repository/com/
> > > > > > > adobe/flex/framework/applicationupdater_ui/3.2.0.3958/
> > > > > > > applicationupdater_ui-3.2.0.3958.swc
> > > /Users/blonac/.m2/repository/com/
> > > > > > > adobe/flex/framework/flex/3.2.0.3958/flex-3.2.0.3958.swc
> /Users/
> >
> > > blonac/.m2/repository/com/adobe/flex/framework/framework/3.2.0.3958/
> > > > > > > framework-3.2.0.3958.swc
> > > /Users/blonac/.m2/repository/com/adobe/flex/
> > > > > > > framework/rpc/3.2.0.3958/rpc-3.2.0.3958.swc /Users/blonac/.m2/
> > > > > > > repository/com/adobe/flex/framework/utilities/3.2.0.3958/
> > > > > > > utilities-3.2.0.3958.swc
> /Users/blonac/.m2/repository/com/adobe/
> > > > > > > as3corelib/pl-as3corelib/0.90/pl-as3corelib-0.90.swc
> > > /Users/blonac/.m2/
> >
> > > repository/com/theplatform/flex/pl-flex-identity-client/2.0.0-SNAPSHOT/
> > > > > > > pl-flex-identity-client-2.0.0-SNAPSHOT.swc /Users/blonac/.m2/
> >
> > > repository/com/theplatform/flex/pl-flex-communication/2.0.0-SNAPSHOT/
> > > > > > > pl-flex-communication-2.0.0-SNAPSHOT.swc
> > > /Users/blonac/.m2/repository/
> > > > > > >
> com/theplatform/console/pl-console-flex-uploads/1.0-SNAPSHOT/pl-
> > > > > > > console-flex-uploads-1.0-SNAPSHOT.swc
> > > /Users/blonac/.m2/repository/com/
> >
> > > theplatform/console/pl-console-flex-shell-core/1.0-SNAPSHOT/pl-console-
> > > > > > > flex-shell-core-1.0-SNAPSHOT.swc
> /Users/blonac/.m2/repository/com/
> >
> > > theplatform/console/pl-console-flex-shell-core-interfaces/1.0-SNAPSHOT/
> > > > > > > pl-console-flex-shell-core-interfaces-1.0-SNAPSHOT.swc /Users/
> >
> > > blonac/.m2/repository/com/theplatform/console/pl-console-flex-frame-
> > > > > > > data/1.0-SNAPSHOT/pl-console-flex-frame-data-1.0-SNAPSHOT.swc
> > > /Users/
> >
> > > blonac/.m2/repository/com/theplatform/console/pl-console-flex-module-
> > > > > > > media-data/1.0-SNAPSHOT/pl-console-flex-module-media-data-1.0-
> > > > > > > SNAPSHOT.swc
> > > /Users/blonac/.m2/repository/com/theplatform/console/pl-
> >
> > > console-flex-module-shell-frame-ui/1.0-SNAPSHOT/pl-console-flex-module-
> > > > > > > shell-frame-ui-1.0-SNAPSHOT.swc
> > > /Users/blonac/.m2/repository/flexlib/
> > > > > > > pl-flexlib/0.2.4/pl-flexlib-0.2.4.swc
> > > /Users/blonac/.m2/repository/com/
> > > > > > > adobe/flex/framework/rpc/3.2.0.3958/rpc-3.2.0.3958-en_US.rb.swc
> > > /Users/
> >
> > > blonac/.m2/repository/com/adobe/flex/framework/framework/3.2.0.3958/
> > > > > > > framework-3.2.0.3958-en_US.rb.swc
> > > > > > > -compiler.locale en_US
> > > > > > > -compiler.namespaces.namespacehttp://
> > >www.adobe.com/2006/mxml/Users/
> > > > > > >
> blonac/Source/depot/Service/ui/java/projects/Tsunami/main/flex/ui/
> > > > > > > target/classes/configs/mxml-manifest.xml
> > > > > > > -compiler.optimize=true
> > > > > > > -compiler.source-path
> /Users/blonac/Source/depot/Service/ui/java/
> > > > > > > projects/Tsunami/main/flex/ui/src/main/flex
> > > /Users/blonac/Source/depot/
> >
> > > Service/ui/java/projects/Tsunami/main/flex/ui/target/generated-sources/
> > > > > > > base
> > > > > > > -compiler.strict=true
> > > > > > > -compiler.use-resource-bundle-metadata=true
> > > > > > > -compiler.verbose-stacktraces=false
> > > > > > > -compiler.warn-no-constructor=false
> > > > > > > -default-background-color 8821927
> > > > > > > -default-frame-rate 24
> > > > > > > -default-script-limits 1000 60
> > > > > > > -default-size 500 375
> > > > > > > -licenses.license flexbuilder3 1377-4007-0077-6491-1018-3207
> > > > > > > -metadata.date Mon Apr 06 10:40:22 PDT 2009
> > > > > > > -target-player 10.0.0
> > > > > > > -use-network=true
> > > > > > > -verify-digests=true -load-config=
> > > > > > > [ERROR] Unable to resolve resource bundle "tpLocale" for locale
> > > > > > > "en_US".
> > > > > > > [INFO]
> >
> > >
> ------------------------------------------------------------------------
> > > > > > > [ERROR] BUILD ERROR
> > > > > > > [INFO]
> >
> > >
> ------------------------------------------------------------------------
> >
> > > > > > > On Apr 6, 10:33 am, Marvin Froeder <[email protected]> wrote:
> > > > > > > > I still not seeing what is your problem.....
> > > > > > > > Can you be more specific?
> >
> > > > > > > > VELO
> >
> > > > > > > > On Mon, Apr 6, 2009 at 2:30 PM, alpduhuez <
> [email protected]>
> > > > > wrote:
> >
> > > > > > > > > If I comment out the Metadata tag in the mxml defining the
> > > resource
> > > > > > > > > bundle, everything compiles but the bundle is not included.
> I
> > > have
> > > > > > > > > also tried specifying the bundlePath with:
> >
> > > > > > > > > <resourceBundlePath>${basedir}/src/main/locales/{locale}</
> > > > > > > > > resourceBundlePath>
> >
> > > > > > > > > but no luck at all.
> >
> > > > > > > > > Thanks.
> > > > > > > > > -Al
> >
> > > > > > > > > On Apr 6, 10:19 am, alpduhuez <[email protected]> wrote:
> > > > > > > > > > I know this has been a hot topic, sorry something is
> amuck w/
> > > my
> > > > > .swf
> > > > > > > > > > build when I try to embed a resource file in it. I use
> to
> > > work
> > > > > with
> > > > > > > > > > 2.0M10. I am using 3.2-SNAPSHOT and I've read all the
> posts,
> > > > > > > followed
> > > > > > > > > > the examples in:
> >
> > >http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-t.
> > > > > ..
> >
> > > > > > > > > > and
> >
> > >http://svn.sonatype.org/flexmojos/branches/flexmojos-3.0.x/flexmojos-.
> > > > > ..
> >
> > > > > > > > > > My properties file is in:
> > > > > > > > > > ${basedir}/src/main/locales/{locale}
> >
> > > > > > > > > > I have a Metadata tag in my the main app.
> >
> > > > > > > > > > Here is my config:
> > > > > > > > > > <configuration>
> > > > > > > > > >
> <compiledLocales>
> >
> > > > > > > <locale>en_US</locale>
> > > > > > > > > >
> </compiledLocales>
> >
> > > > > > > > > <mergeResourceBundle>true</mergeResourceBundle>
> >
> > > > > <debug>${build.debug}</debug>
> > > > > > > > > > <licenses>
> >
> > > > > > > > > <flexbuilder3>xxxx</flexbuilder3>
> > > > > > > > > > </licenses>
> > > > > > > > > > <fonts>
> > > > > > > > > >
> <managers>
> >
> > > > > > > > > <manager>flash.fonts.AFEFontManager</manager>
> > > > > > > > > >
> </managers>
> > > > > > > > > > </fonts>
> >
> > ...
> >
> > 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]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en
http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---