Changeset 1986 in josm for trunk


Ignore:
Timestamp:
2009-08-20T18:15:05+02:00 (15 years ago)
Author:
stoecker
Message:

see #3305 - version set to UNKNOWN

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AboutAction.java

    r1879 r1986  
    5858        URL u = Main.class.getResource("/REVISION");
    5959        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            }
    6867        }
    6968        revision = loadFile(u, manifest);
Note: See TracChangeset for help on using the changeset viewer.