Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 98691 invoked from network); 15 Feb 2006 15:21:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Feb 2006 15:21:33 -0000 Received: (qmail 23062 invoked by uid 500); 15 Feb 2006 15:21:29 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 23005 invoked by uid 500); 15 Feb 2006 15:21:29 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 22963 invoked by uid 99); 15 Feb 2006 15:21:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2006 07:21:29 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.200.157] (HELO web30904.mail.mud.yahoo.com) (68.142.200.157) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 15 Feb 2006 07:21:28 -0800 Received: (qmail 10844 invoked by uid 60001); 15 Feb 2006 15:21:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=APWt2i05VAUggw2/Oq//XGQZroKLokOxotFvz6Iy6aJwT4U0C8KvXVwDc64h5oD0I6iWIVkQ6lilyBJ2/GPW4FOIEtvKCC2lYY/JV6RYWJF7cx5fwWCLWB4yOhO0j/KQNerztdjyjMLib+35oUdi8vujsL5sXcCl0k/lrqV8bP8= ; Message-ID: <20060215152107.10842.qmail@web30904.mail.mud.yahoo.com> Received: from [66.10.233.130] by web30904.mail.mud.yahoo.com via HTTP; Wed, 15 Feb 2006 07:21:07 PST Date: Wed, 15 Feb 2006 07:21:07 -0800 (PST) From: Matt Benson Subject: Re: svn commit: r377942 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java To: Ant Developers List In-Reply-To: <20060215052759.88615.qmail@minotaur.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Stefan, this one is a weird situation IMHO.... I'm not sure where Javadoc was complaining, but the way the tests were structured, they were looking at "src/etc/testcases/taskdefs/javadoc/java" as the source directory, while the test Java file there was in the package etc.testcases.taskdefs.javadoc.java, making its true source directory "src". Pulling package "*" from src/etc/testcases/taskdefs/javadoc/java was returning the java directory itself, aka "" and caused the Java file to be omitted in testPathelementPath. My temporary solution was to change the source directory to ${root}/src just to quiet "Gumpster." But this doesn't _really_ test the package "*" functionality; we may need to place an actual package structure beneath javadoc/java to (a) keep it self-contained and (b) test adequately. WDYT (all)? -Matt --- bodewig@apache.org wrote: > Author: bodewig > Date: Tue Feb 14 21:27:55 2006 > New Revision: 377942 > > URL: > http://svn.apache.org/viewcvs?rev=377942&view=rev > Log: > javadoc doesn't like the palckage name '', skip it > > Modified: > > ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java > > Modified: > ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java > URL: > http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java?rev=377942&r1=377941&r2=377942&view=diff > ============================================================================== > --- > ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java > (original) > +++ > ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java > Tue Feb 14 21:27:55 2006 > @@ -2136,12 +2136,20 @@ > }); > > if (files.length > 0) { > + if ("".equals(dirs[i])) { > + log(baseDir > + + " contains source > files in the default package," > + + " you must specify > them as source files" > + + " not packages.", > + Project.MSG_WARN); > + } else { > containsPackages = true; > String packageName = > > dirs[i].replace(File.separatorChar, '.'); > if > (!addedPackages.contains(packageName)) { > > addedPackages.addElement(packageName); > pn.addElement(packageName); > + } > } > } > } > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > dev-unsubscribe@ant.apache.org > For additional commands, e-mail: > dev-help@ant.apache.org > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org