cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1476381 - /cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/version/Version.java
Date Fri, 26 Apr 2013 20:22:25 GMT
Author: dkulp
Date: Fri Apr 26 20:22:25 2013
New Revision: 1476381

URL: http://svn.apache.org/r1476381
Log:
Merged revisions 1476378 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1476378 | dkulp | 2013-04-26 16:16:48 -0400 (Fri, 26 Apr 2013) | 2 lines

  Change how the build number is added to the version text (when using snapshots) so that
it results in a valid qualifier so snapshot builds can be used for Eclipse WTP settings.

........

Modified:
    cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/version/Version.java

Modified: cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/version/Version.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/version/Version.java?rev=1476381&r1=1476380&r2=1476381&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/version/Version.java (original)
+++ cxf/branches/2.7.x-fixes/api/src/main/java/org/apache/cxf/version/Version.java Fri Apr
26 20:22:25 2013
@@ -61,7 +61,7 @@ public final class Version {
             buildNumber = p.getProperty("build.number", "<unknown>");
             if (version.contains("SNAPSHOT") 
                 || version.contains("<unknown>")) {
-                fullVersion = name + " " + version + " (" + buildNumber + ")";
+                fullVersion = name + " " + version + "-" + buildNumber;
             } else {
                 fullVersion = name + " " + version;
             }



Mime
View raw message