Archive for the ‘MacOS’ Category

MacOS, Flex Builder, libs directory and nightmares

Thursday, October 16th, 2008

At some point of time I decided to be cool for once in my life and try to use this “libs” folder feature (See the overexcited Ted’s article here). Because I had to add a number of SWCs to the project I decided not to add them manually one by one as I usually do, but instead I created a sub-directory under libs (I should be listening to that ominous voices) and placed a bunch of SWCs there.  Then I just added a new “SWC Folder” location to the library path and I was enjoying the fact that as soon as I place anything in that directory, Flex Builder catches it up (after a refresh though).  But then storm cloud gathered. I.e. our Mac designer updated the code from the SVN.  The symptoms were:

 

a) Flex Builder hangs (freezes) at the startup while loading the project which referes to that libs/cool_dir directory.

b) In the log file we saw the following:
Caused by: org.eclipse.core.internal.resources.ResourceException: The resource tree is locked for modifications.

After 4 hours of the tambourine dancing around Mac we have figured out that the cause of the problem was my libs/cool_directory. As soon as you remove it, everything gets back to normal. And only Flex Builder for MacOs is prone to this problem.

Damn it!  The number of hours I’ve already spent in the last 2 years troubleshooting Mac’s problems is now probably equal to the unforgettable hours I’ve spent installing SCSI board drivers for WinNT3.51/4.0 on SMP servers.  Oh…. sweet unpretentious Windows…

 

NB On the way, I’ve been really pissed off  by MacOS again – if you download zip file in Safari, it automatically unpacks it. And if folder in the archive is org.eclipse.core smart Safari-MacOs-SteveJobs-whatever unpacks it into the org/eclipse/core.  This is so sweet, caring and mindful.
I’ve been told that there is a setting somewhere in Safari to stop doing this, but we’ve got a presumption of innocence, right? Why should arrogant, ill-mannered and unsophisticated bloke like me know, that there is an option somewhere in the MacOs which says “let’s be stupid, OK/Agree?”

Anyway, enough about this bloody MacOs.  Allons! Revenons à nos moutons! Qu’en fut-il?