Fix the provided fix by only including managed dependencies on the provided and optional fullClasspaths

git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@845 d89573ee-9141-11dd-94d4-bdf5e562f29c
This commit is contained in:
dmharrah 2009-07-06 22:42:01 +00:00
parent ad0cbc177b
commit 6f816b8fe5
1 changed files with 4 additions and 1 deletions

View File

@ -132,7 +132,9 @@ abstract class BasicScalaProject extends ScalaProject with BasicDependencyProjec
/** This returns the unmanaged classpath for only this project for the given configuration. It by
* default includes the main compiled classes for this project and the libraries in this project's
* unmanaged library directory (lib) and the managed directory for the specified configuration. It
* also adds the resource directories appropriate to the configuration.*/
* also adds the resource directories appropriate to the configuration.
* The Provided and Optional configurations are treated specially; they are empty
* by default.*/
def fullUnmanagedClasspath(config: Configuration) =
{
config match
@ -140,6 +142,7 @@ abstract class BasicScalaProject extends ScalaProject with BasicDependencyProjec
case CompilerPlugin => unmanagedClasspath
case Runtime => runUnmanagedClasspath
case Test => testUnmanagedClasspath
case Provided | Optional => Path.emptyPathFinder
case _ => mainUnmanagedClasspath
}
}