This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Change: The current ActionUtils.antIncludeList (FileObject[] files, FileObject dir) generates a recursive include list for directories. The API change introduces new ActionUtils.antIncludeList (FileObject[] files, FileObject dir, boolean recursive) which generates either recursive or non recursive include depending on the value of the recursive parameter. The old method is bridged into the new one. Use case: The compile single on the package should compile only the package (non recursive include) but the compile single on the folder (files view/tree view) should compile the subtree (recursive include). See: http://www.netbeans.org/issues/show_bug.cgi?id=51132 API Stability: Should be part of the stable API Both the old one and the new method are covered by test.
Created attachment 20736 [details] Diff file
I am going to integrate it tomorrow.
Checking in src/org/apache/tools/ant/module/api/support/ActionUtils.java; /cvs/ant/src/org/apache/tools/ant/module/api/support/ActionUtils.java,v <-- ActionUtils.java new revision: 1.10; previous revision: 1.9 done Checking in test/unit/src/org/apache/tools/ant/module/api/support/ActionUtilsTest.java; /cvs/ant/test/unit/src/org/apache/tools/ant/module/api/support/ActionUtilsTest.java,v <-- ActionUtilsTest.java new revision: 1.7; previous revision: 1.6 done
Checking in manifest.mf; /cvs/ant/manifest.mf,v <-- manifest.mf new revision: 1.74; previous revision: 1.73 done Checking in api/doc/changes/apichanges.xml; /cvs/ant/api/doc/changes/apichanges.xml,v <-- apichanges.xml new revision: 1.16; previous revision: 1.15 done Checking in src/org/apache/tools/ant/module/api/support/ActionUtils.java; /cvs/ant/src/org/apache/tools/ant/module/api/support/ActionUtils.java,v <-- ActionUtils.java new revision: 1.11; previous revision: 1.10 done
Verified.