public static void main( String[] strArgs ) throws Exception
{
try
{
Args args = new Args( strArgs );
//
// 1. ARGUMENT HANDLING
//
System.setProperty( "org.neo4j.webadmin.developmentmode",
args.get( "development", "false" ) );
System.setProperty( "org.neo4j.graphdb.location",
args.get( "dbPath", "neo4j-rest-db" ) );
System.setProperty( "org.neo4j.webadmin.rrdb.location",
args.get( "rrdbPath", "neo4j-rrdb" ) );
int restPort = args.getNumber( "restPort",
WebServerFactory.DEFAULT_PORT ).intValue();
int adminPort = args.getNumber( "adminPort",
AdminServer.DEFAULT_PORT ).intValue();
String db_location = System.getProperty( "org.neo4j.graphdb.location");
System.out.println("graphdb-location: " + db_location);
String webRoot = args.get( "webRoot",
AdminServer.DEFAULT_STATIC_PATH );
//
// 2. START SERVERS
//