Flash Builder 4 (v 18.104.22.1687662) fails, when trying to do a release build with the following simple project setup:
- Flash library project with a simple test class (using the 3.5 Flex SDK which ships with FB4)
- Flex project with simple mxml-application (using the same SDK)
The Library is linked as RSL
When you try to export the release build of the project, you´ll get an unspecified error.
In the log file, you can found:
With some google search, I found out, that the error occured with FB 4 beta und should be already fixed.
That´s for sure true with SDK 4.0 oder SDK 4.1, but not SDK 3.5 (remember: it´s the version, which ships with the FB itself !!!).
After scanning the jar´s of the SDK 3.5 and 4.0, I found out, that the following 3 files are missing in the flex-compiler-oem.jar in SDK 3.5:
Adding these files to the jar of the 3.5 SDK, the release build will be successfully exported.
We were absolutely disappointed after realizing this issue. This has cost a lot of working time and was frustrating too.
Is there another way to get this working, without changing the SDK files?
Not sure of any workarounds apart from one what you have already tried, but can you file a Flex SDK bug for this to be fixed in the current version.