You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2013/04/26 22:26:43 UTC

svn commit: r1476389 - /cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/version/Version.java

Author: dkulp
Date: Fri Apr 26 20:26:43 2013
New Revision: 1476389

URL: http://svn.apache.org/r1476389
Log:
Merged revisions 1476381 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/branches/2.7.x-fixes

........
  r1476381 | dkulp | 2013-04-26 16:22:25 -0400 (Fri, 26 Apr 2013) | 10 lines

  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.6.x-fixes/api/src/main/java/org/apache/cxf/version/Version.java

Modified: cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/version/Version.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/version/Version.java?rev=1476389&r1=1476388&r2=1476389&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/version/Version.java (original)
+++ cxf/branches/2.6.x-fixes/api/src/main/java/org/apache/cxf/version/Version.java Fri Apr 26 20:26:43 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;
             }