Changeset 451 for gssim_ui/branches
- Timestamp:
- 09/07/12 17:46:53 (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
r429 r451 90 90 if (property != null && properties[property] != null) 91 91 { 92 if (property != gridSchedulingPlugin && property != localAllocPolicyPlugin && property != execTimeEstimationPlugin)93 output += property + "=" + properties[property].toString() + "\r\n";94 else95 output += property + "=" + properties[property].toString()+ "\r\n";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"; 96 96 } 97 97 } -
gssim_ui/branches/vine/gssimstudio/src/web/ui/flex/java/gssim/gssimstudio/flex/app/editor/GSSimStudio.java
r450 r451 170 170 String uniqueFolderName = "tmp" + String.valueOf(new Date().getTime()); 171 171 fileContent = fileContent.replace(pInputLocation, "input"); 172 if (resources.endsWith(".zip")) fileContent = fileContent.replace(resources, resources.split(".")[0]);173 172 uploadPropertyFile(destFileName, fileContent); 174 173
Note: See TracChangeset
for help on using the changeset viewer.