Permalink
Browse files

Merge branch '2-hseeberger'

  • Loading branch information...
2 parents 603957c + 54f4e1c commit ab47c32f74ca414bd81d0969419d146b2251ba64 Heiko Seeberger committed May 7, 2010
Showing with 8 additions and 7 deletions.
  1. +8 −7 src/main/scala/BNDPlugin.scala
@@ -8,6 +8,7 @@
package com.weiglewilczek.bnd4sbt
import aQute.lib.osgi.Builder
+import aQute.lib.osgi.Constants._
import java.util.Properties
import sbt.DefaultProject
@@ -53,13 +54,13 @@ trait BNDPlugin extends DefaultProject with BNDPluginProperties {
private def properties = {
val properties = new Properties
- properties.setProperty("Bundle-SymbolicName", bndBundleSymbolicName)
- properties.setProperty("Bundle-Version", bndBundleVersion)
- properties.setProperty("Bundle-Name", bndBundleName)
- properties.setProperty("Private-Package", bndPrivatePackage mkString ",")
- properties.setProperty("Export-Package", bndExportPackage mkString ",")
- properties.setProperty("Import-Package", bndImportPackage mkString ",")
- properties.setProperty("Include-Resource", bndIncludeResource mkString ",")
+ properties.setProperty(BUNDLE_SYMBOLICNAME, bndBundleSymbolicName)
+ properties.setProperty(BUNDLE_VERSION, bndBundleVersion)
+ properties.setProperty(BUNDLE_NAME, bndBundleName)
+ properties.setProperty(PRIVATE_PACKAGE, bndPrivatePackage mkString ",")
+ properties.setProperty(EXPORT_PACKAGE, bndExportPackage mkString ",")
+ properties.setProperty(IMPORT_PACKAGE, bndImportPackage mkString ",")
+ properties.setProperty(INCLUDE_RESOURCE, bndIncludeResource mkString ",")
log debug "Using the following properties for BND: %s".format(properties)
properties
}

0 comments on commit ab47c32

Please sign in to comment.