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
--
View this message in context:
http://karaf.922171.n3.nabble.com/How-to-access-System-properies-in-karaf-features-file-tp4042073.html
Sent from the Karaf - User mailing list archive at Nabble.com.