- Added display of AdempiereProperties in Preference window's info tab.
This commit is contained in:
Heng Sin Low 2007-07-25 14:06:48 +00:00
parent 4b2f7a14ac
commit 5b04edd286
1 changed files with 10 additions and 0 deletions

View File

@ -207,6 +207,9 @@ public final class Ini implements Serializable
/** Container for Properties */ /** Container for Properties */
private static Properties s_prop = new Properties(); private static Properties s_prop = new Properties();
private static String s_propertyFileName = null;
/** Logger */ /** Logger */
private static Logger log = Logger.getLogger(Ini.class.getName()); private static Logger log = Logger.getLogger(Ini.class.getName());
@ -311,6 +314,8 @@ public final class Ini implements Serializable
saveProperties(true); saveProperties(true);
s_loaded = true; s_loaded = true;
log.info(filename + " #" + s_prop.size()); log.info(filename + " #" + s_prop.size());
s_propertyFileName = filename;
return firstTime; return firstTime;
} // loadProperties } // loadProperties
@ -780,4 +785,9 @@ public final class Ini implements Serializable
{ {
return isPropertyBool(P_SERVER_VALIDATE_SECURITY_TOKEN); return isPropertyBool(P_SERVER_VALIDATE_SECURITY_TOKEN);
} }
public static String getPropertyFileName()
{
return s_propertyFileName;
}
} // Ini } // Ini