summaryrefslogtreecommitdiff
path: root/project/build/AdditionalResources.scala
diff options
context:
space:
mode:
authormoix <moix@epfl.ch>2010-08-19 15:06:34 +0000
committermoix <moix@epfl.ch>2010-08-19 15:06:34 +0000
commit8bef04a234b9c9005504a6fcd3f4f3dd10973ff8 (patch)
treea83201e33650bc57094d8f07f1cd861496bf65b4 /project/build/AdditionalResources.scala
parent11f2760b59da21f6f65d94a87430c56cbc5d1609 (diff)
downloadscala-8bef04a234b9c9005504a6fcd3f4f3dd10973ff8.tar.gz
scala-8bef04a234b9c9005504a6fcd3f4f3dd10973ff8.tar.bz2
scala-8bef04a234b9c9005504a6fcd3f4f3dd10973ff8.zip
Extending sbt capabilities :
- building continuation plugin - building and replacing fjgb, msil and forkjoin - building and replacing starr - layer cleaning tasks
Diffstat (limited to 'project/build/AdditionalResources.scala')
-rw-r--r--project/build/AdditionalResources.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/project/build/AdditionalResources.scala b/project/build/AdditionalResources.scala
index 3db7fe6ed2..b1f727df6b 100644
--- a/project/build/AdditionalResources.scala
+++ b/project/build/AdditionalResources.scala
@@ -10,7 +10,7 @@ import AdditionalResources._
trait AdditionalResources {
self : BasicLayer =>
- lazy val copyAdditionalFiles = task {
+ /* lazy val copyAdditionalFiles = task {
def copy0(steps:List[Step]):Option[String]= steps match{
case x::xs => x match{
case c:ResourcesToCopy => {
@@ -21,9 +21,9 @@ trait AdditionalResources {
case Nil => None
}
copy0(allSteps.topologicalSort)
- }.dependsOn(externalCompilation)
+ }.dependsOn(externalCompilation)*/
- lazy val writeProperties = task {
+ def writeProperties: Option[String] = {
def write0(steps:List[Step]):Option[String]= steps match{
case x::xs => x match{
case c:PropertiesToWrite => {
@@ -34,8 +34,7 @@ trait AdditionalResources {
case Nil => None
}
write0(allSteps.topologicalSort)
- }.dependsOn(externalCompilation)
-
+ }
@@ -59,6 +58,7 @@ trait ResourcesToCopy {
def copyDestination:Path
def filesToCopy:PathFinder
def copy = {
+ log.info("Copying files for "+name)
try{
FileUtilities.copy(filesToCopy.get,copyDestination,log)
}catch{