Fixed problem where dependencies of `sbt` plugins were not on the plugin compile classpath

git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@841 d89573ee-9141-11dd-94d4-bdf5e562f29c
This commit is contained in:
dmharrah 2009-07-05 23:29:28 +00:00
parent 947271dc47
commit ad0cbc177b
1 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ private final class BuilderProject(val info: ProjectInfo, val pluginPath: Path,
managedSourcePath / name.substring(0, name.length - ".jar".length)
}
def plugins = descendents(managedDependencyPath, jarFilter)
def pluginClasspath = plugins +++ pluginCompileConfiguration.outputDirectory
def pluginClasspath: PathFinder = plugins +++ pluginCompileConfiguration.outputDirectory
lazy val pluginCompileConditional = new BuilderCompileConditional(pluginCompileConfiguration, "plugin")
lazy val pluginCompileConfiguration =
@ -190,7 +190,7 @@ private final class BuilderProject(val info: ProjectInfo, val pluginPath: Path,
def label = "plugin builder"
def sources = descendents(managedSourcePath, sourceFilter)
def outputDirectory = outputPath / "plugin-classes"
def classpath = sbtJarPath
def classpath: PathFinder = pluginClasspath +++ sbtJarPath
def analysisPath = outputPath / "plugin-analysis"
}
}