I’ve been trying to solve an issue where image resources get properly displayed when running in Eclipse, but do not get displayed when the application is Jar’d up and run from the command line (my stackoverflow original question). I think I’ve ruled out the classpath and relative/absolute resource locations as issues, and have come to the assumption that there must be something significant that is missing from the compiled ‘.class’ files between Eclipse and Gradle.
I Jar’d my application both with Eclipse and Gradle and then extracted the contents of each. All files existed in each ‘jar’ file, however the ‘.class’ files were not binary identical. Is there something that would cause the compiled source files to be different? Would this cause resources to not be located within a ‘jar’ file?