I added a feature in karaf features xml
<feature name="dummy-feature" version="1.1.1">
<bundle>file:${MY_VARIABLE}/temp.jar</bundle>
</feature>
MY_VARIABLE is the system property that has the directory path.
But when i try to install the feature i am getting error.
Invalid syntax for instruction [{MY_VARIABLE}/temp.jar]. Take a look at http://www.aqute.biz/Code/Bnd.
In the karaf console when i enter ${MY_VARIABLE} i see the value that i have set.