Hi,

I have created a OSGI bundle with version 1.0-SNAPSHOT.
When i install this bundle in the servicemix 4.0
I get a new folder in the cache directory having name same as what bundle id
is assigned by servicemix for this bundle.
Inside this folder, i get another folder with name 1.
Inside folder with name 1, i can see my osgi bundle.

Now whenever i change code in this bundle.
I run following command.
osgi:update <Bundle-Id>
And when i use the functionality, i found that the changes done to the code
are not reflected there.

So i looked the cache directory.
And i found that there are multiple folders inside the folder having name of
<Bundle-Id>
Some thing like 1, 5, 13 etc.

The workaround for this problem is to uninstall the bundle and then do a
fresh installation again using command
osgi:install -s mvn:<group-id>/<artifact-id>

Even sometimes i have to shutdown the servicemix to get my changes
reflected.

Is this problem because of the name of version 1.0-SNAPSHOT.

With Regards
Harbeer Kadian

-- 
View this message in context: 
http://old.nabble.com/Getting-multiple-bundles-in-cache-directory-of-ServiceMix-tp27781176p27781176.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to