Changeset 43 for gssim_ui/branches/vine/gssimstudio/src/web/ui/flex/java
- Timestamp:
- 08/29/11 12:25:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gssim_ui/branches/vine/gssimstudio/src/web/ui/flex/java/gssim/gssimstudio/flex/app/editor/GSSimStudio.java
r42 r43 1560 1560 String fileName = filesList.get(i).getName(); 1561 1561 String targetPath = tmpDir + "/" + fileName; 1562 log.error(numOfFiles + " Aha! " + index + " to " + i);1563 1562 boolean tmp = VineFlexUtilClass.moveFileItemToPortalFileSystem(uploadedFiles, index, targetPath); 1564 1563 if (tmp) { … … 1589 1588 log.debug("allFilesUploaded() " + e.getClass().getName()); 1590 1589 } finally { 1591 if (i < numOfFiles - 1) continue;1592 final FileLocation tmpLocation = portalFileSystemManager.createDirLocation(tmpDir);1593 log.debug("!!!!!" + tmpLocation.getUrl());1594 FileSet delSet = new FileLocationSet(new ArrayList<FileLocation>() {1595 {1596 add(tmpLocation);1597 }1598 });1599 TaskMonitor delMon = portalFileSystemManager.delete(delSet, TaskOptions.block());1600 if (delMon.completed()) {1601 log.debug("!!!!! tmp dir was deleted");1602 } else {1603 log.debug("!!!!! tmp dir was NOT deleted");1604 }1605 1606 1590 } 1607 1591 … … 1610 1594 } 1611 1595 } 1596 1597 //clean up temporary folder 1598 final FileLocation tmpLocation = portalFileSystemManager.createDirLocation(tmpDir); 1599 log.debug("!!!!!" + tmpLocation.getUrl()); 1600 FileSet delSet = new FileLocationSet(new ArrayList<FileLocation>() { 1601 { 1602 add(tmpLocation); 1603 } 1604 }); 1605 TaskMonitor delMon = portalFileSystemManager.delete(delSet, TaskOptions.block()); 1606 if (delMon.completed()) { 1607 log.debug("!!!!! tmp dir was deleted"); 1608 } else { 1609 log.debug("!!!!! tmp dir was NOT deleted"); 1610 } 1612 1611 } 1613 1612 ///MOJE
Note: See TracChangeset
for help on using the changeset viewer.