Tip: How to Easily Customize PMD Rules in Eclipse

The default PMD rules are little too strict for me (especially when starting on a legacy project) so I need to adjust them, usually by decreasing priority to warning. It’s however quite difficult to find the rule responsible for an error message unless you know how to do it. The answer is the PMD ViolationsContinue reading “Tip: How to Easily Customize PMD Rules in Eclipse”

Most interesting links of December

Recommended Readings The Netflix Chaos Monkey – how to test your preparedness for dealing with a system failure so that you won’t experience nasty wakeup when something really fails in Sunday 3 am? Release a wild, armed monkey into your datacenter. Watch carefuly what happens as it randoly kills your instances. This is exactly whatContinue reading “Most interesting links of December”

Most interesting links of October

Recommended Readings Steve Yegge’s Execution in the Kingdom of Nouns – I guess you’ve already read this one but if not – it is a well-written and amusing post about why not having functions as first class citizens in Java causes developers to suffer. Highly recommended. Reply to Comparing Java Web Frameworks – a veryContinue reading “Most interesting links of October”

Comparison of Eclipse 3.6 and IntelliJ IDEA 10.5: Pros and Cons

After having worked with Eclipse for over 5 years I’ve came to use IntelliJ IDEA intensively on a J2EE project in three months and took this as an opportunity to compare the two. You can’t really compare 5 years and 3 months but I still believe that it is long enough to get a prettyContinue reading “Comparison of Eclipse 3.6 and IntelliJ IDEA 10.5: Pros and Cons”

More Eclipse & svn fun: Can’t share a project (only Team – Apply Patch)

With Subversive it may happen that it completely ignores some projects while it perfectly works for other ones. If a project seems to have no SVN information in Eclipse (thoug it actually contains all the .svn/ folders) and the Team context manu only contains Apply Patch… (i.e. especially not Share project…) then you have likelyContinue reading “More Eclipse & svn fun: Can’t share a project (only Team – Apply Patch)”

Tip: Enable a shortcut for Occurrences in File in Eclipse under Gnome (default C+S+u)

The useful Eclipse action Search – Occurrences in File – Identifier has by default the shortcut Control+Shift+U. But under Gnome the shortcut Control+Shift+U is used for Unicode character input, indicated by an underlined u when pressed. Assigning a different shortcut is easy but there are few “traps”: In Eclipse, go to Window – Preferences –Continue reading “Tip: Enable a shortcut for Occurrences in File in Eclipse under Gnome (default C+S+u)”

Eclipse Profile configuration: The launch requires at least one data collector

I just installed TPTP into my Eclipse 3.5 under Ubuntu 9.04 and tried to profile a class. The Profile Configuration opened with a red warning reading “the launch requires at least one data collector to be selected“. Clicking the configuration’s Monitor tab reveals a more detailed error (and nothing to select): IWATO435E An error occuredContinue reading “Eclipse Profile configuration: The launch requires at least one data collector”

Broken Eclipse shortcut under Gnome for Occurrences in File

Broken Eclipse shortcut under Gnome for Occurrences in File One of the extremely useful keyboard shortcuts for Eclipse is Shift+Control+U which finds all occurrences of a selected identifier in the current file. Unfortunately  this doesn’t work under Linux with Gnome because Gnome uses this shortcut for composing Unicode characters. You can check it by typingContinue reading “Broken Eclipse shortcut under Gnome for Occurrences in File”

Eclipse: Open Type/Resource working again under Linux!

Some weeks ago the extremely useful features of Eclipse Open Type and Open Resource stopped working, throwing an uninformative  Error instead, no matter which version or JRE vendor. I was desperate. Until finally I found a bug regarding this issue which pointed me to the solution – switching off Gnome’s assistive technologies (System – PreferencesContinue reading “Eclipse: Open Type/Resource working again under Linux!”