[Arakhnę-Dev] [184] * On Unix, software' s configuration directory at user level are now stored in directory $HOME/. config/software_name

[ Thread Index | Date Index | More arakhne.org/dev Archives ]


Revision: 184
Author:   galland
Date:     2010-09-16 19:34:54 +0200 (Thu, 16 Sep 2010)
Log Message:
-----------
* On Unix, software's configuration directory at user level are now stored in directory $HOME/.config/software_name 

Modified Paths:
--------------
    trunk/arakhneVmutils/java/src/main/java/org/arakhne/vmutil/FileSystem.java

Modified: trunk/arakhneVmutils/java/src/main/java/org/arakhne/vmutil/FileSystem.java
===================================================================
--- trunk/arakhneVmutils/java/src/main/java/org/arakhne/vmutil/FileSystem.java	2010-09-15 17:41:23 UTC (rev 183)
+++ trunk/arakhneVmutils/java/src/main/java/org/arakhne/vmutil/FileSystem.java	2010-09-16 17:34:54 UTC (rev 184)
@@ -1092,7 +1092,7 @@
 			File userHome = getUserHomeDirectory();
 			OperatingSystem os = OperatingSystem.getCurrentOS();
 			if (os.isUnixCompliant()) {
-				return new File(userHome, "."+software); //$NON-NLS-1$
+				return new File(new File(userHome, ".config"), software); //$NON-NLS-1$
 			}
 			else if (os==OperatingSystem.WIN) {
 				String userName = System.getProperty("user.name"); //$NON-NLS-1$


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/