Colin Harrington

Archive for August 30th, 2008

MacOSX :: FlexBuilder + symbolic links = badness

by Colin on Aug.30, 2008, under Flex, RIA

FlexAt work I use the FlexBuilder as an eclipse plugin.  I’m a fan of eclipse so far, it has served me well in the past for Java development.

I tried using symbolic links (ln –s, also called symlinks or soft-links) to manage switching between branches, etc.  Flex Builder didn’t like that. 
I didn’t have any source attachment, I had to do a clean to actually rebuild the application, and other badness (Eclipse resource exceptions).

for example:
machine-name% ln -s project-trunk project
machine-name% ls -lha
...
lrwxr-xr-x   1 username  DOMAIN\users    12B Jul 15 15:35 project -> project-trunk
drwxr-xr-x   2 username  DOMAIN\users    68B Jul 15 15:35 project-1.2.3
drwxr-xr-x   2 username  DOMAIN\users    68B Jul 15 15:35 project-trunk

What did I learn?  Don’t use symbolic links with Flex Builder 3.0.

Hope It saves someone some pain.  I’d guess something in the middle(OS Layer? Eclipse?) is actually walking the symlink inconsistently.  No resolution to this issue yet.  Is this the responsibility of the OS? Eclipse, Multi-platform code?  Let me know if you see a fix for this.

While I’m at it — I also ran into this one http://bugs.adobe.com/jira/browse/FBE-186

2 Comments :, more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!