Re: Issue with feature Install

2014-09-10 Thread Jean-Baptiste Onofré

Hi Sapna,

Generally speaking, it's not a good idea to manage the bundle 
individually while packaging in a kar: the kar itself should be updated 
as it provides its own repository in Karaf.


If the feature is installed using feature:repo-add, you can individually 
update a bundle.


Regards
JB

On 09/10/2014 09:40 AM, SapnaB wrote:

Hi,

I'm using feature install in Karaf 2.3.6, where I deploy specific versions
of dependent jars and bundles.

Problem arises when I uninstall and then install the same version of a
bundle individually(after feature install), mostly due to some bug fix.
What I observe is that many times the changes are not reflected in Karaf.
Only when I install a new version of the bundle, that I get the latest
changes.

Is it not recommended to deal with bundles individually after a feature
install? I do not want to delete kar file and /data and start all over
again.

Thanks,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Issue-with-feature-Install-tp4035163.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Issue with feature Install

2014-09-10 Thread Matt Sicker
Are you updating the bundles inside the kar and deploying that? Or are you
updating bundles that came in a kar? Could you clarify?


On 10 September 2014 02:40, SapnaB  wrote:

> Hi,
>
> I'm using feature install in Karaf 2.3.6, where I deploy specific versions
> of dependent jars and bundles.
>
> Problem arises when I uninstall and then install the same version of a
> bundle individually(after feature install), mostly due to some bug fix.
> What I observe is that many times the changes are not reflected in Karaf.
> Only when I install a new version of the bundle, that I get the latest
> changes.
>
> Is it not recommended to deal with bundles individually after a feature
> install? I do not want to delete kar file and /data and start all over
> again.
>
> Thanks,
> Sapna
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Issue-with-feature-Install-tp4035163.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>



-- 
Matt Sicker 


Issue with feature Install

2014-09-10 Thread SapnaB
Hi,

I'm using feature install in Karaf 2.3.6, where I deploy specific versions
of dependent jars and bundles.

Problem arises when I uninstall and then install the same version of a
bundle individually(after feature install), mostly due to some bug fix. 
What I observe is that many times the changes are not reflected in Karaf.
Only when I install a new version of the bundle, that I get the latest
changes.

Is it not recommended to deal with bundles individually after a feature
install? I do not want to delete kar file and /data and start all over
again.

Thanks,
Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Issue-with-feature-Install-tp4035163.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


Re: List User installed bundles in Karaf from Java

2014-09-10 Thread SapnaB
Hi Timothy,

Thanks for the tips. What I have done now is alter the bundle symbolic name
to include Project Group and Artifact IDs, which are standard across all
plugins developed by the team. Then filtering for specific plugins using
symbolic names.
But I guess Bundle-Vendor is another field I can use.

-Sapna



--
View this message in context: 
http://karaf.922171.n3.nabble.com/List-User-installed-bundles-in-Karaf-from-Java-tp4034602p4035162.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.