- Timestamp:
- 2005-10-31T12:18:08+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ant-install-branch/gsdl3/src/java/org/greenstone/admin/GAI.java
r9968 r10792 25 25 *######################################################################## 26 26 */ 27 28 27 // Graphical Adminstration Interface 29 28 package org.greenstone.admin; … … 41 40 import org.greenstone.admin.GAIManager; 42 41 import org.greenstone.core.Configuration; 42 import org.greenstone.core.Dictionary; 43 43 import org.greenstone.admin.gui.SetServerPane; 44 44 … … 58 58 public static String admin_path; 59 59 public static String tomcat_file_path; 60 public static String images_path; 60 61 public static File build_file; 62 public static File site_conf; 63 public static File interface_conf; 61 64 /** A public reference to the GAIManager. */ 62 65 static public GAIManager ga_man; … … 67 70 this.admin_path = this.gsdl3_path + "/src/java/org/greenstone/admin/"; 68 71 this.tomcat_file_path = this.gsdl3_path + "/comms/jakarta/tomcat/logs/"; 72 this.images_path = this.admin_path + "images/"; 69 73 this.build_file = new File(gsdl3_path, "build.properties"); 74 this.site_conf = new File (gsdl3_path,"/web/sites/localsite/siteConfig.xml"); 75 this.interface_conf = new File (gsdl3_path, "/web/interfaces/default/interfaceConfig.xml"); 76 init(); 70 77 } 71 78 … … 75 82 new Configuration (admin_path); 76 83 GAI gai = new GAI(); 84 85 ga_man = new GAIManager(screen_size); 86 ga_man.display(); 87 } 77 88 78 /*Check if the user want to set up their own TOMCAT/MYSQL server 79 * when they first time run GAI*/ 80 GAIFirstSettingFrame first_setting = new GAIFirstSettingFrame(); 89 public void init (){ 90 // Read Dictionary 91 new Dictionary(Configuration.getLocale("general.locale", true), Configuration.getFont("general.font", true)); 92 81 93 } 82 94 } 95 96
Note:
See TracChangeset
for help on using the changeset viewer.