aboutsummaryrefslogtreecommitdiff
path: root/sbt-bridge/bridge/src/sbt-test/source-dependencies/canon/test
diff options
context:
space:
mode:
Diffstat (limited to 'sbt-bridge/bridge/src/sbt-test/source-dependencies/canon/test')
-rw-r--r--sbt-bridge/bridge/src/sbt-test/source-dependencies/canon/test10
1 files changed, 10 insertions, 0 deletions
diff --git a/sbt-bridge/bridge/src/sbt-test/source-dependencies/canon/test b/sbt-bridge/bridge/src/sbt-test/source-dependencies/canon/test
new file mode 100644
index 000000000..13caf4871
--- /dev/null
+++ b/sbt-bridge/bridge/src/sbt-test/source-dependencies/canon/test
@@ -0,0 +1,10 @@
+# Tests that classpath entries that are different than their canonical representation are
+# handled properly. In particular, a symlink from lib/a.jar to lib/../actual/a.jar.0 is
+# available on the classpath and read by scalac. scalac 2.10.x does not interpret .jar.0
+# as a jar, so if sbt passes the canonical path, it will not be read.
+# This also verifies that compilation does not get repeatedly triggered by a mismatch in
+# paths.
+
+> compile
+> compile
+> checkIterations 1 \ No newline at end of file