Changeset 30060
- Timestamp:
- 2015-07-27T23:13:02+12:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/the-macronizer/trunk/src/java/web/listeners/MyServletContextListener.java
r29855 r30060 64 64 try { 65 65 properties.load(getClass().getResourceAsStream(PROPERTIES_PATH)); 66 } catch (IOException e) { 67 e.printStackTrace(); 66 } catch (Exception e) { 67 System.err.println("getTempDirectory(): Did not find custom properties file: '" 68 + PROPERTIES_PATH + "'"); 69 System.err.println("Defaulting to Java property java.io.tmpdir=" 70 + System.getProperty("java.io.tmpdir")); 71 68 72 } 69 73 return new File(properties.getProperty("tmpdir", System.getProperty("java.io.tmpdir")));
Note:
See TracChangeset
for help on using the changeset viewer.