GoClipse / goclipse

Eclipse IDE for the Go programming language:
http://goclipse.github.io/
Eclipse Public License 1.0
841 stars 286 forks source link

Problems Building with Vendor Directory #220

Open tsmaeder opened 8 years ago

tsmaeder commented 8 years ago

When using vendor directory, the default build target builds all packages, including everything inside the "vendor" directory. Of course, this is not what I want. The proposed solutions on the interwebs suggest passing the list of packages to go build, but that doesn't really work (I've tried to do this on Windows using some "for /f" magic, but the build errors are not picked up anymore. One simple solution that has occured to me would be to define a "project_packages" eclipse variables that could be passed to "go build" and "go test"

bruno-medeiros commented 8 years ago

I'm a bit confused here, why is it that building the vendor is not what you want? If a project has defined a vendor directory, it means that project wants to use the vendor packages as dependencies - which means they need to be built, no?

tsmaeder commented 8 years ago

Not for tests I don't. -> no incremental building and I definitely NEVER want to run tests in side the vendor directory.

bruno-medeiros commented 7 years ago

So, is this a problem just for the [run-tests] Build Target?