Repository: airavata
Updated Branches:
  refs/heads/airavata-0.15-release-branch d23b50a4f -> d42f3f2db


Fixed standard out file name with spaces


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/d42f3f2d
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/d42f3f2d
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/d42f3f2d

Branch: refs/heads/airavata-0.15-release-branch
Commit: d42f3f2dbf7d9b292d55d2eda13f9c5cc5c4c650
Parents: d23b50a
Author: Shameera Rathnayaka <[email protected]>
Authored: Mon Jul 20 11:23:33 2015 -0400
Committer: Shameera Rathnayaka <[email protected]>
Committed: Mon Jul 20 11:23:33 2015 -0400

----------------------------------------------------------------------
 .../java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/d42f3f2d/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java
----------------------------------------------------------------------
diff --git 
a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java
 
b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java
index be15d30..6f7ae08 100644
--- 
a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java
+++ 
b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/cpi/BetterGfacImpl.java
@@ -402,7 +402,7 @@ public class BetterGfacImpl implements GFac {
                String stderr = objectType.getValue();
                String stderrLocation = null;
                if(stderr == null || "".equals(stderr)) {
-                    stderrLocation = jobExecutionContext.getOutputDir() + 
File.separator + jobExecutionContext.getApplicationName().replace("\\s+", "") + 
".stderr";
+                    stderrLocation = jobExecutionContext.getOutputDir() + 
File.separator + jobExecutionContext.getApplicationName().replaceAll("\\s+", 
"") + ".stderr";
                 }
                 else {
                                stderrLocation = 
jobExecutionContext.getOutputDir() + File.separator + stderr;

Reply via email to