Changeset 452 for gssim_ui/branches
- Timestamp:
- 09/07/12 18:05:38 (13 years ago)
- Location:
- gssim_ui/branches/vine/gssimstudio/src/web/ui/flex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gssim_ui/branches/vine/gssimstudio/src/web/ui/flex/app/gssim/gssimstudio/editor/gssim/experiment/ExperimentProperties.as
r451 r452 90 90 if (property != null && properties[property] != null) 91 91 { 92 var value : String = properties[property].toString(); 93 //if file is a .zip then cut the extension in property file 94 if (property == resourceDescriptionFile && value.lastIndexOf(".zip") == value.length - 4) value = value.substr(0, value.length - 4); 95 output += property + "=" + value + "\r\n"; 92 output += property + "=" + properties[property].toString() + "\r\n"; 96 93 } 97 94 } -
gssim_ui/branches/vine/gssimstudio/src/web/ui/flex/java/gssim/gssimstudio/flex/app/editor/GSSimStudio.java
r451 r452 170 170 String uniqueFolderName = "tmp" + String.valueOf(new Date().getTime()); 171 171 fileContent = fileContent.replace(pInputLocation, "input"); 172 if (workload.endsWith(".zip")) fileContent = fileContent.replace(workload, workload.split(".")[0]); 172 173 uploadPropertyFile(destFileName, fileContent); 173 174
Note: See TracChangeset
for help on using the changeset viewer.