airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject svn commit: r1515982 - /airavata/trunk/modules/integration-tests/src/test/java/org/apache/airavata/integration/ForEachCaseIT.java
Date Tue, 20 Aug 2013 21:48:49 GMT
Author: samindaw
Date: Tue Aug 20 21:48:48 2013
New Revision: 1515982

URL: http://svn.apache.org/r1515982
Log:
making the script executable

Modified:
    airavata/trunk/modules/integration-tests/src/test/java/org/apache/airavata/integration/ForEachCaseIT.java

Modified: airavata/trunk/modules/integration-tests/src/test/java/org/apache/airavata/integration/ForEachCaseIT.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/integration-tests/src/test/java/org/apache/airavata/integration/ForEachCaseIT.java?rev=1515982&r1=1515981&r2=1515982&view=diff
==============================================================================
--- airavata/trunk/modules/integration-tests/src/test/java/org/apache/airavata/integration/ForEachCaseIT.java
(original)
+++ airavata/trunk/modules/integration-tests/src/test/java/org/apache/airavata/integration/ForEachCaseIT.java
Tue Aug 20 21:48:48 2013
@@ -245,8 +245,10 @@ public class ForEachCaseIT {
                 serviceDescription.getType().getName()));
 
         // Deployment descriptor
-        ApplicationDescription applicationDeploymentDescription = descriptorBuilder
-                .buildApplicationDeploymentDescription("comma_app_localhost", getFile("src/test/resources/comma_data.sh").getAbsolutePath(),
"/tmp");
+        File executable = getFile("src/test/resources/comma_data.sh");
+        Runtime.getRuntime().exec("chmod +x "+executable.getAbsolutePath());
+		ApplicationDescription applicationDeploymentDescription = descriptorBuilder
+                .buildApplicationDeploymentDescription("comma_app_localhost", executable.getAbsolutePath(),
"/tmp");
 
         log("Adding deployment description ...");
         airavataAPI.getApplicationManager().addApplicationDescription(serviceDescription,
hostDescription,



Mime
View raw message