HTRACE-257. htrace-htraced: add web symlink rather than generating programmatically (cmccabe)
diff --git a/.gitignore b/.gitignore
index b56ff18..067a4b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,5 @@
 dependency-reduced-pom.xml
 htrace-htraced/go/build
 htrace-htraced/go/pkg
-htrace-htraced/go/web
 htrace-htraced/src/go
 htrace-htraced/bin
diff --git a/htrace-htraced/go/gobuild.sh b/htrace-htraced/go/gobuild.sh
index 2728b8f..3e9b30a 100755
--- a/htrace-htraced/go/gobuild.sh
+++ b/htrace-htraced/go/gobuild.sh
@@ -129,9 +129,6 @@
     FLAGS="-X main.RELEASE_VERSION ${RELEASE_VERSION} -X main.GIT_VERSION ${GIT_VERSION}"
     go install ${TAGS} -ldflags "${FLAGS}" -v org/apache/htrace/... "$@" \
         || die "go install failed."
-    # Make a symlink to web src dir so can do development in-situ out
-    # of build dir. This is ugly but blame go build.
-    ln -fs "../../htrace-webapp/src/main/webapp" "${GOBIN}/../web"
     # Set the RPATH to make bundling leveldb and snappy easier.
     set_rpath "${GOBIN}/htraced"
     ;;
diff --git a/htrace-htraced/go/web b/htrace-htraced/go/web
new file mode 120000
index 0000000..aefd68d
--- /dev/null
+++ b/htrace-htraced/go/web
@@ -0,0 +1 @@
+../../htrace-webapp/src/main/webapp
\ No newline at end of file