You are here

Locale issues with Flash Builder Beta 2

I decided to take some time today an try out Flash Builder beta 2. There used to be a time when I was really excited about trying beta software but now with being so busy I tend to just pass. I was actually interested in trying the FlexUnit integration. All in all once I got it working it was really great and I am glad it has been added as a feature.

I am running Flash Builder Beta 2 as an Eclipse plug in for Eclipse 3.5.1. My OS is Windows 7 Ultimate with my locale set to en_CA and this last part I think is where the problem occured. Because I am Canadian and my OS locale is en_CA Flash Builder attempts to use this locale even though there is no such locale in the sdk. When I created a new project (or imported an existing project) a compiler argument was added for my locale (-locale en_CA)which caused an error. This was easily fixed by deleting it but deleting it led to more issues.
When creating a FlexUnit test case the necessary libraries get added automatically to your Library Path. There are 3 libraries that get added and the last one, the path to the locale folder again caused an issue. Because my locale was not en_US it added the path to the folder with all of the other FlexUnit localizations even though it didn't contain en_CA. To fix this I had to edit the path and point it back to the locale folder with en_US in it which for me was C:/Program Files (x86)/Adobe/Adobe Flash Builder Plug-in Beta 2/eclipse/plugins/com.adobe.flexbuilder.flexunit_4.0.0.253292/flexunitframework/locale/version4locale/. This fixed that problem and let me create the FlexUnit tests but they wouldn't run. I was getting an erorr because I still didn't have a locale so the Flex SDK could resolve the resource bundles. The locale folder in my library path was empty and couldn't be editted. To fix this I simply added the correct locale folder to the Library Path. So that is how I spent my afternoon.

I already looked in the Jira bug base and similar issues to this have been logged so I didn't create a new issue. I also don't believe that this won't get fixed before Flash Builder is released as it is pretty blatant. Just wanted to post this in case someone else had the same issues. Now if you don't mind I am going to have a beer and watch a hockey game. It really is fun being Canadian - most of the time :).

Blog Topics: 
Content Type: 

Comments

Thank you!

This solved my problem having to use the no_NO locale. Great being a Norwegian as well.

Martin

I'm Australian and have a similar problem with the release version of FB4. I also get out-of-memory errors when trying to run in design mode. After some testing I can confirm these problems ONLY affect the Flash Builder Eclipse Plugin (I was using a PHP-modded version of Eclipse 3.5), if you install the standalone version the problems disappear.

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.