Hi Martin, yes, that is intentional. The idea is to give users a simple way to turn on logging/debug, hence the logging for the Ant tasks can be configured via a property. This means that logging needs to be setup'd in code (instead of a log4j properties file or something similar), and since there is no way to do that via commons-logging, I had to hardcode log4j for the Ant tasks. I don't see this as a problem though since all Ant tasks are small wrappers around core functions, so there is no need to use the Ant tasks themselves from within code.
cheers, Tom On 3/24/07, Martin van den Bemt <[EMAIL PROTECTED]> wrote:
Was the log4j compile time dependency in DatabaseTaskbase intentional or accidental ? All the rest of the code doesn't use log4j directly. Mvgr, Martin