Permalink
Browse files

closes #17: Added support for Require-Bundle.

  • Loading branch information...
1 parent 4ca6924 commit 0be6b8fc7cb9ac542a1fe8e554c43ee25ed74d99 Heiko Seeberger committed Jul 1, 2010
Showing with 6 additions and 2 deletions.
  1. +2 −2 project/build.properties
  2. +1 −0 src/main/scala/BNDPlugin.scala
  3. +3 −0 src/main/scala/properties.scala
View
@@ -1,8 +1,8 @@
#Project properties
-#Sun Jun 20 16:04:48 CEST 2010
+#Thu Jul 01 09:48:19 CEST 2010
project.organization=com.weiglewilczek.bnd4sbt
project.name=bnd4sbt
sbt.version=0.7.4
-project.version=1.0.0.RC3
+project.version=1.0.0.RC4
build.scala.versions=2.7.7
project.initialize=false
@@ -73,6 +73,7 @@ trait BNDPlugin extends DefaultProject with BNDPluginProperties {
properties.setProperty(EXPORT_PACKAGE, bndExportPackage mkString ",")
properties.setProperty(IMPORT_PACKAGE, bndImportPackage mkString ",")
properties.setProperty(DYNAMICIMPORT_PACKAGE, bndDynamicImportPackage mkString ",")
+ properties.setProperty(REQUIRE_BUNDLE, bndRequireBundle mkString ",")
for { activator <- bndBundleActivator } properties.setProperty(BUNDLE_ACTIVATOR, activator)
// Directives
@@ -69,6 +69,9 @@ private[bnd4sbt] trait BNDPluginProperties extends ProjectAccessor {
/** The value for Dynamic-ImportPackage. Defaults to empty sequence, i.e. nothing is imported dynamically. */
protected def bndDynamicImportPackage = Seq[String]()
+ /** The value for Require-Bundle. Defaults to empty sequence, i.e. no bundles are required. */
+ protected def bndRequireBundle = Seq[String]()
+
/** The value for Bundle-Actiavtor, wrapped in an Option. Defaults to None, i.e. no activator is defined. */
protected def bndBundleActivator: Option[String] = None

0 comments on commit 0be6b8f

Please sign in to comment.