ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r801246 - in /ant/core/trunk: CONTRIBUTORS WHATSNEW src/main/org/apache/tools/ant/taskdefs/Manifest.java
Date Wed, 05 Aug 2009 14:54:18 GMT
Author: bodewig
Date: Wed Aug  5 14:54:17 2009
New Revision: 801246

URL: http://svn.apache.org/viewvc?rev=801246&view=rev
Log:
Use java.runtime.version instead of java.vm.version in Created-By manifest attribute.  Submitted
by Gilbert Rebhan.  PR 47632

Modified:
    ant/core/trunk/CONTRIBUTORS
    ant/core/trunk/WHATSNEW
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Manifest.java

Modified: ant/core/trunk/CONTRIBUTORS
URL: http://svn.apache.org/viewvc/ant/core/trunk/CONTRIBUTORS?rev=801246&r1=801245&r2=801246&view=diff
==============================================================================
Binary files - no diff available.

Modified: ant/core/trunk/WHATSNEW
URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=801246&r1=801245&r2=801246&view=diff
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Wed Aug  5 14:54:17 2009
@@ -141,6 +141,10 @@
    set failOnError to false.
    Bugzilla Report 47362.
 
+ * Ant now uses the java.runtime.version instead of java.vm.version
+   system property for the Created-By Manifest attribute.
+   Bugzilla Report 47632.
+
 Fixed bugs:
 -----------
 

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Manifest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Manifest.java?rev=801246&r1=801245&r2=801246&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Manifest.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Manifest.java Wed Aug  5 14:54:17
2009
@@ -746,8 +746,8 @@
                 insr = new InputStreamReader(in, "UTF-8");
                 Manifest defaultManifest = new Manifest(insr);
                 Attribute createdBy = new Attribute("Created-By",
-                    System.getProperty("java.vm.version") + " ("
-                    + System.getProperty("java.vm.vendor") + ")");
+                    System.getProperty("java.runtime.version") + " ("
+                    + System.getProperty("java.runtime.vendor") + ")");
                 defaultManifest.getMainSection().storeAttribute(createdBy);
                 return defaultManifest;
             } catch (UnsupportedEncodingException e) {



Mime
View raw message