summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-02-11 15:10:45 +0000
committerPaul Phillips <paulp@improving.org>2010-02-11 15:10:45 +0000
commite9a60f236b00d417ddd6fd2ac30448f0228b2921 (patch)
treed7c2fdbccac5ac406eec4df020a7ef2f0785c7a8 /tools
parenta78bf650be7cc82e43907d1bbf966b3d802fc301 (diff)
downloadscala-e9a60f236b00d417ddd6fd2ac30448f0228b2921.tar.gz
scala-e9a60f236b00d417ddd6fd2ac30448f0228b2921.tar.bz2
scala-e9a60f236b00d417ddd6fd2ac30448f0228b2921.zip
More work on classpaths.
which we must have no test cases at all. In the short term there will probably be a few more minor disruptions since with classpaths constructed a half dozen different ways, achieving consistency requires flushing out the undocumented accidents upon which any given island might depend. Review by community.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/pathResolver9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/pathResolver b/tools/pathResolver
index 4deb8595e9..efff45ea62 100755
--- a/tools/pathResolver
+++ b/tools/pathResolver
@@ -1,4 +1,11 @@
#!/bin/sh
#
-scala scala.tools.util.PathResolver $* \ No newline at end of file
+WHICH=`which scala`
+BASE=`dirname $WHICH`
+LIBDIR=$BASE/../lib
+
+echo Using ${WHICH}.
+echo
+
+java -cp "${LIBDIR}/*" scala.tools.util.PathResolver $*