You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2012/01/09 19:32:55 UTC
svn commit: r1229284 -
/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java
Author: lahiru
Date: Mon Jan 9 18:32:55 2012
New Revision: 1229284
URL: http://svn.apache.org/viewvc?rev=1229284&view=rev
Log:
fixing issue with running gfac service only using xbaya.
Modified:
incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java
Modified: incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java?rev=1229284&r1=1229283&r2=1229284&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java (original)
+++ incubator/airavata/trunk/modules/gfac-core/src/main/java/org/apache/airavata/core/gfac/provider/utils/GramRSLGenerator.java Mon Jan 9 18:32:55 2012
@@ -87,7 +87,7 @@ public class GramRSLGenerator {
jobAttr.setMaxWallTime(29);
}
- if (app.getStandardInput() != null) {
+ if (app.getStandardInput() != null || "".equals(app.getStandardInput())) {
jobAttr.setStdin(app.getStandardInput());
} else {
// input parameter