Author: lahiru
Date: Fri May 3 18:39:22 2013
New Revision: 1478910
URL: http://svn.apache.org/r1478910
Log:
fixing a handing of workflow run.
Modified:
airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
Modified: airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java?rev=1478910&r1=1478909&r2=1478910&view=diff
==============================================================================
--- airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
(original)
+++ airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
Fri May 3 18:39:22 2013
@@ -178,8 +178,9 @@ public class WorkflowInterpreter {
}
// get task list and execute them
ArrayList<Node> readyNodes = this.getReadyNodesDynamically();
- while(lastReadNodeSize != 0 && lastReadNodeSize == readyNodes.size()){
+ while(lastReadNodeSize != 0 && lastReadNodeSize == this.getReadyNodesDynamically().size()
&& !(readyNodes.get(0) instanceof OutputNode) ){
try {
+ System.out.println(lastReadNodeSize);
Thread.sleep(400);
} catch (InterruptedException e) {
e.printStackTrace();
|