fix(launch): use relative file paths

This commit is contained in:
Paul Alnet 2024-04-05 08:28:58 +02:00
parent c68a969b91
commit e45e83dc69

View file

@ -47,8 +47,9 @@ public class Launch {
public static void main(String[] args) throws Exception {
// Visit these directory to see the list of available files on Commetud.
final String mapName = "/home/clem/Documents/Git/BE_Graphes/Maps/insa.mapgr";
final String pathName = "/home/clem/Documents/Git/BE_Graphes/Paths/path_fr31insa_rangueil_r2.path";
// When running with VSC, paths are relative to the BE_Graphes directory.
final String mapName = "./Maps/insa.mapgr";
final String pathName = "./Paths/path_fr31insa_rangueil_r2.path";
// Create a graph reader.
final GraphReader reader = new BinaryGraphReader(