cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1476378 - /cxf/trunk/api/src/main/java/org/apache/cxf/version/Version.java
Date Fri, 26 Apr 2013 20:16:48 GMT
Author: dkulp
Date: Fri Apr 26 20:16:48 2013
New Revision: 1476378

URL: http://svn.apache.org/r1476378
Log:
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/trunk/api/src/main/java/org/apache/cxf/version/Version.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/version/Version.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/version/Version.java?rev=1476378&r1=1476377&r2=1476378&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/version/Version.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/version/Version.java Fri Apr 26 20:16:48 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