navtable/navtable — Issue #16: homogenize navtable prefereces folder
Author: amaneiro
Created: 2011-12-19 12:09:52+00:00
State: open

By fpuga: In NavtableExtension.java, initialize method we can find this code: String configDirStr; try { configDirStr = com.iver.andami.Launcher.getAppHomeDir() + "NavTable"; } catch (java.lang.NoSuchMethodError e) { configDirStr = System.getProperty("user.home") + File.separator + "gvSIG" + File.separator + "navTable"; } As you see in the catch we are using "navTable" but in the try we are using "NavTable". Also in Preferences.java the folder is retrieved in this way public static String getAliasDir() { return configDir.getAbsolutePath() + File.separator + "alias"; } uppercase can be problematic here. I'm not sure about the solution because change the name of the folder is going to let unneeded stuff in the user folder. Show some can of advise should be send to the users to delete this folder.