Uncategorized

Adobe FlexBuilder : The SWC-cache

There is no question about it… without Adobe FlexBuilder building Flex RIA’s would be such an uphill battle for all but the diehard fans… I would not claim to love Adobe FlexBuilder, but I do recognize it as a decent IDE which definitely makes it possible to do enterprise scale RIA’s as well as small app’s and movies.

However, the secret to getting everything right when building enterprise scale systems is to understand some of the inner workings of the IDE… and one of the good things to know is the way Adobe FlexBuilder caches different stuff.

One phenomena that we experience on my team from time to time is when Adobe FlexBuilder seems to refuse to recognize an updated SWC – this is more often true when working with RSL’s and precompiled SWC’s than not, but to identify a distinct pattern has thus far been difficult (read: “impossible”).

So for the workaround, a sure way to force the Adobe FlexBuilder to rebuild its SWC cache is to remove the files for the current workspace and then call clean on the solution.

You will find the SWC-cache files in the “[workspace]\.metadata\.plugins\com.adobe.flexbuilder.codemodel\SwcCache\” directory.

Sometimes the same thing happens for projects already open, however the procedure is identical… just remove the files under “[workspace]\ .metadata\.plugins\com.adobe.flexbuilder.codemodel\projects\”.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s