Repository navigation
Dropwizardify - really now - #1314
Conversation
Signed-off-by: Michael Zilske <[email protected]>
Signed-off-by: Michael Zilske <[email protected]>
Signed-off-by: Michael Zilske <[email protected]> # Conflicts: # core/src/main/java/com/graphhopper/util/CmdArgs.java # web/src/main/java/com/graphhopper/http/SimpleRouteSerializer.java
Signed-off-by: Michael Zilske <[email protected]> # Conflicts: # config-example.properties # reader-gtfs/src/main/java/com/graphhopper/reader/gtfs/TripFromLabel.java
Signed-off-by: Michael Zilske <[email protected]>
Signed-off-by: Michael Zilske <[email protected]>
Signed-off-by: Michael Zilske <[email protected]>
|
Fixed some more issues. The only remaining issue is "Class path contains multiple SLF4J bindings" but we can also merge first and fix later. WDYT @michaz ? Would you mind to update to master? |
| // This currently needs to happen as the last step, since we cannot add new nodes after this step. | ||
| // This means that disconnected parts of the transit network are removed as well. | ||
| // If we don't want that, we need to think of something. | ||
| new PrepareRoutingSubnetworks(graphHopperStorage, Collections.singletonList(ptFlagEncoder)).doWork(); |
|
I used to have different run configurations in IntelliJ were I was passing graphhopper properties as program arguments, like datareader.file etc., now I need to have these in config.yml, right ? I would at least find it useful to have some kind of naming pattern or dedicated folder in .gitignore where I can put different config.yml files if it needs to be done this way, or what is your approach for this ? For example I want to run GraphHopperApplication from the IDE for debugging with certain program arguments, but to support different settings I need multiple config.yml files ? |
|
Yes, the idea is that those are your run configurations. I'd suggest git-ignoring those files locally -- we shouldn't assume a user doesn't want to commit a configuration. |
|
Ok, but then we should remove config.yml from .gitignore ? Line 8 in 2c10f76 |
|
hmm no nevermind, in this case it would be too likely that one accidentally pushes some custom config I guess |
I agree. Reason: Git is distributed -- what the user is commiting to might just as well be (and in my case often is) their own project repository where they commit their configuration to. |
|
Actually, I would go one step further, rename |
|
I don't think I have a strong opinion here, but why not. Only thing is that it should be documented well |
|
I have it working with just one config.yml like before and e.g. the following VM options: |
|
Regarding the .gitignore there is also this possibility: https://stackoverflow.com/q/7335420/194609 Not sure if this applies in your case. If not, we can surely find another solution like the And yes, a migration guide should be written. |
|
Ok using the VM options works (and overwrites the settings from config.yml). The link you posted is the global version of using |
additionally to -Dgraphhopper allow -Dgh (or only allow the latter?)no, we use the graphhopper.sh script for shorter and commonly used parameters