public void run()  throws Exception {
final ProgressLogger progress = startProgress("Prepare sources");
final GolangSettings settings = getGolang();
final BuildSettings build = getBuild();
boolean atLeastOneCopied = false;
<BUG>if (TRUE.equals(build.getUseTemporaryGopath())) {
progress.progress("Prepare GOPATH " + build.getGopath() + "...");
LOGGER.info("Prepare GOPATH ({})...", build.getGopath());
final Path projectBasedir = settings.getProjectBasedir();
final Path packagePath = settings.packagePathFor(build.getGopath());
final Path dependencyCachePath = getDependencies().getDependencyCache();</BUG>
prepareDependencyCacheIfNeeded(packagePath, dependencyCachePath);

public void run()  throws Exception {
final ProgressLogger progress = startProgress("Prepare sources");
final GolangSettings settings = getGolang();
final BuildSettings build = getBuild();
boolean atLeastOneCopied = false;
if (TRUE.equals(build.getUseTemporaryGopath())) {
final Path gopath = build.getFirstGopath();
progress.progress("Prepare GOPATH " + gopath + "...");
LOGGER.info("Prepare GOPATH ({})...", gopath);
final Path projectBasedir = settings.getProjectBasedir();
final Path packagePath = settings.packagePathFor(gopath);
final Path dependencyCachePath = getDependencies().getDependencyCache();
prepareDependencyCacheIfNeeded(packagePath, dependencyCachePath);
