diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-07 09:19:07 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-07 09:19:07 +0000 |
commit | 38d57f547fb803911499707e6f06a7e20b3ea44b (patch) | |
tree | 296fd3c5135e8b8111e68231696b52538f8f0fe5 /sca-java-2.x/trunk | |
parent | 2adfb5fb5c7981399a3081f60d752a3a19b8c849 (diff) |
Update to have jline call bye not stop
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@983187 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/JLine.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/JLine.java b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/JLine.java index a4e179dfd0..e8fcd627e2 100644 --- a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/JLine.java +++ b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/JLine.java @@ -29,7 +29,6 @@ import java.util.List; import jline.Completor; import jline.ConsoleReader; -import org.apache.tuscany.sca.runtime.ActivationException; import org.apache.tuscany.sca.shell.Shell; /** @@ -48,11 +47,7 @@ public class JLine { // Add a Ctrl-c listener reader.addTriggeredAction((char)3, new ActionListener() { public void actionPerformed(ActionEvent e) { - try { - shell.stop(null); - } catch (ActivationException e1) { - e1.printStackTrace(); - } + shell.bye(); System.exit(0); } }); |