From 6c05406b172b751251acca37f37e2bb3a62ff03f Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Fri, 13 Mar 2009 13:37:55 +0000 Subject: [PATCH] Adapt to new launch structure git-svn-id: https://svn.argeo.org/slc/trunk@2259 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- .../org/argeo/slc/equinox/ExecutionCommandProvider.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/runtime/org.argeo.slc.support.equinox/src/main/java/org/argeo/slc/equinox/ExecutionCommandProvider.java b/runtime/org.argeo.slc.support.equinox/src/main/java/org/argeo/slc/equinox/ExecutionCommandProvider.java index ca49e8fdc..a63708286 100644 --- a/runtime/org.argeo.slc.support.equinox/src/main/java/org/argeo/slc/equinox/ExecutionCommandProvider.java +++ b/runtime/org.argeo.slc.support.equinox/src/main/java/org/argeo/slc/equinox/ExecutionCommandProvider.java @@ -2,8 +2,8 @@ package org.argeo.slc.equinox; import java.util.List; +import org.argeo.slc.execution.ExecutionFlowDescriptor; import org.argeo.slc.execution.ExecutionModule; -import org.argeo.slc.process.SlcExecution; import org.eclipse.osgi.framework.console.CommandInterpreter; import org.eclipse.osgi.framework.console.CommandProvider; @@ -14,9 +14,6 @@ public class ExecutionCommandProvider implements CommandProvider { String moduleName = ci.nextArgument(); String executionName = ci.nextArgument(); - SlcExecution slcExecution = new SlcExecution(); - slcExecution.getAttributes().put("slc.flows", executionName); - ExecutionModule module = null; for (ExecutionModule moduleT : executionModules) { if(moduleT.getName().equals(moduleName)){ @@ -26,8 +23,10 @@ public class ExecutionCommandProvider implements CommandProvider { } } + ExecutionFlowDescriptor descriptor = new ExecutionFlowDescriptor(); + descriptor.setName(executionName); if(module!=null) - module.execute(slcExecution); + module.execute(descriptor); return null; } -- 2.39.2