I should also say that I chose karaf because of it's enterprise focus. The features are a great way to do deployment and plugins at a large scale. I like the ability to debug at the live level using shell, web console, logs and remote connection. When working with dynamic resolution and vendor plugins it is not possible to debug everything in the development ide. I like how karaf does configuration as well and the devs are extremely helpful on the mailing list. I also like how everything they do gets tested by a fairly large user base. That being said I do almost all my development using eclipse and bndtools. Karaf is very much maven based which misses out on a lot of features when developing in eclipse. A part of osgi is the dynamic reloading but many of the maven plugins are not m2e friendly. Stuff like manifest file changes, declarative services annotations that generate xml files, embedded javascript file changes for web bundles and many other things will not notify m2e correctly that a clean needs to be performed unless you have setup your poms very carefully. If you know all your developers will be using eclipse it might be good to look at integrating bndtools and karaf in a friendly way.
On Mon, Apr 18, 2016 at 4:48 PM, David Daniel <[email protected]> wrote: > For eclipse development I take an aproach very similar to Christians but > that is a preference on my part. Here are some threads that describe why > and how. > > https://groups.google.com/forum/#!topic/bndtools-users/o61UDyhvHuQ > https://groups.google.com/forum/#!topic/bndtools-users/wduCjTJqOqI > https://groups.google.com/forum/#!topic/bndtools-users/up94Vk171Po > > > On Mon, Apr 18, 2016 at 4:42 PM, Balana, Vishal <[email protected]> > wrote: > >> Ok, Thanks for your reply Jean! >> >> So is it good idea to rely upon EIK for development at this point in time? >> >> Is anyone here been able to create Apache Karaf Installation and do the >> development in eclipse with it? >> >> I would like to know how others are developing OSGI bundles with eclipse? >> >> >> Regards, >> Vishal >> >> -----Original Message----- >> From: Jean-Baptiste Onofré [mailto:[email protected]] >> Sent: Monday, April 18, 2016 10:45 AM >> To: [email protected] >> Subject: Re: Need Help in getting started with EIK 0.9.0 >> >> Hi Vishal, >> >> unfortunately, EIK is not really active and maintained. >> >> Anyway the EIK plugins are there: >> >> http://repo.maven.apache.org/maven2/org/apache/karaf/eik/plugins/ >> >> Regards >> JB >> >> On 04/18/2016 04:42 PM, Balana, Vishal wrote: >> > Can somebody please suggest about How could I get the EIK plugins source >> > from GIT for version 0.9.0? >> > >> > Thanks, >> > >> > Vishal >> > >> > *From:*Balana, Vishal >> > *Sent:* Thursday, April 14, 2016 11:46 PM >> > *To:* '[email protected]' >> > *Subject:* Need Help in getting started with EIK >> > >> > Hello, >> > >> > I am trying to use EIK plugin to create first Apache Karaf Installation >> > using Apache Karaf Perspective. >> > >> > After the Project is created, I am getting following error: >> > >> > java.lang.RuntimeException: URL >> > [mvn:org.apache.karaf.features/standard/3.0.5/xml/features] could not be >> > resolved. >> > >> > at >> > >> org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:195) >> > >> > at >> > >> org.apache.karaf.eik.ui.features.FeaturesResolverJob.resolveFeatures(FeaturesResolverJob.java:129) >> > >> > at >> > >> org.apache.karaf.eik.ui.features.FeaturesResolverJob.run(FeaturesResolverJob.java:87) >> > >> > at >> > org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) >> > >> > Could somebody help? I am using Karaf 3.0.5. >> > >> > Thanks, >> > >> > Vishal >> > >> >> -- >> Jean-Baptiste Onofré >> [email protected] >> http://blog.nanthrax.net >> Talend - http://www.talend.com >> > >
