Saturday, May 25, 2013

debugging fornax-oaw-m2-plugin maven plugin

Question: Do you need to debug maven plugin: fornax-oaw-m2-plugin ?
If so, go on reading.

You can find the basic info at their home page:
However remote debugging topic is not covered there.
The problem with maven plugins might be, that sometimes it's not enough to debug maven run itself (as described in my previous post).

However merging information from the previous links with common remote debugging options I came to solution that simply works for me:

        <!-- [BEGIN] debugging related section -->
        <!-- [END] debugging related section -->
Please note that port to remotely connect to with debugger is 8100 in my sample. Feel free to adapt it based on your setup.

After using the configuration in your run, you should get to point where plugin run gets suspended and waits for remote debugger to connect (to find out how to remotelly debug, see some existing tutorial, like this one:

That's it. Enjoy your debugging session.

This post is from pb's blog.

Friday, May 3, 2013

Keyboard shortcut (Ctrl+Space) caught in Xfce

Q: Did you ever face the problem of keyboard shortcut Ctrl+Space not working in Xfce?

This will be another one of my keyboard shortcut troubleshooting posts when living daily in Xfce (previous one can be found here).

My primary IDE is Eclipse, therefor Ctrl+Space is something I need like a salt. While coding I use it for code completion intensively.

However some months ago it stopped working for me. Stackoverflow ideas didn't help. So I gave up. As one of my favorite songs says: "Never know what you got till it's gone".

But couple days ago, I've observed, when pushing this combination accidentally twice in a row I got keyboard switch dialog.

While looking around, I've found IBus applet in my xfce panel (not sure how it got there :) ). When going for it's options, I've found out that my favorite keyboard shortcut was eaten by that one. Changing it to whatever else, solved the code completion in Eclipse for me.