Go-Eclipse

164 views
Skip to first unread message

Thomas Kaufmann

unread,
Dec 20, 2010, 10:23:54 AM12/20/10
to golang-nuts
Hi there,

I have a Go-Project in Eclipse named OOP:

1.) I can't run a program named oop2 (source is oop2.go); there is no
compiled file.

This is from Eclipse:
---

Exception occurred executing command line.
Cannot run program "/home/xxx54/myGo/OOP/bin/linux_386/oop2" (in
directory "/home/xxx54/myGo/OOP/bin/linux_386"): java.io.IOException:
error=2, Datei oder Verzeichnis nicht gefunden

---

2.) in which directory are the Go-Sources in an Eclipse project?

o-o

Thomas

Thomas Kaufmann

unread,
Dec 20, 2010, 10:24:58 AM12/20/10
to golang-nuts

Mick Killianey

unread,
Dec 20, 2010, 12:49:30 PM12/20/10
to golang-nuts
It sounds like you're using the goclipse plugin, in case you want
*that* mailing list, not this one, at:
http://groups.google.com/group/goclipse

If you're using that plugin, the initialization code in the latest
release (0.17) is incompatible with the latest release of Go (due to
changes in the parser code):
http://code.google.com/p/goclipse/issues/detail?id=29

They've already fixed the problem in their source code, so it should
work in the *next* release of the plugin...in the meantime, if you
revert your Go installation to the Dec 02 release, I think you'll have
better luck:
cd $GOROOT/src
hg update -r release.2010-12-02
./all.bash

Good luck!

Mick.
Reply all
Reply to author
Forward
0 new messages