diff --git a/src/main/scala/com/typesafe/sbteclipse/core/Eclipse.scala b/src/main/scala/com/typesafe/sbteclipse/core/Eclipse.scala index e680604..302500b 100644 --- a/src/main/scala/com/typesafe/sbteclipse/core/Eclipse.scala +++ b/src/main/scala/com/typesafe/sbteclipse/core/Eclipse.scala @@ -181,7 +181,7 @@ private object Eclipse extends EclipseSDTConfig { } def onSuccess(state: State)(effects: IO[Seq[String]]): State = { - val names = effects.unsafePerformIO + val names = effects.unsafePerformIO() if (names.isEmpty) state.log.warn("There was no project to create Eclipse project files for!") else diff --git a/src/main/scala/com/typesafe/sbteclipse/core/EclipsePlugin.scala b/src/main/scala/com/typesafe/sbteclipse/core/EclipsePlugin.scala index 67dfe2c..2c7b2ff 100644 --- a/src/main/scala/com/typesafe/sbteclipse/core/EclipsePlugin.scala +++ b/src/main/scala/com/typesafe/sbteclipse/core/EclipsePlugin.scala @@ -106,7 +106,7 @@ object EclipsePlugin { // This is done to ease integration with Eclipse, but it's doubtful as to how effective it is. val managedClassesDirectory = (scope / EclipseKeys.classesManaged).value - val managedSources = ((srcManaged ** "*.scala").get ++ (srcManaged ** "*.java").get) + val managedSources = ((srcManaged ** "*.scala").get() ++ (srcManaged ** "*.java").get()) .filter(f => f.getAbsolutePath.startsWith(baseDir.getAbsolutePath)) .map(f => PlainVirtualFileConverter.converter.toVirtualFile(sbt.io.Path.apply(f.getAbsolutePath.replace(baseDir.getAbsolutePath, "${BASE}")).asPath)) val managedClasses = managedSources @@ -119,7 +119,7 @@ object EclipsePlugin { // Copy modified class files val managedSet = IO.copy(managedClasses) // Remove deleted class files - (managedClassesDirectory ** "*.class").get.filterNot(managedSet.contains).foreach(_.delete()) + (managedClassesDirectory ** "*.class").get().filterNot(managedSet.contains).foreach(_.delete()) } analysis }