Skip to content

Commit d260afa

Browse files
committed
Exclude jar file from being passed into -p.
1 parent 70a8cc0 commit d260afa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.scala-ide.sdt.scalatest/src/scala/tools/eclipse/scalatest/launching/ScalaTestLaunchDelegate.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ class ScalaTestLaunchDelegate extends AbstractJavaLaunchConfigurationDelegate {
242242
require(configuration != null)
243243

244244
val launchType = configuration.getAttribute(SCALATEST_LAUNCH_TYPE_NAME, TYPE_SUITE)
245-
val outputDir = getClasspath(configuration).foldLeft("")((acc, act) => acc + " " + escapeScalaTestClasspathComponent(act)).trim
245+
val outputDir = getClasspath(configuration).filter(!_.endsWith(".jar")).foldLeft("")((acc, act) => acc + " " + escapeScalaTestClasspathComponent(act)).trim
246246
launchType match {
247247
case TYPE_SUITE =>
248248
val suiteClass = configuration.getAttribute(IJavaLaunchConfigurationConstants.ATTR_MAIN_TYPE_NAME, "")

0 commit comments

Comments
 (0)