I'm using the koans on Ubuntu 12.04 and started out using emacs, but the Koan evaluation loop doesn't work properly while using emacs (nano, vim, and gedit all seem to work as expected, so this isn't a show-stopper or anything). The Koans are evaluated properly initially, but after the file is edited and saved, an error is emitted and the Koans are not re-evaluated.
Here's the full output:
Ponder what's going wrong in the: AboutPrimitives class's wholeNumbersAreOfTypeInt method.
Line 12 may offer a clue as to how you may progress, now make haste!
What went wrong:
expected: but was:
Level: Novice
Progress [XXXX----------------------------------------------] 16/193
Passing Suites: AboutKoans, AboutAssertions, AboutEquality
Remaining Suites: AboutPrimitives, AboutStrings, AboutObjects, AboutLoops, AboutInheritance, AboutCasting, AboutConditionals, AboutConstructors, AboutEnums, AboutExceptions, AboutMethodPreference, AboutOperators, AboutArrays, AboutAutoboxing, AboutCollections, AboutComparison, AboutDates, AboutEquality, AboutFileIO, AboutInnerClasses, AboutLocale, AboutRegularExpressions, AboutSerialization, AboutMocks
Edit & save a koan to reload or enter 'Q' to exit
User edits AboutPrimitives.java and saves it at this point
Exception in thread "Thread-2" java.lang.RuntimeException: java.io.IOException: File or directory does not exist: /home/local/ANT/dougwade/java-koans-master/koans/src/beginner/.#AboutPrimitives.java
at com.sandwich.util.io.FileMonitor.notifyListeners(FileMonitor.java:61)
at com.sandwich.util.io.FileMonitorFactory$2.run(FileMonitorFactory.java:34)
at java.lang.Thread.run(Thread.java:701)
Caused by: java.io.IOException: File or directory does not exist: /home/local/ANT/dougwade/java-koans-master/koans/src/beginner/.#AboutPrimitives.java
at com.sandwich.util.io.FileUtils.forEachFile(FileUtils.java:57)
at com.sandwich.util.io.FileUtils.forEachFile(FileUtils.java:53)
at com.sandwich.util.io.FileUtils.forEachFile(FileUtils.java:53)
at com.sandwich.util.io.FileUtils.forEachFile(FileUtils.java:53)
at com.sandwich.util.io.FileMonitor.getFilesystemHashes(FileMonitor.java:67)
at com.sandwich.util.io.FileMonitor.notifyListeners(FileMonitor.java:47)
... 2 more