if(log4jconfigFile == null) { try { log4jconfigFile = File.createTempFile("log4j", "config.properties"); URL log4jurl = this.getClass().getClassLoader().getResource("cobertura-plugin/log4j-debug.properties"); FileUtils.copyURLToFile(log4jurl, log4jconfigFile); } catch ( IOException e ) { log4jconfigFile = null; } }
    public AbstractTask( String taskClassname )    {        this.taskClass = taskClassname;        this.cmdLineArgs = new CommandLineArguments();        this.maxmem = "64m";                if(log4jconfigFile == null) {            try            {                log4jconfigFile = File.createTempFile("log4j", "config.properties");                URL log4jurl = this.getClass().getClassLoader().getResource("cobertura-plugin/log4j-debug.properties");                FileUtils.copyURLToFile(log4jurl, log4jconfigFile);            }            catch ( IOException e )            {                log4jconfigFile = null;            }        }    }