Azeez, Why is this not possible? You can simply do a 1. install file:/foo/bar/my.jar 2. Get the bundle id 3. Then do a start <bundle-id>
/sumedha On Tue, Jan 4, 2011 at 11:01 PM, Afkham Azeez <az...@wso2.com> wrote: > > > On Tue, Jan 4, 2011 at 10:49 PM, Denis Weerasiri <de...@wso2.com> wrote: > >> Hi all, >> Normally to test a bundle what I do is write a shell script to >> >> 1. Build the bundle >> 2. Copy & Paste it to the repository/components/plugins >> 3. Restart the carbon >> >> But if I can use OSGi console commands in that shell script, I can simply >> uninstall and re-install the bundle, without restarting carbon. >> > > Sadly, you cannot do that since the OSGi console does not have any > scripting capability. You could use Felix Web console to redeploy your > bundles. > https://docs.google.com/a/wso2.com/Doc?docid=0AXW7aoJmJW4wZGYzMnc2djJfMGdjOGN4cDUz&hl=en > > >> Is this possible? Or any other recommended ways to avoid restarting carbon >> at the dev. life cycle?. >> >> -- >> Thanks, >> Denis >> ---------------------------------------------------------- >> *Denis Weerasiri* >> Software Engineer; WSO2 Inc.; http://wso2.com, >> *email: denis <http://goog_277208233/>** [AT] wso2.com*<http://wso2.com/> >> * cell: +94 (71) 684-4450 >> blog: **http://ddweerasiri.blogspot.com*<http://ddweerasiri.blogspot.com/> >> * >> twitter: **http://twitter.com/ddweerasiri*<http://twitter.com/ddweerasiri> >> * >> linked-in: >> **http://lk.linkedin.com/in/ddweerasiri*<http://lk.linkedin.com/in/ddweerasiri> >> >> >> _______________________________________________ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > *Afkham Azeez* > Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, > * > * > *Member; Apache Software Foundation; > **http://www.apache.org/*<http://www.apache.org/> > * > email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev