wiki/info/landscape/typical-development-scenarios.md
... ...
@@ -8,6 +8,15 @@ We distinguish two cases: adding a 3rd-party bundle to the target platform and a
8 8
## Adding a Bundle to the Target Platform
9 9
* Add a New Library which can not be found in any SAP Repository
10 10
* Check if the library is already OSGi-enabled (normally this means there is a MANIFEST.MF file in the META-INF folder of the JAR file containing valid OSGi metadata.
11
+* If you happen to have a corresponding source JAR, make sure it also has a MANIFEST.MF file in its META-INF folder. This manifest has to contain the ``Eclipse-SourceBundle`` header, as in the following example:
12
+```
13
+Manifest-Version: 1.0
14
+Bundle-ManifestVersion: 2
15
+Bundle-Name: mongo-java-driver-source
16
+Bundle-SymbolicName: org.mongodb.mongo-java-driver.source
17
+Eclipse-SourceBundle: org.mongodb.mongo-java-driver;version="3.6.4";roots:="."
18
+Bundle-Version: 3.6.4
19
+```
11 20
* In case the library is not OSGi-enabled someone has to create such a OSGi-enabled version (ask the technical lead of the project)
12 21
* Add the library to an appropriate target folder under plugins/ in the project com.sap.sailing.targetplatform.base (e.g. target-base)
13 22
* Add a corresponding entry to the corresponding feature.xml in the project com.sap.sailing.targetplatform.base