gxa/gxa — pull request #190 by alf239 (2011-11-09 15:32:51+00:00)
Title: Adjusted the approach to finding out the path to resources

When you run from IntelliJ IDEA, out `getClass().getClassLoader().getResource("")` doesn't do the job: all the classes share the same classloader regardless of the source directory. Hence, lots of tests were failing which impeded local testing (and especially debug).

Adjusted the approach (thanks to Jevgeni Kabanov and his answer at http://stackoverflow.com/questions/227486/find-where-java-class-is-loaded-from)