Permalink
Browse files

closes #46: Add managed source directories

  • Loading branch information...
1 parent e368226 commit 4ace876e0cacb7ed69d6c218db1cafe0d03c3b13 Heiko Seeberger committed Oct 21, 2011
View
@@ -4,6 +4,8 @@ This project is a plugin for "sbt 0.11.x":http://github.com/harrah/xsbt/ providi
h2. Latest changes
+* #46: Add managed source directories
+* #44: Dependency on scala compiler should be treated in special way
* #37: Use workspace default JRE
* #31: Reference to scalaVersion is ambiguous
* #28: Add skip-parents option
@@ -5,6 +5,8 @@ sbteclipse
v1.5
====
+#46: Add managed source directories
+#44: Dependency on scala compiler should be treated in special way
#37: Use workspace default JRE (contribution of Jarod Liu <liuyuanzhi@gmail.com>)
v1.4
@@ -88,13 +88,13 @@ object SbtEclipse {
setting(Keys.baseDirectory, "Missing base directory for %s!" format ref.project, ref)
private[sbteclipse] def compileDirectories(implicit ref: ProjectRef, state: State) =
- (setting(Keys.unmanagedSourceDirectories, "Missing unmanaged source directories for %s!" format ref.project, ref) |@|
- setting(Keys.unmanagedResourceDirectories, "Missing unmanaged resource directories for %s!" format ref.project, ref) |@|
+ (setting(Keys.sourceDirectories, "Missing source directories for %s!" format ref.project, ref) |@|
+ setting(Keys.resourceDirectories, "Missing resource directories for %s!" format ref.project, ref) |@|
setting(Keys.classDirectory, "Missing class directory for %s!" format ref.project, ref)) { Directories }
private[sbteclipse] def testDirectories(implicit ref: ProjectRef, state: State) =
- (setting(Keys.unmanagedSourceDirectories, "Missing unmanaged test source directories for %s!" format ref.project, ref, Configurations.Test) |@|
- setting(Keys.unmanagedResourceDirectories, "Missing unmanaged test resource directories for %s!" format ref.project, ref, Configurations.Test) |@|
+ (setting(Keys.sourceDirectories, "Missing test source directories for %s!" format ref.project, ref, Configurations.Test) |@|
+ setting(Keys.resourceDirectories, "Missing test resource directories for %s!" format ref.project, ref, Configurations.Test) |@|
setting(Keys.classDirectory, "Missing test class directory for %s!" format ref.project, ref, Configurations.Test)) { Directories }
private[sbteclipse] def libraries(withSources: Boolean)(implicit ref: ProjectRef, state: State) = {

0 comments on commit 4ace876

Please sign in to comment.