Browse Source

oops, didn't mean to replace the vendor property

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@801248 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 16 years ago
parent
commit
9a03f04312
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Manifest.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Manifest.java View File

@@ -747,7 +747,7 @@ public class Manifest {
Manifest defaultManifest = new Manifest(insr); Manifest defaultManifest = new Manifest(insr);
Attribute createdBy = new Attribute("Created-By", Attribute createdBy = new Attribute("Created-By",
System.getProperty("java.runtime.version") + " (" System.getProperty("java.runtime.version") + " ("
+ System.getProperty("java.runtime.vendor") + ")");
+ System.getProperty("java.vm.vendor") + ")");
defaultManifest.getMainSection().storeAttribute(createdBy); defaultManifest.getMainSection().storeAttribute(createdBy);
return defaultManifest; return defaultManifest;
} catch (UnsupportedEncodingException e) { } catch (UnsupportedEncodingException e) {


Loading…
Cancel
Save