I Have Created a BndTools OSGi project that generates a .jar file.Now i want the BundleContext of that jar in my main project i.e. Dynamic Web Project (.war File). Dynamic web Project doesn't contain bnd.bnd file.So i can't inject that jar's dependency.
Are there any ways by which i can achieve this.
This can be accomplished two ways.
Quick and dirty way
Properties
menuDeployment Assembly
Add
Project
for assembly directive typeNote this jar will only create the classes and no other resources that are usually created by the bnd.bnd file (e.g. correct Manifest, other included resources)
Better and more correct way