Examples of StartSettings


Examples of org.projectforge.webserver.StartSettings

  public static void main(final String[] args) throws Exception
  {
    // Please don't forget to add your Postgresql driver, such as postgresql-9.0-802.jdbc3.jar
    // Open Run/Debug configurations dialog (Eclipse context menu of this class) and add external jar to classpath.
    final StartSettings settings = new StartSettings(DatabaseDialect.PostgreSQL, BASE_DIR);
    settings.setJdbcUser(JDBC_USER);
    settings.setSchemaUpdate(SCHEMA_UPDATE);
    //settings.setUsingCookies(false);
    settings.setDevelopment(DEVELOPMENT_MODE);
    settings.setLaunchBrowserAfterStartup(true);
    // Set the url of ProjectForge's storage web server:
    System.setProperty(StorageConstants.SYSTEM_PROPERTY_URL, "http://localhost:8081/");
    final StartHelper startHelper = new StartHelper(settings);
    startHelper.start();
  }
View Full Code Here

Examples of org.projectforge.webserver.StartSettings

  private static final String BASE_DIR = System.getProperty("user.dir") + "/testsystem/";

  public static void main(final String[] args) throws Exception
  {
    final StartSettings settings = new StartSettings(DatabaseDialect.HSQL, BASE_DIR);
    settings.setSchemaUpdate(SCHEMA_UPDATE);
    settings.setLaunchBrowserAfterStartup(true);
    // Set the url of ProjectForge's storage web server:
    System.setProperty(StorageConstants.SYSTEM_PROPERTY_URL, "http://localhost:8081/");
    final StartHelper startHelper = new StartHelper(settings);
    startHelper.start();
  }
View Full Code Here

Examples of org.projectforge.webserver.StartSettings

  public static void main(final String[] args) throws Exception
  {
    // Please don't forget to add your Postgresql driver, such as postgresql-8.3-603.jdbc3.jar
    // Open Run/Debug configurations dialog (Eclipse context menu of this class) and add external jar to classpath.
    final StartSettings settings = new StartSettings(DatabaseDialect.PostgreSQL, BASE_DIR);
    settings.setJdbcUser(JDBC_USER);
    settings.setSchemaUpdate(SCHEMA_UPDATE);
    settings.setLaunchBrowserAfterStartup(true);
    final StartHelper startHelper = new StartHelper(settings);
    startHelper.start();
  }
View Full Code Here

Examples of org.projectforge.webserver.StartSettings

  private static final String BASE_DIR = System.getProperty("user.dir") + "/testsystem/";

  public static void main(final String[] args) throws Exception
  {
    final StartSettings settings = new StartSettings(DatabaseDialect.HSQL, BASE_DIR);
    settings.setSchemaUpdate(SCHEMA_UPDATE);
    settings.setLaunchBrowserAfterStartup(true);
    final StartHelper startHelper = new StartHelper(settings);
    startHelper.start();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.