You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Karabo Molema <ko...@gmail.com> on 2013/05/19 13:59:21 UTC
Apache Karaf and IntelliJ
Hi
Is anyone using Karaf and IntelliJ together. If so, can you please share
your development process. The plugins I have found seem to be inadequate
at working with Karaf. Maybe I am not using them properly, note that I am
beginner when in the OSGi universe.
Regards
Karabo
Re: Apache Karaf and IntelliJ
Posted by William la Forge <la...@gmail.com>.
Karabo,
It may well be that the only module of interest to you is jactor-ktest,
where I set up the pax exam test. For the rest, I am integrating OSGi and
actors. -Bill
On Sun, May 19, 2013 at 6:31 PM, Karabo Molema <ko...@gmail.com> wrote:
> Thanks , will have a look at your project :), and see what I can learn
> from it
>
> Regards
> Karabo
>
>
> On Sun, May 19, 2013 at 2:31 PM, William la Forge <la...@gmail.com>wrote:
>
>> I use Karaf and IntelliJ. Don't know much about either and just getting
>> started with Karaf. To date Karaf seems easy enough, once you get past
>> setting up the pax exam environment.
>>
>> Frankly I do all my testing using Maven. So it is unlikely I can be any
>> help. I only use IntelliJ to write code. But here's my project anyway,
>> complete with the pom files that reference the plugins I use:
>> https://github.com/laforge49/JActor2
>>
>> --Bill
>>
>>
>> On Sun, May 19, 2013 at 5:29 PM, Karabo Molema <ko...@gmail.com>wrote:
>>
>>> Hi
>>>
>>> Is anyone using Karaf and IntelliJ together. If so, can you please share
>>> your development process. The plugins I have found seem to be inadequate
>>> at working with Karaf. Maybe I am not using them properly, note that I am
>>> beginner when in the OSGi universe.
>>>
>>> Regards
>>> Karabo
>>>
>>
>>
>
Re: Apache Karaf and IntelliJ
Posted by Karabo Molema <ko...@gmail.com>.
Thanks , will have a look at your project :), and see what I can learn from
it
Regards
Karabo
On Sun, May 19, 2013 at 2:31 PM, William la Forge <la...@gmail.com>wrote:
> I use Karaf and IntelliJ. Don't know much about either and just getting
> started with Karaf. To date Karaf seems easy enough, once you get past
> setting up the pax exam environment.
>
> Frankly I do all my testing using Maven. So it is unlikely I can be any
> help. I only use IntelliJ to write code. But here's my project anyway,
> complete with the pom files that reference the plugins I use:
> https://github.com/laforge49/JActor2
>
> --Bill
>
>
> On Sun, May 19, 2013 at 5:29 PM, Karabo Molema <ko...@gmail.com> wrote:
>
>> Hi
>>
>> Is anyone using Karaf and IntelliJ together. If so, can you please share
>> your development process. The plugins I have found seem to be inadequate
>> at working with Karaf. Maybe I am not using them properly, note that I am
>> beginner when in the OSGi universe.
>>
>> Regards
>> Karabo
>>
>
>
Re: Apache Karaf and IntelliJ
Posted by William la Forge <la...@gmail.com>.
I use Karaf and IntelliJ. Don't know much about either and just getting
started with Karaf. To date Karaf seems easy enough, once you get past
setting up the pax exam environment.
Frankly I do all my testing using Maven. So it is unlikely I can be any
help. I only use IntelliJ to write code. But here's my project anyway,
complete with the pom files that reference the plugins I use:
https://github.com/laforge49/JActor2
--Bill
On Sun, May 19, 2013 at 5:29 PM, Karabo Molema <ko...@gmail.com> wrote:
> Hi
>
> Is anyone using Karaf and IntelliJ together. If so, can you please share
> your development process. The plugins I have found seem to be inadequate
> at working with Karaf. Maybe I am not using them properly, note that I am
> beginner when in the OSGi universe.
>
> Regards
> Karabo
>
Re: Apache Karaf and IntelliJ
Posted by Karabo Molema <ko...@gmail.com>.
Hi Christian,
Thanks for the reply, will incorporate some of your techniques, especially
the part about updating changed code( could save a lot of time) .
On Mon, May 20, 2013 at 8:51 AM, Christian Schneider <
chris@die-schneider.net> wrote:
> Hi Karabo,
>
> I am using eclipse to work with Karaf but I do not use any special karaf
> plugins. So my aproach may work for you too.
>
> I use the maven bundle plugin to create my bundles in the maven build. So
> you need a maven integration that works with this. In this
> regard Intellij is probably even better than eclipse.
>
> The next thing is debugging. I use the karaf remote debugging with the env
> variable KARAF_DEBUG=true. Then I simply use the eclipse remote debugging.
> This works very well.
> The last piece you may be missing is good support for updating changed
> code during a debug session. Karaf supports this using the "dev:watch *"
> command.
> When this is active you simply need to run mvn install on the bundle you
> changed and it gets automatically updated in the running karaf instance.
> You can then continue your debug session.
>
> While a tighter karaf integration may be nice I never really needed it.
>
> Christian
>
>
> Am 19.05.2013 13:59, schrieb Karabo Molema:
>
> Hi
>>
>> Is anyone using Karaf and IntelliJ together. If so, can you please share
>> your development process. The plugins I have found seem to be inadequate
>> at working with Karaf. Maybe I am not using them properly, note that I am
>> beginner when in the OSGi universe.
>>
>> Regards
>> Karabo
>>
>
>
> --
> Christian Schneider
> http://www.liquid-reality.de
>
> Open Source Architect
> Talend Application Integration Division http://www.talend.com
>
>
Re: Apache Karaf and IntelliJ
Posted by Christian Schneider <ch...@die-schneider.net>.
Hi Karabo,
I am using eclipse to work with Karaf but I do not use any special karaf
plugins. So my aproach may work for you too.
I use the maven bundle plugin to create my bundles in the maven build.
So you need a maven integration that works with this. In this
regard Intellij is probably even better than eclipse.
The next thing is debugging. I use the karaf remote debugging with the
env variable KARAF_DEBUG=true. Then I simply use the eclipse remote
debugging. This works very well.
The last piece you may be missing is good support for updating changed
code during a debug session. Karaf supports this using the "dev:watch *"
command.
When this is active you simply need to run mvn install on the bundle you
changed and it gets automatically updated in the running karaf instance.
You can then continue your debug session.
While a tighter karaf integration may be nice I never really needed it.
Christian
Am 19.05.2013 13:59, schrieb Karabo Molema:
> Hi
>
> Is anyone using Karaf and IntelliJ together. If so, can you please
> share your development process. The plugins I have found seem to be
> inadequate at working with Karaf. Maybe I am not using them properly,
> note that I am beginner when in the OSGi universe.
>
> Regards
> Karabo
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com
Re: Apache Karaf and IntelliJ
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Karabo,
I use IDEA IntelliJ. Nothing special to do, just open the main Karaf POM
with IntelliJ.
Regards
JB
On 05/19/2013 01:59 PM, Karabo Molema wrote:
> Hi
>
> Is anyone using Karaf and IntelliJ together. If so, can you please share
> your development process. The plugins I have found seem to be
> inadequate at working with Karaf. Maybe I am not using them properly,
> note that I am beginner when in the OSGi universe.
>
> Regards
> Karabo
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com