Project

General

Profile

« Previous | Next » 

Revision be8387e3

Added by Niels Hoffmann over 15 years ago

View differences:

cdmlib-commons/src/main/java/eu/etaxonomy/cdm/common/AccountStore.java
22 22
public class AccountStore {
23 23
	private static Logger logger = Logger.getLogger(AccountStore.class);
24 24
	
25
	// getting the home directory is platform dependent.
26
	final static String userprofile = System.getenv("USERPROFILE") != null ? System.getenv("USERPROFILE") : System.getenv("HOME");
25
	final static String userprofile = System.getProperty("user.home"); 
27 26
	
28 27
	public final static File accountsFile = new File(userprofile + File.separator + ".cdmLibrary" + File.separator + ".dbaccounts.properties");
29 28
	

Also available in: Unified diff