set all properties by calling initProperties(). System props were missing.

git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@449787 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Matthew Jason Benson 2006-09-25 19:40:23 +00:00
parent 3256d9412f
commit a05d5ff22d
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ public class AntUnit extends Task {
private Project createProjectForFile(File f) {
Project p = new Project();
p.setDefaultInputStream(getProject().getDefaultInputStream());
p.setJavaVersionProperty();
p.initProperties();
p.setInputHandler(getProject().getInputHandler());
getProject().initSubProject(p);
for (Iterator outer = propertySets.iterator(); outer.hasNext(); ) {