Use more idiomatic way to add the assembly task

This commit is contained in:
Roman Roelofsen 2010-06-08 10:36:41 +02:00
parent 89f581ae52
commit d0fe535a67

View file

@ -323,15 +323,17 @@ class AkkaParent(info: ProjectInfo) extends DefaultProject(info) {
class AkkaOSGiAssemblyProject(info: ProjectInfo) extends AkkaDefaultProject(info, distPath) {
// FIXME: Find out how to replace mvn-assembly within SBT
override def packageAction = task {
lazy val assemblyAction = task {
println("----------------------------")
println("2" + unmanagedClasspath)
//FileUtilities.copy(info.dependencies.map(_.outputPath), "bundles", true, true, log)
None
} //dependsOn(compile) describedAs("Creates the OSGi distribution.")
}
override def packageAction = super.packageAction dependsOn(assemblyAction)
}
class AkkaOSGiParentProject(info: ProjectInfo) extends ParentProject(info) {