Where to find the java files in new docker

Hi,

In previous versions i could edit the java files in docker manually.
For example FootFlagEncoder.java was in var/lib/docker/overlay2/xxx/diff/ors-core/openrouteservice/src/main/java/org/heigit/ors/routing/graphhopper/extensions/flagencoders/FootFlagEncoder.java

Now i can not find this files anymore.
Where are they now?
Is there a way to still edit them?

Hi @Tom,

this is where the FootFlagEncoder currently resides:
ors-engine/src/main/java/org/heigit/ors/routing/graphhopper/extensions/flagencoders/FootFlagEncoder.java

However, i’m not sure if you can still just change the file, as docker is now also running with a prebuilt .jar file inside the container:

you might have to edit the source and build your own image, or run the build related commands from the dockerfile again within the container after making edits.

Best regards

Thank you for the fast answer.
But I have no idea how to build my own image or how to integrate the related commands.
Can you give me a hint how to do?

Hi @Tom,

check out the openrouteservice repository and our backend documentation.

You need to clone the source code before using git.
If you edit the relevant files before building the image, you should be able to get the result you want.

Best regards