Changeset 19668 for gli/branches/glicolgroup/src/org/greenstone/gatherer/remote/RemoteGreenstoneServerAction.java
- Timestamp:
- 2009-05-29T12:37:08+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/branches/glicolgroup/src/org/greenstone/gatherer/remote/RemoteGreenstoneServerAction.java
r19231 r19668 109 109 public DeleteCollectionAction(String collection_name) 110 110 { 111 this.collection_name = collection_name; 111 this.collection_name = collection_name; //.replace('/', File.separatorChar); // if colgroup contained url slashes 112 112 } 113 113 … … 137 137 public DeleteCollectionFileAction(String collection_name, File collection_file) 138 138 { 139 this.collection_name = collection_name; 139 this.collection_name = collection_name; //.replace('/', File.separatorChar); // if colgroup contained url slashes 140 140 this.collection_file = collection_file; 141 141 } … … 146 146 String collection_directory_path = CollectionManager.getCollectionDirectoryPath(collection_name); 147 147 String collection_file_relative_path = remote.getPathRelativeToDirectory(collection_file, collection_directory_path); 148 System.err.println("**** DeleteCollectionFile.\n\tcol_file: "+collection_file + "\n\t" + collection_directory_path); 149 148 150 collection_file_relative_path = collection_file_relative_path.replaceAll((Utility.isWindows() ? "\\\\" : "\\/"), "|"); 149 151 progress_bar.setAction("Deleting collection file " + collection_file_relative_path + "..."); … … 176 178 { 177 179 progress_bar.setAction("Downloading remote collection " + collection_name + "..."); 180 System.err.println("*** RGSAction.DownloadCollectionAction, col_name: " + collection_name); 178 181 179 182 String download_collection_command = "cmd=download-collection"; … … 613 616 public UploadFilesIntoCollectionAction(String collection_name, File[] source_files, File target_collection_directory) 614 617 { 615 this.collection_name = collection_name; 618 this.collection_name = collection_name; //.replace('/', File.separatorChar); // if colgroup contained url slashes 616 619 this.source_files = source_files; 617 620 this.target_collection_directory = target_collection_directory;
Note:
See TracChangeset
for help on using the changeset viewer.