From 61f932cc65592e158882fe1bca69ec9b7adcb82b Mon Sep 17 00:00:00 2001 From: Le Botlan Didier Date: Tue, 28 Mar 2023 17:27:46 +0200 Subject: [PATCH] Fixed /mnt/commetud (instead of /home/commetud) --- .../src/main/java/org/insa/graphs/gui/simple/Launch.java | 4 ++-- .../src/main/java/org/insa/graphs/gui/utils/FileUtils.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/be-graphes-gui/src/main/java/org/insa/graphs/gui/simple/Launch.java b/be-graphes-gui/src/main/java/org/insa/graphs/gui/simple/Launch.java index 7be58b3..0bc0a56 100644 --- a/be-graphes-gui/src/main/java/org/insa/graphs/gui/simple/Launch.java +++ b/be-graphes-gui/src/main/java/org/insa/graphs/gui/simple/Launch.java @@ -46,8 +46,8 @@ 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/commetud/3eme Annee MIC/Graphes-et-Algorithmes/Maps/insa.mapgr"; - final String pathName = "/home/commetud/3eme Annee MIC/Graphes-et-Algorithmes/Paths/path_fr31insa_rangueil_r2.path"; + final String mapName = "/mnt/commetud/3eme Annee MIC/Graphes-et-Algorithmes/Maps/insa.mapgr"; + final String pathName = "/mnt/commetud/3eme Annee MIC/Graphes-et-Algorithmes/Paths/path_fr31insa_rangueil_r2.path"; // Create a graph reader. final GraphReader reader = new BinaryGraphReader( diff --git a/be-graphes-gui/src/main/java/org/insa/graphs/gui/utils/FileUtils.java b/be-graphes-gui/src/main/java/org/insa/graphs/gui/utils/FileUtils.java index 301cfc9..6460daf 100644 --- a/be-graphes-gui/src/main/java/org/insa/graphs/gui/utils/FileUtils.java +++ b/be-graphes-gui/src/main/java/org/insa/graphs/gui/utils/FileUtils.java @@ -59,9 +59,9 @@ public class FileUtils { static { // Populate folderToEntry folderToEntry.put(FolderType.Map, new PreferencesEntry("DefaultMapFolder", - "/home/commetud/3eme Annee MIC/Graphes-et-Algorithmes/Maps")); + "/mnt/commetud/3eme Annee MIC/Graphes-et-Algorithmes/Maps")); folderToEntry.put(FolderType.PathInput, new PreferencesEntry("DefaultPathInputFolder", - "/home/commetud/3eme Annee MIC/Graphes-et-Algorithmes/Paths")); + "/mnt/commetud/3eme Annee MIC/Graphes-et-Algorithmes/Paths")); folderToEntry.put(FolderType.PathOutput, new PreferencesEntry("DefaultPathOutputsFolder", "paths"));