Browse Source

Allow DependScanner to use DirectoryScanner's basedir attribute.

PR: 30558


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276763 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 21 years ago
parent
commit
aacbb8e340
2 changed files with 3 additions and 22 deletions
  1. +3
    -0
      WHATSNEW
  2. +0
    -22
      src/main/org/apache/tools/ant/types/optional/depend/DependScanner.java

+ 3
- 0
WHATSNEW View File

@@ -14,6 +14,9 @@ Fixed bugs:
variable when logged into workstations using Novell authentication.
Bugzilla Report 30366.

* DependScanner.getResource() always returned nonexistent resources,
even when the resource actually existed. Bugzilla Report 30558.

Other changes:
--------------



+ 0
- 22
src/main/org/apache/tools/ant/types/optional/depend/DependScanner.java View File

@@ -38,11 +38,6 @@ public class DependScanner extends DirectoryScanner {
public static final String DEFAULT_ANALYZER_CLASS
= "org.apache.tools.ant.util.depend.bcel.FullAnalyzer";

/**
* The base directory for the scan
*/
private File basedir;

/**
* The root classes to drive the search for dependent classes
*/
@@ -71,23 +66,6 @@ public class DependScanner extends DirectoryScanner {
this.parentScanner = parentScanner;
}

/**
* Sets the basedir for scanning. This is the directory that is scanned
* recursively.
*
* @param basedir the basedir for scanning
*/
public void setBasedir(File basedir) {
this.basedir = basedir;
}

/**
* Gets the basedir that is used for scanning.
*
* @return the basedir that is used for scanning
*/
public File getBasedir() { return basedir; }

/**
* Sets the root classes to be used to drive the scan.
*


Loading…
Cancel
Save