Recently I ran in to an interesting little problem with “resolution:=optional” OSGi directive. Basically what “resolution:=optional” says is that the even though the package imported with this directive is not present in the system bundle would be resolved at run time. This is logical in case of compile time dependencies of the bundle not being [...]
Posts Tagged ‘p2’
Dangers of “resolution:=optional”
Posted in Tips, tagged BND, Felix, OSGi, p2 on June 4, 2011 | Leave a Comment »
Installation of folders during p2 provisioning with p2.inf
Posted in How To's, tagged Equinox, OSGi, p2 on May 18, 2011 | Leave a Comment »
An earlier post dealt with how a file can be copied to a product during a feature installation during a p2 provisioning action. This post expands on that. Although natives touchpoint has got a copy instruction it only works with files. But it has got an unzip instruction which can be used to unzip a [...]
Installing configuration files with p2.inf feature installation
Posted in How To's, tagged Equinox, OSGi, p2 on May 18, 2011 | 1 Comment »
This post will describe how to install additional files such as configuration files, licenses etc. to a product along with a equinox feature installation. The files of interest is described below. 1. p2.inf This file can be used to declare provisioning actions. More information about p2.inf format can be found at [1]. Various installation actions [...]

