Changeset 8264
- Timestamp:
- 2004-10-11T09:43:59+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/Gatherer.java
r8261 r8264 176 176 177 177 Calendar now = Calendar.getInstance(); 178 StringBuffer name = new StringBuffer("debug"); 179 name.append(now.get(Calendar.DATE)); 180 name.append("-"); 181 name.append(now.get(Calendar.MONTH)); 182 name.append("-"); 183 name.append(now.get(Calendar.YEAR)); 184 name.append(".txt"); 178 String debug_file_path = "debug" + now.get(Calendar.DATE) + "-" + now.get(Calendar.MONTH) + "-" + now.get(Calendar.YEAR) + ".txt"; 185 179 186 180 // Debug file is created in the GLI directory, unless the GLI is running as an applet 187 String debug_file_path = name.toString();188 181 if (isGsdlRemote) { 189 182 debug_file_path = Utility.getGLIUserFolder().toString() + File.separator + debug_file_path;
Note:
See TracChangeset
for help on using the changeset viewer.