Changeset 1986 in josm
- Timestamp:
- 2009-08-20T18:15:05+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AboutAction.java
r1879 r1986 58 58 URL u = Main.class.getResource("/REVISION"); 59 59 if(u == null) { 60 // try { 61 manifest = true; 62 // u = new URL("jar:" + Main.class.getProtectionDomain().getCodeSource().getLocation().toString() 63 // + "!/META-INF/MANIFEST.MF"); 64 u = Main.class.getResource("/META-INF/MANIFEST.MF"); 65 // } catch (MalformedURLException e) { 66 // e.printStackTrace(); 67 // } 60 try { 61 manifest = true; 62 u = new URL("jar:" + Main.class.getProtectionDomain().getCodeSource().getLocation().toString() 63 + "!/META-INF/MANIFEST.MF"); 64 } catch (MalformedURLException e) { 65 e.printStackTrace(); 66 } 68 67 } 69 68 revision = loadFile(u, manifest);
Note:
See TracChangeset
for help on using the changeset viewer.