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 Main.java
Date Fri, 16 Mar 2001 14:27:14 GMT
glennm      01/03/16 06:27:14

  Modified:    src/main/org/apache/tools/ant Main.java
  Log:
  Fixed bug when displaying default target with
  a description.
  
  Reported by:	Hans Ulrich Neidermann
  
  Revision  Changes    Path
  1.33      +1 -0      jakarta-ant/src/main/org/apache/tools/ant/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Main.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- Main.java	2001/03/05 14:52:23	1.32
  +++ Main.java	2001/03/16 14:27:12	1.33
  @@ -575,6 +575,7 @@
   
               int indexOfDefDesc = topNames.indexOf(defaultTarget);
               if (indexOfDefDesc >= 0) {
  +                defaultDesc = new Vector();
                   defaultDesc.addElement(topDescriptions.elementAt(indexOfDefDesc));
               }
               printTargets(defaultName, defaultDesc, "Default target:", maxLength);
  
  
  

Mime
View raw message