Nov 3rd, 2011, 07:14 PM
i had just installed the STS and I see in the instructions that I have to install extensions for groovy and grails support
but in my STS it says that cannot install the groovy-eclipse extension and gives this message:
"Cannot install Groovy-Eclipse because STS is located in C:/Program Files. to install Groovy-Eclipse, please change the location of STS and try again"
I'm really new at this and dont know what to do :S
Nov 4th, 2011, 10:32 AM
You should do exactly what it says and move your install of STS to some location other than C:\Program Files. Then you will be able to install Groovy-Eclipse.
Nov 4th, 2011, 10:58 AM
Feb 22nd, 2012, 09:29 AM
I have my own custom Eclipse installation with a bunch of other plug-ins installed to it... lately, including STS. That is, I don't have the vanilla STS Eclipse installation, but rather added STS afterwards using Eclipse's plug-in mechanism.
Now, back when I set up my Eclipse installation, I put it in the "Program files" folder. I actually don't want to move it to any other location, as this will break other tools depending on my Eclipse installation located in the "Program files" folder.
Is Spring planning to make installing Groovy possible even when Eclipse is placed in the "Program files" folder?
Feb 22nd, 2012, 10:33 AM
The problem is with Eclipse's p2 mechanism and how it deals with feature patches for shared installs (ie- read-only installations). I have tried this out on Eclipse 4.2 (Juno, coming out in June) and installing Groovy-Eclipse in a read-only directory seems to work.
I have not tried this in C:\Program Files, but it will probably work there as well. However, we have not yet released a 4.2 variant of STS (there will be one available for the 2.9.0 release due in early March).
You can try moving your current installation as-is to a new location. That may work.