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();
}