Can't rename files in Linux Mint using Nemo

TL;DR: I installed Zoom which brought ibus in as a dependency. During a dist-update ibus was set to my main input method and it doesn’t work well (for me). Use the Input Method app to set the input method back to XIM and restart the display manager. Background: I’m running Linux Mint 17.1 and I recently experienced the same issue described in this thread: Basically, I could press F2 to rename a file using Nemo, the out-of-the-box file manager but then I typing would have no effect.

Xtend 2.8.2, Java 8 and .sort()

Background Warning: this post could probably be countered with a simple RTFM! But for those who are Googling for this, I hope it helps. Today I tested out how our Xtend 2.8 code that works in Java 7 would go in a Java 8 JDK. For the most part it was ok but one problem that we experienced was related to sorting collections. We had code like: val someCustomerComparator = .

Loading TDB data into Apache Fuseki

Background I’m working with Apache Jena and Apache Fuseki (v2.3.1) at the moment and today I had the need to load more than one lot of data into Fuseki on start up. I thought I needed an assembler file, and I probably could’ve used one, but I’ve ended up using config file for Fuseki. I was Googling for ‘example Fuseki config files’ to get up and running quickly but didn’t find anything so it’s my hope that others can use this blog post to get a TDB data directory loaded into Fuseki using a config file quickly.

Fixing "XMLGregorianCalendarImpl is internal proprietary API and may be removed in a future release"

Background: I wrote some code that required an XMLGregorianCalendar so when I poked around with code completion, the first thing I found was a constructor on This got my code working but when you build with Maven, you get given a warning (and rightly so): XMLGregorianCalendarImpl is internal proprietary API and may be removed in a future release The fix: The correct way to get something that conforms to the XMLGregorianCalendar interface is to call this factory:

Mocking remoteAddr with Spring-mvc

The problem We developed a Spring MVC controller that needs to know who the client is. We achieved this using a HttpServletRequest parameter and then calling getRemoteAddr() on it. The challenge then was how to test this because we need to be able to mock this value. The fix The Spring test helpers don’t provide a way to set this value with a helper method but they do provide an extension point that we can use to do it ourselves.

tycho-p2-director-plugin "Error packing product: isn't a directory" problem

The problem You’re trying to build an Eclipse update site project, specifically <packaging>eclipse-repository</packaging>, with maven and you’re getting the following error: This error message is specific to this environment block that you would have defined in your POM: <environment> <os>linux</os> <ws>gtk</ws> <arch>x86</arch> </environment> For the sake of making this post easier to find for people Googling for error messages, you might get one of the following error messages for other common environments:

Fixing "The default package '.' is not permitted by the Import-Package syntax." with maven-bundle-plugin

Overview I found this problem when I was trying to bundle a maven project as an OSGi bundle to use with Tycho. The bundle I was trying to make was effectively a shaded/uber JAR that has all the dependencies inlined inside of the final artifact JAR. The cause This problem is caused by a Java class file existing in the default/unamed package. It could come from anywhere in the dependency chain, including your own project, but in this case it came from one of my dependencies; JDOM.

Page 3 of 5