Browse Source

filterset used by filtertask doesn't respect loglevel

PR:  27568
Obtained from: Marcel Schutte


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276250 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 21 years ago
parent
commit
e4209b284c
3 changed files with 9 additions and 2 deletions
  1. +2
    -2
      CONTRIBUTORS
  2. +2
    -0
      WHATSNEW
  3. +5
    -0
      src/main/org/apache/tools/ant/Project.java

+ 2
- 2
CONTRIBUTORS View File

@@ -103,6 +103,7 @@ lucas
Ludovic Claude Ludovic Claude
Magesh Umasankar Magesh Umasankar
Maneesh Sahu Maneesh Sahu
Marcel Schutte
Marcus Börger Marcus Börger
Mariusz Nowostawski Mariusz Nowostawski
Martijn Kruithof Martijn Kruithof
@@ -161,8 +162,7 @@ Scott Carlson
Sean Egan Sean Egan
Sean P. Kane Sean P. Kane
Shiraz Kanga Shiraz Kanga
skanthak
slo
Sebastian Kantha
Stefan Bodewig Stefan Bodewig
Stefano Mazzocchi Stefano Mazzocchi
Stephane Bailliez Stephane Bailliez


+ 2
- 0
WHATSNEW View File

@@ -90,6 +90,8 @@ Fixed bugs:
* -projecthelp swallowed (configuration) errors silently. * -projecthelp swallowed (configuration) errors silently.
Bugzilla report 27732. Bugzilla report 27732.


* filterset used by filtertask doesn't respect loglevel. Bugzilla Report 27568.

Other changes: Other changes:
-------------- --------------




+ 5
- 0
src/main/org/apache/tools/ant/Project.java View File

@@ -137,6 +137,11 @@ public class Project {
private Hashtable targets = new Hashtable(); private Hashtable targets = new Hashtable();
/** Set of global filters. */ /** Set of global filters. */
private FilterSet globalFilterSet = new FilterSet(); private FilterSet globalFilterSet = new FilterSet();
{
// Initialize the globalFileSet's project
globalFilterSet.setProject(this);
}

/** /**
* Wrapper around globalFilterSet. This collection only ever * Wrapper around globalFilterSet. This collection only ever
* contains one FilterSet, but the wrapper is needed in order to * contains one FilterSet, but the wrapper is needed in order to


Loading…
Cancel
Save