Hey Dan, My development environment for WebConsole was same as you described at the begining. There is almost no magic in Wicket / html files and you are able to walk step by step trought every component initalization process. All I needed to go was a Karaf started in debug mode. Sometimes it was painfull but not too much.
Kind regards, Lukasz Wiadomość napisana przez Dan Tran w dniu 17 sie 2012, o godz. 20:07: > So far we are ok with remote debugging the service bundles, since we > are already have lot of unit tests via mocking and other means ( via > spring ). Remote debug seldom happen. > > However when come to rapid development, specially webapp, remote > debug is SOO painful. > > Yes I do see EIK, and looking forward to try it out. > > -Dan > > > On Fri, Aug 17, 2012 at 10:55 AM, Jean-Baptiste Onofré <[email protected]> > wrote: >> Hi Dan, >> >> All depends that we mean by integrated. Using remote debug, we can already >> have a lot of useful information and a better understanding about what Karaf >> code does. To be honest, I mostly use the remote debug. >> >> FYI we want to make some progress on EIK. With EIK, we are able to run a >> Karaf "inside" Eclipse: it simplifies a lot the deployment, testing and >> debugging. >> >> Regards >> JB >> >> >> On 08/17/2012 07:50 PM, Dan Tran wrote: >>> >>> The console is the new wicket base ( to be released as a alpha as >>> discussed at dev list ) >>> >>> Are you able to get IDEA to fully integrate with karaf for development >>> and debugging? ( id no remote debug involved ) >>> >>> Thanks >>> >>> -Dan >>> >>> On Fri, Aug 17, 2012 at 9:52 AM, Jean-Baptiste Onofré <[email protected]> >>> wrote: >>>> >>>> Hi Dan, >>>> >>>> which console are you talking about ? the one currently in Karaf 2.2.x >>>> (based on Felix WebConsole), or the new project in preparation (based on >>>> Pax-Wicket) ? >>>> >>>> On my side, I use IntelliJ IDEA as IDE. >>>> >>>> Regards >>>> JB >>>> >>>> >>>> On 08/17/2012 06:30 PM, Dan Tran wrote: >>>>> >>>>> >>>>> Hi >>>>> >>>>> I am looking for advice on how to setup a development environment >>>>> starting out with karaf webconsole architecture and extend to add our >>>>> own features. We currently has 'semi' successful dev environment for >>>>> a small set of osgi features running under karaf 2.2.x where we use >>>>> Eclipse for IDE, Spring and mocking for unit testing, BUT the >>>>> production the osgi feature only run under 'blueprint' no Spring. >>>>> Debugging under runtime is a pain. We can only use remote debug. >>>>> >>>>> Now I'd like to bring more ppl to do web development. This means I >>>>> must have a much better development where we would like to be able to >>>>> full integrate karaf with our Eclipse. >>>>> >>>>> Questions: >>>>> >>>>> - How do Karaf devs develop and test webconsole??, are you able to >>>>> fully integrate your IDE ( what is it ? ) with karaf? >>>>> >>>>> Thanks >>>>> >>>>> -Dan >>>>> >>>> >>>> -- >>>> Jean-Baptiste Onofré >>>> [email protected] >>>> http://blog.nanthrax.net >>>> Talend - http://www.talend.com >> >> >> -- >> Jean-Baptiste Onofré >> [email protected] >> http://blog.nanthrax.net >> Talend - http://www.talend.com
