Return-Path: X-Original-To: apmail-incubator-airavata-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-airavata-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 48EBF9FA0 for ; Wed, 1 Feb 2012 16:39:37 +0000 (UTC) Received: (qmail 37150 invoked by uid 500); 1 Feb 2012 16:39:37 -0000 Delivered-To: apmail-incubator-airavata-commits-archive@incubator.apache.org Received: (qmail 37096 invoked by uid 500); 1 Feb 2012 16:39:36 -0000 Mailing-List: contact airavata-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: airavata-dev@incubator.apache.org Delivered-To: mailing list airavata-commits@incubator.apache.org Received: (qmail 37088 invoked by uid 99); 1 Feb 2012 16:39:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 16:39:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 16:39:34 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 4126D23888FE; Wed, 1 Feb 2012 16:39:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1239199 - /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java Date: Wed, 01 Feb 2012 16:39:13 -0000 To: airavata-commits@incubator.apache.org From: lahiru@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120201163913.4126D23888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: lahiru Date: Wed Feb 1 16:39:12 2012 New Revision: 1239199 URL: http://svn.apache.org/viewvc?rev=1239199&view=rev Log: Setting an xml element in to output node rather setting misleading XmlElement.toString value. Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java?rev=1239199&r1=1239198&r2=1239199&view=diff ============================================================================== --- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java (original) +++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java Wed Feb 1 16:39:12 2012 @@ -555,8 +555,6 @@ public class WorkflowInterpreter { for (DataPort dataPort : inputPorts) { Object val = InterpreterUtil.findInputFromPort(dataPort, this.invokerMap); - ; - if (null == val) { throw new WorkFlowInterpreterException( "Unable to find output for the node:" @@ -564,8 +562,8 @@ public class WorkflowInterpreter { } // This is ok because the outputnodes always got only one // input - if (val instanceof XmlElement) { - ((OutputNode) node).setDescription(XMLUtil.xmlElementToString((XmlElement) val)); + if (val instanceof org.xmlpull.v1.builder.XmlElement) { + ((OutputNode) node).setDescription(XMLUtil.xmlElementToString((org.xmlpull.v1.builder.XmlElement) val)); } else { ((OutputNode) node).setDescription(val.toString()); }