Hi Velo!

Sorry for the delay!

I've tried a clean install with -e

I noticed the warning: [WARNING] Resource-bundle generation fail: No
resource-bundle found.


Result:

[INFO] [clean:clean]
[INFO] Deleting directory D:\builds\flex\Flex-qdev\flex-framework-
resources\targ
et
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [flex-compiler-mojo:compile-swc]
[INFO] Flex-mojos 2.0.3 - GNU GPL License (NO WARRANTY) - See
COPYRIGHT file
[INFO] Using configuration file D:\builds\flex\Flex-qdev\flex-
framework-resource
s\target\classes\config.xml
[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 D:\builds\flex\Flex-qdev\flex-
framework-resource
s\target\classes\libraries\playerglobal.swc
-compiler.fonts.local-fonts-snapshot D:\builds\flex\Flex-qdev\flex-
framework-res
ources\target\classes\fonts.ser
-compiler.headless-server=false
-compiler.include-libraries=
-compiler.keep-all-type-selectors=false
-compiler.keep-generated-actionscript=false
-compiler.library-path D:\builds\flex\Flex-qdev\.m2\repository\com
\adobe\flex\fr
amework\flex\3.1.0.2710\flex-3.1.0.2710.swc D:\builds\flex\Flex-qdev
\.m2\reposit
ory\com\adobe\flex\framework\framework
\3.1.0.2710\framework-3.1.0.2710.swc D:\bu
ilds\flex\Flex-qdev\.m2\repository\com\adobe\flex\framework\rpc
\3.1.0.2710\rpc-3
.1.0.2710.swc D:\builds\flex\Flex-qdev\.m2\repository\com\adobe\flex
\framework\u
tilities\3.1.0.2710\utilities-3.1.0.2710.swc
-compiler.locale=
-compiler.namespaces.namespace http://www.adobe.com/2006/mxml D:\builds
\flex\Fle
x-qdev\flex-framework-resources\target\classes\configs\mxml-
manifest.xml
-compiler.optimize=true
-compiler.source-path D:\builds\flex\Flex-qdev\flex-framework-resources
\src\main

-compiler.strict=true
-compiler.use-resource-bundle-metadata=true
-compiler.verbose-stacktraces=false
-compute-digest=true
-default-background-color 8821927
-default-frame-rate 24
-default-script-limits 1000 60
-default-size 500 375
-licenses.license flexbuilder3 xxxx
-licenses.license flexbuilder3.displayed20DaysLeftMessage true
-licenses.license flexbuilder3.displayedFirstLaunchMessage true
-load-config D:\builds\flex\Flex-qdev\flex-framework-resources\target
\classes\co
nfig.xml
-metadata.creator Soren Jepsen
-metadata.date Thu Feb 12 09:54:13 CET 2009
-target-player 9.0.0
-use-network=true
-verify-digests=true
[INFO] Loading configuration file D:\builds\flex\Flex-qdev\flex-
framework-resour
ces\target\classes\config.xml
[INFO] Compiling resources bundles!
[WARNING] Resource-bundle generation fail: No resource-bundle found.
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [flex-compiler-mojo:test-compile]
[INFO] Flex-mojos 2.0.3 - GNU GPL License (NO WARRANTY) - See
COPYRIGHT file
[WARNING] Test folder not foundD:\builds\flex\Flex-qdev\flex-framework-
resources
\src\test\java
[INFO] [flex-compiler-mojo:test-run]
[INFO] Flex-mojos 2.0.3 - GNU GPL License (NO WARRANTY) - See
COPYRIGHT file
[WARNING] Skipping test run. Runner not found: D:\builds\flex\Flex-qdev
\flex-fra
mework-resources\target\test-classes\TestRunner.swf
[INFO] [install:install]
[INFO] Installing D:\builds\flex\Flex-qdev\flex-framework-resources
\target\flex-
framework-resources-flex-qdev.swc to D:\builds\flex\Flex-qdev
\.m2\repository\dk\
fioniabank\flex\flex-framework-resources\flex-qdev\flex-framework-
resources-flex
-qdev.swc
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 29 seconds
[INFO] Finished at: Thu Feb 12 09:54:20 CET 2009
[INFO] Final Memory: 13M/36M
[INFO]
------------------------------------------------------------------------


I've checked the resourceBundlePath exists - and it does.

My build section of the pom.xml
        <build>
                <sourceDirectory>src/main/</sourceDirectory>
                <plugins>
                        <plugin>
                                <groupId>info.flex-mojos</groupId>
                                <artifactId>flex-compiler-mojo</artifactId>
                                <extensions>true</extensions>
                                <configuration>
                                        <includeResourceBundles>
                                                
<bundle>fionia_validators</bundle>
                                        </includeResourceBundles>

                                        <runtimeLocales>
                                                <locale>en_US</locale>
                                        </runtimeLocales>

                                        
<resourceBundlePath>${basedir}/src/main/locales/{locale}</
resourceBundlePath>
                                </configuration>
                        </plugin>
                </plugins>
        </build>

On 10 Feb., 16:35, Marvin Froeder <[email protected]> wrote:
> Send me your console output using includeResourceBundles
>
> VELO
>
> On Tue, Feb 10, 2009 at 1:26 PM, netphreak <[email protected]> wrote:
>
> > Hi Logan!
>
> > I tried that - but it didn't work using <includeResourceBundles>.
>
> > On 10 Feb., 16:19, Logan Allred <[email protected]> wrote:
> > > On Tue, Feb 10, 2009 at 7:27 AM, netphreak <[email protected]> wrote:
> > > > I can make it include the files, by making a mxml file:
> > > ....
> > > >                [ResourceBundle("fionia_validators")]
> > > >                [ResourceBundle("validators")]
>
> > > You could also just put these in a Metadata tag:
> > >     <mx:Metadata>
> > >         [ResourceBundle("fionia_validators")]
> > >         [ResourceBundle("validators")]
> > >     </mx:Metadata>
>
> > > > So something is missing in the maven plugin for handling this.
>
> > > Well, the Flex compiler is an optimizing compiler, so if you don't use
> > > something, they don't compile it. In this case, since you don't use
> > > your resource bundles in the swc itself, it just optimizes them out
> > > assuming you don't need them. That's what the include-resource-bundles
> > > compiler option that Velo linked to is for. It's to tell the compiler
> > > that while your swc doesn't use them, other projects will depend on
> > > them and to include them anyway.
>
> > > So just add your 2 resource bundles to your includeResourceBundles and
> > > you should be good.
>
> > > Logan
--~--~---------~--~----~------------~-------~--~----~
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