Changeset 2278 for trunk/java-client/org/nzdl
- Timestamp:
- 2001-04-04T15:01:52+12:00 (23 years ago)
- Location:
- trunk/java-client/org/nzdl/gsdl
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-client/org/nzdl/gsdl/Makefile
r2269 r2278 26 26 JAVAC=javac 27 27 28 JAVACOPTIONS= -g:lines28 #JAVACOPTIONS= -g:lines 29 29 #JAVACOPTIONS= -g:none -O 30 30 -
trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/CSModel.java
r2262 r2278 166 166 String longCollectionName = ""; 167 167 Set n = nzdl.getMetaData(collectionName, "collection", "collectionname"); 168 if (n.size() == 1) 169 longCollectionName = (String) n.toArray()[0]; 170 else 171 longCollectionName = collectionName + " has more than 1 collectionname"; 172 collectionNameMap.put(collectionName,longCollectionName ); 173 System.err.println("Adding " + collectionName + " to collection list..."); 174 } // end if 175 else { 176 System.err.println("Collection " + collectionName + " getBuildDate() returned 0"); 177 } // end else 168 if (n != null) { 169 if (n.size() == 1) 170 longCollectionName = (String) n.toArray()[0]; 171 else 172 longCollectionName = collectionName + " has more than 1 collectionname"; 173 collectionNameMap.put(collectionName,longCollectionName ); 174 System.err.println("Adding " + collectionName + " to collection list..."); 175 } 176 } // end if 177 else { 178 System.err.println("Collection " + collectionName + " getBuildDate() returned 0"); 179 } // end else 178 180 } // end while 179 181 setCurrentCollection(getFirstCollection()); //assume at least one collection -
trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/Makefile
r2260 r2278 22 22 JAVAC=javac 23 23 24 JAVACOPTIONS= -g:lines24 #JAVACOPTIONS= -g:lines 25 25 #JAVACOPTIONS= -g:none -O 26 26 -
trunk/java-client/org/nzdl/gsdl/service/Makefile
r2178 r2278 4 4 #javac options 5 5 #JAVACOPTIONS= -g:none -O 6 JAVACOPTIONS= -deprecation -g:lines6 #JAVACOPTIONS= -deprecation -g:lines 7 7 8 8 #complete compilation -
trunk/java-client/org/nzdl/gsdl/service/NzdlLogWrapper.java
r2220 r2278 62 62 Date date = new Date(); 63 63 // the true is append ... 64 logFile = new FileWriter(logFilename, true); 64 String dir = System.getProperties().getProperty("user.home"); 65 String sep = System.getProperties().getProperty("file.separator"); 66 logFile = new FileWriter(dir+sep+logFilename, true); 65 67 logFile.write(tag + "Log started at:" + date + " == " + 66 68 date.getTime() + "\n"); -
trunk/java-client/org/nzdl/gsdl/util/Makefile
r2188 r2278 4 4 #javac options 5 5 #JAVACOPTIONS= -g:none -O 6 JAVACOPTIONS= -deprecation -g:lines6 #JAVACOPTIONS= -deprecation -g:lines 7 7 8 8 #complete compilation
Note:
See TracChangeset
for help on using the changeset viewer.