Thanks Velo. Sorry, been swamped the last couple days @ work. Thanks for the fix for locales, that fixed the issue.
A new issue I just found was that my projects that define modules are not compiling them. There is a main .swf compiled, but the defined modules seem to be ignored. thanks again. -al On Apr 1, 4:38 am, Marvin Froeder <[email protected]> wrote: > ok, Fix deployed... > > Notice:http://repository.sonatype.org/content/sites/flexmojos-site/4.0-SNAPS...http://repository.sonatype.org/content/sites/flexmojos-site/4.0-SNAPS... > > I renamed both properties to make they closer each other on docs. > > VELO > > On Wed, Mar 31, 2010 at 8:34 PM, alpduhuez <[email protected]> wrote: > > Awesome thank you, I'll sync up to your changes & remove my local > > hack. I've been able to build now all my projects except the main app > > now. Running into an issue w/ the localizations, the resource bundles > > can't be resolved. > > > Error: Unable to resolve resource bundle "tpLocale" for locale > > "en_US". > > > It looks like the locale sources are not being added to - > > compiler.source-path argument in FM4, but they are in FM3.5 > > > FM3.5 > > -compiler.source-path /dude/.pulse2-agent/base/flex/module-share-ui/ > > src/main/flex /dude/.pulse2-agent/base/flex/module-share-ui/src/main/ > > locales/{locale} > > > FM4.0 > > -compiler.locale=en_US > > -compiler.source-path=/dude/Source/depot/Service/ui/java/projects/ > > Tsunami/short/flex/ui/src/main/flex > > > I had the locales configured as this below originally. I also tried > > the runtimeLocales, this failed with find no bundles (including the > > sdk ones). > > <compiledLocales> > > <locale>en_US</locale> > > </compiledLocales> > > > I also tried removing the so the default toolsLocale would be used, > > then it just fails b/c the one .property file can't be found. > > > Thanks again. > > -al > > > On Mar 31, 2:21 pm, Marvin Froeder <[email protected]> wrote: > > > Debug option removed.... if you wanna to create a debug swf just set > > > optimize to false. > > > > VELO > > > > On Wed, Mar 31, 2010 at 5:34 PM, Marvin Froeder <[email protected]> > > wrote: > > > > Odd... > > > > >> C:\flex\flex_sdk_4.0.0.14159\lib>java -jar optimizer.jar -help > > advanced > > > >> list > > > >> Adobe Flex Compiler (optimizer) > > > >> Version 4.0.0 build 14159 > > > >> Copyright (c) 2004-2009 Adobe Systems, Inc. Todos os direitos > > reservados. > > > > >> -compiler.debug > > > >> -compiler.keep-as3-metadata [name] [...] > > > >> -help [keyword] [...] > > > >> -input <filename> > > > >> -load-config <filename> > > > >> -output <filename> > > > >> -version > > > > > It makes no sense IMO, but debug is there... > > > > > I can drop it off, but flex compiler should be able to handle it. > > > > > VELO > > > > > On Wed, Mar 31, 2010 at 5:13 PM, alpduhuez <[email protected]> > > wrote: > > > > >> Thanks Velo, those updates got the project compiling. Thank you. > > > > >> Now the whole reason for this post. :) I'm trying to use the > > 'create- > > > >> rsl' goal, but it is blowing up b/c -compiler.debug is not a param. I > > > >> tried pulling it out cleanly but didn't work, I don't fully grok how > > > >> some stuff happens I guess. So I just forcefully removed it in > > > >> DefaultFlexCompiler.optimize(). This worked & the build continues. > > > > >> :: Here is the stacktrace :: > > > > >> [DEBUG] Compilation arguments: > > > >> -input=/Users/brandon.lonac/Source/depot/Service/ui/java/projects/ > > > >> Tsunami/short/flex/shell-core-interfaces/target/classes/original.swf > > > >> -output=/Users/brandon.lonac/Source/depot/Service/ui/java/projects/ > > > >> Tsunami/short/flex/shell-core-interfaces/target/classes/optimized.swf > > > >> -load-config= > > > >> -compiler.debug=false > > > >> -compiler.keep-as3-metadata=Listener > > > >> command line: Error: unknown configuration variable 'compiler.debug' > > > > >> Use 'optimizer -help' for information about using the command line. > > > >> [INFO] > > > ------------------------------------------------------------------------ > > > >> [INFO] BUILD FAILURE > > > >> [INFO] > > > ------------------------------------------------------------------------ > > > >> [INFO] Total time: 19.855s > > > >> [INFO] Finished at: Wed Mar 31 13:09:45 PDT 2010 > > > >> [INFO] Final Memory: 13M/506M > > > >> [INFO] > > > ------------------------------------------------------------------------ > > > >> [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven- > > > >> plugin:4.0-SNAPSHOT:create-rsl (default-create-rsl) on project pl- > > > >> console-flex-shell-core-interfaces: Got 1 errors building project, > > > >> check logs -> [Help 1] > > > >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > > > >> execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0- > > > >> SNAPSHOT:create-rsl (default-create-rsl) on project pl-console-flex- > > > >> shell-core-interfaces: Got 1 errors building project, check logs > > > >> at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java: > > > >> 580) > > > >> at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java: > > > >> 323) > > > >> at > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247) > > > >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:104) > > > >> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:427) > > > >> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:157) > > > >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:121) > > > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > >> at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > > > >> 39) > > > >> at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: > > > >> 25) > > > >> at java.lang.reflect.Method.invoke(Method.java:597) > > > >> at > > > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java: > > > >> 290) > > > >> at > > > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java: > > > >> 230) > > > >> at > > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java: > > > >> 409) > > > >> at > > > >> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java: > > > >> 352) > > > >> Caused by: org.apache.maven.plugin.MojoFailureException: Got 1 errors > > > >> building project, check logs > > > >> at > > > org.sonatype.flexmojos.plugin.optimizer.AbstractOptimizerMojo.optimize(AbstractOptimizerMojo.java: > > > >> 248) > > > >> at > > > org.sonatype.flexmojos.plugin.optimizer.RSLCreatorMojo.optimize(RSLCreatorMojo.java: > > > >> 110) > > > >> at > > > org.sonatype.flexmojos.plugin.optimizer.AbstractOptimizerMojo.optimize(AbstractOptimizerMojo.java: > > > >> 302) > > > >> at > > > org.sonatype.flexmojos.plugin.optimizer.RSLCreatorMojo.execute(RSLCreatorMojo.java: > > > >> 78) > > > >> at > > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java: > > > >> 105) > > > >> at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java: > > > >> 576) > > > >> ... 14 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]> > > <flex-mojos%[email protected]<flex-mojos%[email protected]> > > > > >> For more options, visit this group at > > > >>http://groups.google.com/group/flex-mojos > > > > >>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]<flex-mojos%[email protected]> > > For more options, visit this group at > >http://groups.google.com/group/flex-mojos > > >http://flexmojos.sonatype.org/ > > > To unsubscribe, reply using "remove me" as the subject. -- 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/
