First of all thank you for your contributions to this opensource software - the quick introduction allowed me to test it successfully pretty quickly.
When I started modifying the code and rebuilding, I got into trouble.
The only change I did was to OpenStreetMapGraphBuilderImpl.java to enable staticBikeRental to true, in order to use OSM static data. In the POM file I set the version to 0.13.0. I committed the changes locally.
I built opentripplanner from eclipse which resulted in otp-0.13.0.jar. Using this jar I generate the Graph.obj file. Using the same jar I launch the application under cygwin(so that the path /var/otp/graphs makes sense) and have the below error:
$ /cygdrive/c/runtime/jdk1.7.0_21/bin/java -Dlog4j.debug -Duser.country=FR -Duser.language=fr -Xmx1G -jar otp-0.13.0.jar --server
10:51:15.420 INFO (GraphScanner.java:83) Attempting to automatically register routerIds []
10:51:15.424 INFO (GraphScanner.java:84) Graph files will be sought in paths relative to \var\otp\graphs
10:51:15.426 INFO (GraphService.java:176) Registering new router ''
10:51:15.428 INFO (InputStreamGraphSource.java:223) Loading graph...
10:51:15.447 INFO (MavenVersion.java:53) Parsed Maven artifact version: 0.13.0 => MavenVersion(0, 13, 0, , 34cc72e16ec48bd1be161255b4232d1d5aac3169) UID=13000
10:51:16.462 INFO (Graph.java:714) Graph version: MavenVersion(0, 13, 0, , b41c113b7adf680b28d753068bab86432a0c9f56)
10:51:16.462 INFO (Graph.java:715) OTP version: MavenVersion(0, 13, 0, , 34cc72e16ec48bd1be161255b4232d1d5aac3169)
10:51:16.463 ERROR (Graph.java:726) Commit mismatch in non-SNAPSHOT version. This implies a problem with the build or release process.
10:51:16.463 ERROR (InputStreamGraphSource.java:228) Exception while loading graph ''.
java.lang.RuntimeException: Graph version mismatch detected.
at org.opentripplanner.routing.graph.Graph.load(Graph.java:670)
at org.opentripplanner.routing.impl.InputStreamGraphSource.loadGraph(InputStreamGraphSource.java:225)
at org.opentripplanner.routing.impl.InputStreamGraphSource.reload(InputStreamGraphSource.java:146)
at org.opentripplanner.routing.services.GraphService.registerGraph(GraphService.java:186)
at org.opentripplanner.routing.impl.GraphScanner.startup(GraphScanner.java:88)
at org.opentripplanner.standalone.OTPConfigurator.makeGraphService(OTPConfigurator.java:122)
at org.opentripplanner.standalone.OTPConfigurator.getGraphService(OTPConfigurator.java:129)
at org.opentripplanner.standalone.OTPConfigurator.getServer(OTPConfigurator.java:87)
at org.opentripplanner.standalone.OTPConfigurator.serverFromParameters(OTPConfigurator.java:251)
at org.opentripplanner.standalone.OTPMain.main(OTPMain.java:84)
10:51:16.465 WARN (InputStreamGraphSource.java:156) Unable to load data for router ''.
10:51:16.466 WARN (GraphService.java:188) Can't register router ID '', no graph.
I tried debugging from Eclipse and from what I can see, the Graph.obj is written with the proper maven.version data; when it's read, however, it has another version ... (still investigating)
Any suggestions will be much appreciated.
Thank you.