-
Notifications
You must be signed in to change notification settings - Fork 290
goclipse seems to be looking in /usr/local/go even If I set it to use another location in preferences #247
Comments
What happens if you run |
Here is the command line output
|
Okay, found it now, it has to do with a change introduced in 0.16.1 : https://github.com/GoClipse/goclipse/releases/tag/v0.16.1 , namely that the The GOROOT environment variable is no longer set. I thought the behavior introduced in 0.16.1 is the correct one, but now I'm not so sure. I think I will revert this change. For now, as a workaround, you need to make GOROOT matches the Go installation you configured in Goclipse. (note you can either change GOROOT globally for your user, but you can also configure it per Build Target) |
How to change GOROOT globally for user? I tried to export GOROOT env variable when launching eclipse but seems is not seen by goclipse and I have not found in eclipse another place where set GOROOT . |
Sadly GoClipse is dead the developers stopped maintaining the plugin in 2016. I still love Eclipse but lack of Go support makes it unusable. Very Sad. |
I have setup go under /opt/go/v1.8.3
I wrote a simple program which prints out a message and tried to build it.
I get this error
>> Running: /opt/go/v1.8.3/bin/go clean -i -x net.arc.test/test go: cannot find GOROOT directory: /usr/local/go ^^^ Terminated, exit code: 2 ^^^
I have attached a screenshot showing my preferences and the error.
This looks like a bug.
Let me know if I made some mistake in the configuration.
The text was updated successfully, but these errors were encountered: