Package org.apache.empire.db.codegen

Examples of org.apache.empire.db.codegen.CodeGenConfig


  public void execute() throws MojoExecutionException
  {
   
    setupLogging();
   
    CodeGenConfig config = new CodeGenConfig();
    if(configFile != null)
    {
      getLog().info("Loading configuration file: " + configFile);
      config.init(configFile.getAbsolutePath());
    }
    else
    {
      config.setJdbcURL(jdbcURL);
      config.setJdbcClass(jdbcClass);
      config.setJdbcUser(jdbcUser);
      config.setJdbcPwd(jdbcPwd);
      config.setTargetFolder(targetDirectory.getAbsolutePath());
      config.setTemplateFolder(templateDirectory);
      config.setPackageName(packageName);
    }
   
    //config.setExceptionsEnabled(true);
   
    getLog().info("Generating code for " + jdbcURL + " ...");
View Full Code Here


  public void execute() throws MojoExecutionException
  {
   
    setupLogging();
   
    CodeGenConfig config = new CodeGenConfig();
    if(configFile != null)
    {
      getLog().info("Loading configuration file: " + configFile);
      config.init(configFile.getAbsolutePath());
    }
    else
    {
      config.setJdbcURL(jdbcURL);
      config.setJdbcClass(jdbcClass);
      config.setJdbcUser(jdbcUser);
      config.setJdbcPwd(jdbcPwd);
      config.setTargetFolder(targetDirectory.getAbsolutePath());
      config.setTemplateFolder(templateDirectory);
      config.setPackageName(packageName);
    }
   
    //config.setExceptionsEnabled(true);
   
    getLog().info("Generating code for " + jdbcURL + " ...");
View Full Code Here

TOP

Related Classes of org.apache.empire.db.codegen.CodeGenConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.