Browse Source

Fix bug in Ant where the system properties would not be placed into new Project when inheritall=false. (This was due to confusion between variable naming).

Submitted by: Jason Brittain <jasonb@collab.net>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269695 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
1a3c586744
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      lib/optional/.cvsignore
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Ant.java

+ 1
- 0
lib/optional/.cvsignore View File

@@ -1 +1,2 @@
jdepend*.jar
s*.jar

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

@@ -169,7 +169,7 @@ public class Ant extends Task {

// set Java built-in properties separately,
// b/c we won't inherit them.
project.setSystemProperties();
p1.setSystemProperties();
}
e = prop1.keys();


Loading…
Cancel
Save