Thanks Lukasz Not that bad. I feel much better now.
-D On Sun, Aug 19, 2012 at 3:35 AM, Łukasz Dywicki <[email protected]> wrote: > You are almost there. > 1. Build and install bundle by hand first time, then configure dev:watch > <bundle-id> > 2. Write code in editor. > 3. Execute maven install in IDE - using m2e in eclipse or any other way to > cause update. > 4. Navigate to browser and check if everyting is ok. > > Number of manual operation is really small in comparision to usage of WTP. > With dev:watch maven install works as "Deploy" command from IDE. > > If there are some problems then switch karaf to debug mode and check using > remote java debug. > > Best regards, > Lukasz > > > Wiadomość napisana przez Dan Tran w dniu 17 sie 2012, o godz. 23:37: > >> hi Lukasz, >> >> Could you elaborate more on your day to day work with >> webconsole/wicket development ( btw my back ground is via service >> bean level, hardly do web work ). What I am imaging is: >> >> 1. Develop web wicket jar component with IDE, >> >> 2. Drop the jar into karaf and restart the bundle as needed >> >> 3. Use IDE remote debug to talk to karaf? >> >> am I close to what you have? >> >> Thanks >> >> -Dan >> >> On Fri, Aug 17, 2012 at 1:10 PM, Łukasz Dywicki <[email protected]> wrote: >>> 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 >>> >
