Skip navigation
eggsWurzel
Currently Being Moderated

FB4: Release build fails with RSLs using FlexSDK 3.5

Oct 1, 2010 6:43 AM

Flash Builder 4 (v 4.0.1.277662) 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:

java.lang.NoClassDefFoundError: flex2/tools/oem/OEMException$CircularLibraryDependencyException

 

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:

- OEMException$CircularLibraryDependencyException.class

- OEMException.class

- OEMException_en.properties

 

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?

 

Greetings, Jörg

  • Currently Being Moderated
    Adobe Employee
    Oct 4, 2010 7:22 AM

    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.

     

    Thanks

    -Sunil

    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points