ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ara Abrahamian" <ara_...@yahoo.com>
Subject RE: javadoc changes: have they broken xdoclet?
Date Tue, 30 Apr 2002 15:22:24 GMT
Stefan, I believe it's safer to use the last official release (1.1.2)
than the cvs one, we're right in the middle of a big refactoring and
moving to a whole new architecture for modules/etc.

Ara.

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Tuesday, April 30, 2002 2:25 PM
> To: ant-dev@jakarta.apache.org
> Subject: Re: javadoc changes: have they broken xdoclet?
> 
> On Tue, 30 Apr 2002, Erik Hatcher <jakarta-ant@ehatchersolutions.com>
> wrote:
> 
> > We anxiously await your patch!  :)
> 
> Trivial:
> 
> Index: src/main/org/apache/tools/ant/taskdefs/Javadoc.java
> ===================================================================
> RCS file: /home/cvs/jakarta-
> ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java,v
> retrieving revision 1.95
> diff -u -r1.95 Javadoc.java
> --- src/main/org/apache/tools/ant/taskdefs/Javadoc.java	26 Apr
2002
> 16:06:52 -00
> 00	1.95
> +++ src/main/org/apache/tools/ant/taskdefs/Javadoc.java	30 Apr
2002
> 09:53:50 -0000
> @@ -1794,7 +1794,7 @@
>          // taken from packagenames attribute and nested package
>          // elements and excludes taken from excludepackages attribute
>          // and nested excludepackage elements
> -        if (sourcePath != null) {
> +        if (sourcePath != null && packageNames.size() > 0) {
>              PatternSet ps = new PatternSet();
>              Enumeration enum = packageNames.elements();
>              while (enum.hasMoreElements()) {
> @@ -1859,6 +1859,9 @@
>              }
>              if (containsPackages) {
>                  sp.createPathElement().setLocation(baseDir);
> +            } else {
> +                log(baseDir + " doesn\'t contain any packages,
dropping
> it.",
> +                    Project.MSG_VERBOSE);
>              }
>          }
>      }
> 
> --
> To unsubscribe, e-mail:
<mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:ant-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message