Incompatibility issue when migrating Flex SWC Library projects from Flex 2 Builder to Builder 3 Beta 2 project and back
The steps I underwent:
- I had installed Flex Builder 3 beta 2 (FB 3 beta 2) as a plugin on my Eclipse 3.2
- Opened my Flex SWF Library projects inside of Flex Builder 3 beta 2
- Selected Flex 3 M3 (Beta 2) SDK at the dialog (default value)
- Flex Buidler 2 had given me the following error in my log file: (full error info skipped for the sake of text clarity)
- Nevertheless of the received error, I was able to compile ALL my Flex 2 based projects that relies on my Flex SWC Library projects in FB 3 Beta 2
- Then I had reopened my plain Flex projects inside Flex Builder 2 again, because at the company we are using currently Flex Builder 2 for the production.
- But Flex Builder 2 constantly had failed to recompile all Flex SWC Library projects that were previously opened at least once at FB 3 beta2.
java.lang.IllegalArgumentException: Attempted to beginRule: P/FlexLibrary, does not match outer scope rule: P/as3corelib
at com.adobe.flexbuilder.project.actionscript.internal.FlexProjectPreferences.setUpgradeFlexSDK
(FlexProjectPreferences.java:147)
at com.adobe.flexbuilder.project.actionscript.internal.ActionScriptProjectSettings$2.runInUIThread
(ActionScriptProjectSettings.java:285)
My resolution to this issue was to delete manually a config file created by FB 3 beta 2 and located at each Flex SWC library project folder at the following path:
c:\workspace\
2007
17
Oct
- Posted by JabbyPanda at 10:12 am
- Permalink for this entry
- Filed under: Adobe Flex
- RSS comments feed of this entry
- TrackBack URI
You’re lucky you got anything to work in Builder 2 after installing 3.
AFAIK it’s absolutely frowned on to mix Builder versions in the same workspace and/or Eclipse.
To use the Linux Builder, I started a brand new Eclipse install and workspace, for instance, though that was as much to do with the 32/64 bit thing as anything else.