Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 13701 invoked from network); 5 Oct 2009 15:29:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Oct 2009 15:29:30 -0000 Received: (qmail 6425 invoked by uid 500); 5 Oct 2009 15:29:30 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 6385 invoked by uid 500); 5 Oct 2009 15:29:30 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 6374 invoked by uid 99); 5 Oct 2009 15:29:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 15:29:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 15:29:27 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 419DC23888E9; Mon, 5 Oct 2009 15:28:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r821845 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java Date: Mon, 05 Oct 2009 15:28:36 -0000 To: notifications@ant.apache.org From: bodewig@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091005152836.419DC23888E9@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: bodewig Date: Mon Oct 5 15:28:35 2009 New Revision: 821845 URL: http://svn.apache.org/viewvc?rev=821845&view=rev Log: provide project instance to internally created types 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/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java?rev=821845&r1=821844&r2=821845&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 Mon Oct 5 15:28:35 2009 @@ -2329,6 +2329,7 @@ // and nested excludepackage elements if (sourcePath != null) { PatternSet ps = new PatternSet(); + ps.setProject(getProject()); if (packageNames.size() > 0) { Enumeration e = packageNames.elements(); while (e.hasMoreElements()) { @@ -2359,6 +2360,7 @@ File dir = new File(pathElements[i]); if (dir.isDirectory()) { DirSet ds = new DirSet(); + ds.setProject(getProject()); ds.setDefaultexcludes(useDefaultExcludes); ds.setDir(dir); ds.createPatternSet().addConfiguredPatternset(ps);