From facd5be65936731a23d6d64b193e0d26941b425f Mon Sep 17 00:00:00 2001 From: Peter Vlugter Date: Wed, 14 Dec 2011 10:49:22 +1300 Subject: [PATCH] Remove bin and config dirs from distribution zip Add these again when akka-kernel is re-enabled --- project/Dist.scala | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/project/Dist.scala b/project/Dist.scala index 1e3e7a2245..3f3af68098 100644 --- a/project/Dist.scala +++ b/project/Dist.scala @@ -66,9 +66,9 @@ object Dist { val libAkka = lib / "akka" val src = base / "src" / "akka" IO.delete(unzipped) - //createStructure(doc, docJars, lib, src) - copyFilesTo(scripts, bin, setExecutable = true) - IO.copyDirectory(configSources, config) + // TODO: re-enable bin and config dirs, and add deploy dir, when akka-kernel is enabled + //copyFilesTo(scripts, bin, setExecutable = true) + //IO.copyDirectory(configSources, config) IO.copyDirectory(allSources.api, api) IO.copyDirectory(allSources.docs, docs) copyFilesTo(allSources.docJars, docJars) @@ -83,10 +83,6 @@ object Dist { } } - def createStructure(dirs: File*): Unit = { - dirs foreach IO.createDirectory - } - def copyFilesTo(files: Seq[File], dir: File, setExecutable: Boolean = false): Unit = { IO.createDirectory(dir) for (file <- files) {