generator.setDatabase(database);
generator.setTarget(target);
generator.setGenerate(generate);
generator.setName(properties.containsKey("generator") ? properties.getProperty("generator") : null);
Configuration configuration = new Configuration();
configuration.setJdbc(jdbc);
configuration.setGenerator(generator);
if (args.length < 2) {
log.warn("WARNING: jooq-codegen source code generation using .properties files is deprecated as of jOOQ 2.0.4");
log.info(" Consider using XML configuration instead");
log.info(" See http://www.jooq.org/manual/META/Configuration/ for more details");