Skip to content

Commit

Permalink
add script to run old graph builder, update usage message and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
abyrd committed Oct 9, 2013
1 parent 4d8b3d8 commit 8b13723
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build-old
@@ -0,0 +1,4 @@
#!/bin/bash

# run the older Spring-assembled graph builder
java -Xmx4G -classpath otp-core/target/otp.jar org.opentripplanner.graph_builder.GraphBuilderMain $1
4 changes: 4 additions & 0 deletions otp
@@ -1,2 +1,6 @@
#!/bin/bash

# Run OTP in standalone mode with the supplied arguments.
# Standalone OTP can build a graph, visualize a graph, run an OTP API server,
# or any combination of these.
java -Xmx6G -jar otp-core/target/otp.jar "$@"
Expand Up @@ -39,7 +39,7 @@ public class GraphBuilderMain {
public static void main(String[] args) throws IOException {

if (args.length == 0) {
System.err.println("usage: config.xml");
System.err.println("usage:\njava [-Xmx<heapsize>] -classpath otp-core/target/otp.jar org.opentripplanner.graph_builder.GraphBuilderMain <config.xml>");
System.exit(-1);
}

Expand Down

0 comments on commit 8b13723

Please sign in to comment.