You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sa...@apache.org on 2013/08/20 23:48:49 UTC
svn commit: r1515982 -
/airavata/trunk/modules/integration-tests/src/test/java/org/apache/airavata/integration/ForEachCaseIT.java
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,