- Timestamp:
- 2012-07-25T14:07:37+02:00 (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r5323 r5362 55 55 <property name="version.entry.commit.revision" value="UNKNOWN"/> 56 56 <mkdir dir="${revision.dir}"/> 57 <!-- add Build-Name: ... when making special builds, e.g. DEBIAN --> 57 58 <echo file="${revision.dir}/REVISION"> 58 59 # automatically generated by JOSM build.xml - do not edit -
trunk/src/org/openstreetmap/josm/data/Version.java
r5266 r5362 68 68 private String releaseDescription; 69 69 private String time; 70 private String buildName; 70 71 private boolean isLocalBuild; 71 72 … … 131 132 } 132 133 134 // is this a specific build ? 135 // 136 buildName = null; 137 value = properties.get("Build-Name"); 138 if (value != null && !value.trim().isEmpty()) { 139 buildName = value.trim(); 140 } 141 133 142 // the revision info 134 143 // … … 199 208 int v = getVersion(); 200 209 String s = (v == JOSM_UNKNOWN_VERSION) ? "UNKNOWN" : Integer.toString(v); 210 if (buildName != null) { 211 s += " " + buildName; 212 } 201 213 if (isLocalBuild() && v != JOSM_UNKNOWN_VERSION) { 202 214 s += " SVN";
Note:
See TracChangeset
for help on using the changeset viewer.