Browse Source

some ws

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@437807 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 19 years ago
parent
commit
93184f4f7a
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/main/org/apache/tools/ant/taskdefs/Ant.java

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

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2005 The Apache Software Foundation
* Copyright 2000-2006 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -287,7 +287,7 @@ public class Ant extends Task {
reinit();
}

if ((dir == null) && (inheritAll)) {
if (dir == null && inheritAll) {
dir = getProject().getBaseDir();
}

@@ -297,7 +297,7 @@ public class Ant extends Task {
newProject.setBaseDir(dir);
if (savedDir != null) {
// has been set explicitly
newProject.setInheritedProperty(MagicNames.PROJECT_BASEDIR ,
newProject.setInheritedProperty(MagicNames.PROJECT_BASEDIR,
dir.getAbsolutePath());
}
} else {


Loading…
Cancel
Save