今天,在学习Flex的时候,发现Flash Builder 4.5的工作目录默认的是在C:\Users\XX\Adobe Flash Builder 4.5目录下,赶紧很不方便,想着怎么更改一下Flex默认的工作目录,百度+google也没有什么结果,然后在Adobe的论坛中找到了一篇英文,原文如下:
I just installed Flash Builder 4.5 and I was hoping to choose my default workspace from the installer menu. No such luck. Then I changed the config.ini files to update the default workspace (as per http://www.eclipsezone.com/eclipse/forums/t78109.rhtml) - that didn't work. And then tried Preferences > General > Startup & Shutdown > Workspaces, and checked off "Prompt for workspace on startup" which allowed me to successfully update my "default workspace".
最终我的解决办法是:
Preferences > General > Startup & Shutdown > Workspaces, and checked off "Prompt for workspace on startup"
重启Flex,然后再弹出的对话框中,重新选择工作目录即可。