Skip to content
Snippets Groups Projects
Commit b0d323b2 authored by Jesper's avatar Jesper
Browse files

Improved the eclipse project

- added src/res as a source folder for the eclipse project
- print more descriptive resource bundle errors
parent cb742d93
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" path="src/java"/> <classpathentry kind="src" path="src/java"/>
<classpathentry kind="src" path="src/res"/>
<classpathentry kind="src" path="tinytemplate/src/java"/> <classpathentry kind="src" path="tinytemplate/src/java"/>
<classpathentry kind="src" path="src/gen"> <classpathentry kind="src" path="src/gen">
<attributes> <attributes>
......
...@@ -61,7 +61,7 @@ public class JastAdd { ...@@ -61,7 +61,7 @@ public class JastAdd {
version = resources.getString("version"); version = resources.getString("version");
timestamp = resources.getString("timestamp"); timestamp = resources.getString("timestamp");
} catch (MissingResourceException e) { } catch (MissingResourceException e) {
throw new Error("Could not open Version resource bundle"); throw new Error("Could load version info: " + e.getMessage());
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment