The rb.swc is just a beacon, so it can have any content to make flexmojos happy.
Sent from DROID Em 08/09/2010 03:29, "Darren" <[email protected]>escreveu: Hi all, I had previously (a while back now) posted an issue with 3.5.0.12683 http://groups.google.com/group/flex-mojos/browse_thread/thread/da6860fa1e15fc1b [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error parsing C:\Dev\workspaces\workspace_flex\flexponents- demo-2\target\classes\config-3.5.0.12683\flex-config.xml Embedded error: Could not load default SAX parser: org.apache.xerces.parsers.SAXParser: SAX2 driver class org.apache.xerces.parsers.SAXParser not found: org.apache.xerces.parsers.SAXParser [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11 seconds [INFO] Finished at: Wed Sep 08 07:00:36 BST 2010 [INFO] Final Memory: 40M/341M [INFO] ------------------------------------------------------------------------ So I moved up to 3.5.a.12683 hoping for some reprieve, only to face [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] For input string: "a" [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NumberFormatException: For input string: "a" at java.lang.NumberFormatException.forInputString(NumberFormatException.java: 48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.<init>(Integer.java:660) at ... [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11 seconds [INFO] Finished at: Wed Sep 08 07:04:53 BST 2010 [INFO] Final Memory: 39M/296M [INFO] ------------------------------------------------------------------------ and subsequently read https://issues.sonatype.org/browse/FLEXMOJOS-325 So then I tried 3.6.0.16321, needing to download and install the Adobe SDK to keep FlashBuilder happy. Now Flexmojos ran to completion - so far so good. But after running the flashbuilder goal, FB started complaining about the resource bundles, namely: framework-3.6.0.16321.rb.swc rpc-3.6.0.16321.rb.swc And I finally figured out that these SWCs were empty, which is not the case for earlier versions. In earlier versions, the xxx-nnn.rb.swc is identical to xxx-nnn-en_US.rb.swc You can get a hint of this by comparing file sizes at: http://repository.sonatype.org/content/groups/flexgroup/com/adobe/flex/framework/framework/3.6.0.16321/ and http://repository.sonatype.org/content/groups/flexgroup/com/adobe/flex/framework/framework/3.5.0.12683/ Please note that this issues appears to exist for 3.5.a.12683, but for me, this was masked by the NumberFormatException issue. I've manually replaced the xxx-nnn.rb.swc libs with the xxx-nnn- en_US.rb.swc ones and FB is now happy again. However I hate monkeying around like that and know I'll forget as the source and cause of the problem seem(ed) so far away from its manifestation. If someone in the know can confirm this issue, can we push this fix back to the repo? Also I would like to know if there is any reason why I should not just jump to using a version 4.x SDK, that is, is 4.x generrally backwards compatible? Best regards, Darren -- 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/ -- 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/
