ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Javadoc.java
Date Mon, 17 Jul 2000 07:11:44 GMT
bodewig     00/07/17 00:11:43

  Modified:    src/main/org/apache/tools/ant/taskdefs Javadoc.java
  Log:
  Correctly detect missing arguments to Javadoc.
  Submitted by:	 Peter Donald <donaldp@mad.scientist.com>
  
  Revision  Changes    Path
  1.18      +1 -1      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.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- Javadoc.java	2000/07/14 15:02:33	1.17
  +++ Javadoc.java	2000/07/17 07:11:42	1.18
  @@ -448,7 +448,7 @@
       }
   
       public void execute() throws BuildException {
  -        if (sourcePath == null && destDir == null ) {
  +        if (sourcePath == null || destDir == null ) {
               String msg = "sourcePath and destDir attributes must be set!";
               throw new BuildException(msg);
           }
  
  
  

Mime
View raw message