ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gle...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Javadoc.java
Date Mon, 22 Jan 2001 17:05:37 GMT
glennm      01/01/22 09:05:37

  Modified:    src/main/org/apache/tools/ant/taskdefs Javadoc.java
  Log:
  Hack to ignore CVS directories.
  
  Revision  Changes    Path
  1.41      +4 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
  
  Index: Javadoc.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- Javadoc.java	2001/01/19 13:27:00	1.40
  +++ Javadoc.java	2001/01/22 17:05:35	1.41
  @@ -765,7 +765,10 @@
           log("Packages = " + packages, Project.MSG_VERBOSE);
   
           Vector addedPackages = new Vector();
  +
           String[] list = sourcePath.list();
  +        if (list == null) list = new String[0];
  +
           for (int j=0; j<list.length; j++) {
               File source = project.resolveFile(list[j]);
               Vector foundPackages = findPackages(source);
  @@ -860,6 +863,7 @@
                   }
                   File d = new File(dir1, name);
                   if (d.isDirectory() 
  +                    && !name.equals("CVS")	// hack to ignore CVS directories
                       && d.getName().indexOf("-") == -1) {
                           return true;
                       }
  
  
  

Mime
View raw message