diff --git a/sbt-scalaxb/src/main/scala-sbt-1.0/sbtscalaxb/ScalaxbCompile.scala b/sbt-scalaxb/src/main/scala-sbt-1.0/sbtscalaxb/ScalaxbCompile.scala index da9d6312..29f6313e 100644 --- a/sbt-scalaxb/src/main/scala-sbt-1.0/sbtscalaxb/ScalaxbCompile.scala +++ b/sbt-scalaxb/src/main/scala-sbt-1.0/sbtscalaxb/ScalaxbCompile.scala @@ -33,6 +33,6 @@ object ScalaxbCompile { } def inputs: (List[File], FilesInfo[ModifiedFileInfo], String) = (sources.toList, lastModified(sources.toSet).asInstanceOf[FilesInfo[ModifiedFileInfo]], BuildInfo.version) - cachedCompile(inputs)(() => exists((outDir ** "*.scala").get.toSet).asInstanceOf[FilesInfo[PlainFileInfo]]) + cachedCompile(inputs)(() => exists((outDir ** "*.scala").get().toSet).asInstanceOf[FilesInfo[PlainFileInfo]]) } } diff --git a/sbt-scalaxb/src/main/scala/sbtscalaxb/ScalaxbPlugin.scala b/sbt-scalaxb/src/main/scala/sbtscalaxb/ScalaxbPlugin.scala index 206feaa4..e41b3ced 100644 --- a/sbt-scalaxb/src/main/scala/sbtscalaxb/ScalaxbPlugin.scala +++ b/sbt-scalaxb/src/main/scala/sbtscalaxb/ScalaxbPlugin.scala @@ -84,11 +84,11 @@ object ScalaxbPlugin extends sbt.AutoPlugin { sources := { val xsd = scalaxbXsdSource.value val wsdl = scalaxbWsdlSource.value - (wsdl ** "*.wsdl").get.sorted ++ (xsd ** "*.xsd").get.sorted + (wsdl ** "*.wsdl").get().sorted ++ (xsd ** "*.xsd").get().sorted }, clean := { val outdir = sourceManaged.value - IO.delete((outdir ** "*").get) + IO.delete((outdir ** "*").get()) IO.createDirectory(outdir) }, scalaxbCombinedPackageNames := {