Where My CFEclipse Snippets At Vista?
For you people who want "just the facts ma'am".
Q. Where is the file or folder that I thought I created in Vista under the "C:\Program Files\[My_App]" folder?
A. It is under "C:\Users\[your_account]\AppData\Local\VirtualStore\Program Files\[My_App]". This is because Vista doesn't think that you should write to your "Program Files" folder, so it tricks your programs into writing into the "VirtualStore".
Now, to the story if you're bored and wonder why I know this...
I installed Eclipse Europa (on my Vista PC at work) as soon as Mark Drew released a CFEclipse that would run on it. (BTW, Thank you so much Mark!)
Yesterday, I finally decided that I needed my snippets from my old Eclipse 3.1 install (which I had copied over intact from Win XP). One of the things I like about Eclipse is that you unzip and run. So, I always put my workspace in the Eclipse install folder to keep it self-contained. It was easy to locate my Snippets in my old install. They are in "C:\Program Files\eclipse\workspace\.metadata\.plugins\com.rohanclan.cfml\snippets". So, I highlighted my snippet folders and copied them into the clipboard. But, to my surprise, when I went to where I told Eclipse 3.3 to put my "workspace" folder, it was not there. The bizzare part was that I could do a file->open in Eclipse and see the "workspace" folder where I thought it was??
Out contract DBA (Rob Boek) helped me figure out the issue. We went and got procmon so that we could closely watch what eclipse.exe was doing. Turns out when I ask Eclipse to open files in the "workspace" folder it actually opened them from "C:\Users\cphillips\AppData\Local\VirtualStore\Program Files\Eclipse33\workspace\...". This is due to something called Common file and registry virtualization in Windows Vista. So, long story short, that is where I had to put my snippets.

There are no comments for this entry.
[Add Comment]