https://bz.apache.org/bugzilla/show_bug.cgi?id=66238
Bug ID: 66238
Summary: Recorder setLogLevel() is useless due to the parameter
type
Product: Ant
Version: 1.10.12
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
For setLogLevel() the current parameter type is VerbosityLevelChoices, which
just extends LogLevel, which has statics ERR/WARN/INFO/VERBOSE/DEBUG which are
of type LogLevel. These statics can't be used because they are the wrong type
for this method.
I think things work now with Ant XML because of the EnumeratedAttribute which
sets through a different API. I was trying to set this through a scriptdef
using the constants, which fails.
I think simply dumping VerbosityLevelChoices and changing setLogLevel() to take
LogLevel would be best.
--
You are receiving this mail because:
You are the assignee for the bug.