- Timestamp:
- 08/17/12 22:47:26 (13 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
r403 r404 212 212 if (inputLocation.endsWith("/")) 213 213 inputLocation = inputLocation.substring(0,inputLocation.length() - 1); 214 214 inputLocation += "/" + uniqueFolderName; 215 215 if (jobDescription != null) 216 jobDescription = jobDescription.replace(jdInputLocation, inputLocation + "/" + uniqueFolderName);216 jobDescription = jobDescription.replace(jdInputLocation, inputLocation); 217 217 } 218 218 … … 234 234 ServiceContext serviceContext = VineFlexUtilClass.getServiceContext(); 235 235 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"); 237 237 FileManager fileManager = fileResourceManager.createFileManager(parentLocation); 238 238 TaskMonitor taskMonitor = fileManager.makeDirectory(uniqueFolderName, TaskOptions.block()); 239 239 if (taskMonitor.completed()) { 240 log. error("mkdir succeeded");240 log.debug("mkdir succeeded"); 241 241 } else if (taskMonitor.failed()) { 242 242 String message = taskMonitor.getTaskStatusMessage(); 243 setError(message, model); 244 log.error("Task failed: " + message); 243 log.debug("Task failed: " + message); 245 244 //model.setError(createErrorMap("makeDir", message)); 246 245 } 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()); 249 247 //model.setError(createErrorMap("Task returned with unexpected status: ", taskMonitor.getTaskStatusMessage())); 250 248 }
Note: See TracChangeset
for help on using the changeset viewer.