ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r821845 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
Date Mon, 05 Oct 2009 15:28:36 GMT
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);



Mime
View raw message