Changeset 404 for gssim_ui


Ignore:
Timestamp:
08/17/12 22:47:26 (13 years ago)
Author:
mcichenski
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gssim_ui/branches/vine/gssimstudio/src/web/ui/flex/java/gssim/gssimstudio/flex/app/editor/GSSimStudio.java

    r403 r404  
    212212                                if (inputLocation.endsWith("/")) 
    213213                                        inputLocation = inputLocation.substring(0,inputLocation.length() - 1); 
    214                                  
     214                                inputLocation += "/" + uniqueFolderName; 
    215215                                if (jobDescription != null) 
    216                                         jobDescription = jobDescription.replace(jdInputLocation, inputLocation + "/" + uniqueFolderName); 
     216                                        jobDescription = jobDescription.replace(jdInputLocation, inputLocation); 
    217217                        } 
    218218                         
     
    234234                        ServiceContext serviceContext = VineFlexUtilClass.getServiceContext(); 
    235235            FileResourceManager fileResourceManager = getFileResourceManager(serviceContext); 
    236             FileLocation parentLocation = new FileLocation("gsiftp://gssim.man.poznan.pl:2811/usr/local/admin/gssim/input/?filetype=directory"); 
     236            FileLocation parentLocation = new FileLocation(gssimInput + "?filetype=directory"); 
    237237            FileManager fileManager = fileResourceManager.createFileManager(parentLocation); 
    238238            TaskMonitor taskMonitor = fileManager.makeDirectory(uniqueFolderName, TaskOptions.block()); 
    239239            if (taskMonitor.completed()) { 
    240                 log.error("mkdir succeeded"); 
     240                log.debug("mkdir succeeded"); 
    241241            } else if (taskMonitor.failed()) { 
    242242                String message = taskMonitor.getTaskStatusMessage(); 
    243                 setError(message, model); 
    244                 log.error("Task failed: " + message); 
     243                log.debug("Task failed: " + message); 
    245244                //model.setError(createErrorMap("makeDir", message)); 
    246245            } else { 
    247                 log.error("Task returned with unexpected status: " + taskMonitor.getTaskStatus().getLabel()); 
    248                 setError("Task returned with status: " + taskMonitor.getTaskStatus().getLabel(), model); 
     246                log.debug("Task returned with unexpected status: " + taskMonitor.getTaskStatus().getLabel()); 
    249247                //model.setError(createErrorMap("Task returned with unexpected status: ", taskMonitor.getTaskStatusMessage())); 
    250248            } 
Note: See TracChangeset for help on using the changeset viewer.