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 2014/07/11 22:49:42 UTC

git commit: application name used instead of app deploy description for app desc

Repository: airavata
Updated Branches:
  refs/heads/master 7a378a6b4 -> beb139e85


application name used instead of app deploy description for app desc


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

Branch: refs/heads/master
Commit: beb139e85482cfe253038dc364313a99d69fccc5
Parents: 7a378a6
Author: Saminda Wijeratne <sa...@gmail.com>
Authored: Fri Jul 11 16:49:20 2014 -0400
Committer: Saminda Wijeratne <sa...@gmail.com>
Committed: Fri Jul 11 16:49:20 2014 -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/beb139e8/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 d1ccdf3..24ab0c3 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
@@ -419,7 +419,7 @@ public class BetterGfacImpl implements GFac {
             legacyAppDescription = new ApplicationDescription();
         }
         ApplicationDeploymentDescriptionType legacyAppDescType = legacyAppDescription.getType();
-        legacyAppDescType.addNewApplicationName().setStringValue(applicationDeployment.getAppDeploymentDescription());
+        legacyAppDescType.addNewApplicationName().setStringValue(applicationInterface.getApplicationName().replaceAll(" ", "_"));
         legacyAppDescType.setExecutableLocation(applicationDeployment.getExecutablePath());
         if (gatewayResourcePreferences != null) {
             legacyAppDescType.setScratchWorkingDirectory(gatewayResourcePreferences.getScratchLocation());