lib/buildr4osgi/osgi/packaging_sources.rb in buildr4osgi-0.9.4 vs lib/buildr4osgi/osgi/packaging_sources.rb in buildr4osgi-0.9.5
- old
+ new
@@ -26,10 +26,10 @@
bundleSymName = pluginManifest["Bundle-SymbolicName"].split(';').first
bundleVersion = pluginManifest["Bundle-Version"]
sourcesManifest = ::Buildr::Packaging::Java::Manifest.new(nil)
sourcesManifest.main["Bundle-ManifestVersion"] = "2"
sourcesManifest.main["Eclipse-SourceBundle"] = "#{bundleSymName};version=\"#{bundleVersion}\";roots:=\".\""
- sourcesManifest.main["Bundle-SymbolicName"] = bundleSymName + ".sources"
+ sourcesManifest.main["Bundle-SymbolicName"] = bundleSymName + ".source"
sourcesManifest.main["Bundle-Name"] += " sources" if sourcesManifest.main["Bundle-Name"]
sourcesManifest.main["Bundle-Version"] = bundleVersion
sourcesManifest.main["Bundle-Vendor"] = pluginManifest["Bundle-Vendor"] unless pluginManifest["Bundle-Vendor"].nil?
#TODO: ability to define a different license for the sources.
sourcesManifest.main["Bundle-License"] = pluginManifest["Bundle-License"] unless pluginManifest["Bundle-License"].nil?