mbenson     2004/08/10 10:55:42

  Modified:    src/main/org/apache/tools/ant/types/optional/depend
                        DependScanner.java
               .        WHATSNEW
  Log:
  Allow DependScanner to use DirectoryScanner's basedir attribute.
  PR: 30558
  
  Revision  Changes    Path
  1.19      +0 -22     
ant/src/main/org/apache/tools/ant/types/optional/depend/DependScanner.java
  
  Index: DependScanner.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/types/optional/depend/DependScanner.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- DependScanner.java        9 Mar 2004 16:48:43 -0000       1.18
  +++ DependScanner.java        10 Aug 2004 17:55:41 -0000      1.19
  @@ -39,11 +39,6 @@
           = "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
        */
       private Vector rootClasses;
  @@ -70,23 +65,6 @@
       public DependScanner(DirectoryScanner parentScanner) {
           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.
  
  
  
  1.644     +3 -0      ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.643
  retrieving revision 1.644
  diff -u -r1.643 -r1.644
  --- WHATSNEW  3 Aug 2004 23:26:44 -0000       1.643
  +++ WHATSNEW  10 Aug 2004 17:55:41 -0000      1.644
  @@ -14,6 +14,9 @@
     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:
   --------------
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to