* remove db2, sqlserver and sybase files and reference

* added silent setup support, run setup without x11
This commit is contained in:
Heng Sin Low 2007-01-14 18:44:07 +00:00
parent f9421c0cc8
commit dc775f37bf
1 changed files with 23 additions and 2 deletions

View File

@ -262,8 +262,9 @@ public final class Ini implements Serializable
{ {
log.config(filename); log.config(filename);
firstTime = true; firstTime = true;
if (!IniDialog.accept()) if (isShowLicenseDialog())
System.exit(-1); if (!IniDialog.accept())
System.exit(-1);
} }
// Check/set properties defaults // Check/set properties defaults
@ -474,6 +475,8 @@ public final class Ini implements Serializable
private static boolean s_client = true; private static boolean s_client = true;
/** IsClient Internal marker */ /** IsClient Internal marker */
private static boolean s_loaded = false; private static boolean s_loaded = false;
/** Show license dialog for first time **/
private static boolean s_license_dialog = true;
/** /**
* Are we in Client Mode ? * Are we in Client Mode ?
@ -493,6 +496,24 @@ public final class Ini implements Serializable
s_client = client; s_client = client;
} // setClient } // setClient
/**
* Set show license dialog for new setup
* @param b
*/
public static void setShowLicenseDialog(boolean b)
{
s_license_dialog = b;
}
/**
* Is show license dialog for new setup
* @return boolean
*/
public static boolean isShowLicenseDialog()
{
return s_license_dialog;
}
/** /**
* Are the properties loaded? * Are the properties loaded?
* @return true if properties loaded. * @return true if properties loaded.