Yes, I am also looking at ACE as well while trying hard to get familiar with OSGI runtime infrastructure
Thanks -D On Thu, Mar 17, 2011 at 9:54 AM, karafman <[email protected]> wrote: > > stream wrote: >> >> hi,everyone. >> my english is poor, i hope i can express my meaning. >> i've features:install spring 3.0.5 which in the karaf by default. >> i found there are not spring orm in the list of actives >> >> [ 118] [Active ] [ ] [ ] [ 60] Spring Core >> (3.0.5.RELEASE) >> [ 119] [Active ] [ ] [ ] [ 60] Spring ASM >> (3.0.5.RELEASE) >> [ 120] [Active ] [ ] [ ] [ 60] Spring Expression >> Language (3.0.5.R >> [ 121] [Active ] [ ] [ ] [ 60] Spring Beans >> (3.0.5.RELEASE) >> [ 122] [Active ] [ ] [ ] [ 60] Spring AOP >> (3.0.5.RELEASE) >> [ 123] [Active ] [ ] [ ] [ 60] Spring Context >> (3.0.5.RELEASE) >> [ 124] [Active ] [ ] [ ] [ 60] Spring Context >> Support (3.0.5.RELEA >> [ 125] [Active ] [ ] [ ] [ 60] Spring Web >> (3.0.5.RELEASE) >> [ 126] [Active ] [ ] [ ] [ 60] Spring Web Servlet >> (3.0.5.RELEASE) >> >> because I used package >> org.springframework.orm.hibernate3.HibernateCallback; >> How can i add the this bundle to the features of spring3, meanwhile orm it >> is dependence on package of Dao which also not in the list of actives. >> maybe it is not need pacakge of orm? >> > > Stream, > > The direct answer to your question is that you could modify the features.xml > file that is provisioning the Spring 3 feature. However, that really isn't > the best way to do what you want. When I had a similar issue, I created a > seperate provisioning (features.xml) file whose purpose was to deploy all of > the hibernate dependent bundles. Then, after adding this file to my > featuresRepositories, I was able to do a "features:install hibernate" and > all of the hibernate stuff was deployed. Then I wrote a blog about it: > http://weblogs.java.net/blog/fossesi/archive/2010/09/16/some-results-converting-large-standard-java-app-set-osgi-bundles-bet > > Please let me know if that helps. > > ----- > Karafman > Slayer of the JEE > Pounder of the Perl Programmer > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/How-to-add-the-bundle-of-features-to-karaf-tp2691959p2694332.html > Sent from the Karaf - User mailing list archive at Nabble.com. >
