From ac5b2b15004058a01ae874d96c4eb462089528ba Mon Sep 17 00:00:00 2001 From: fros4943 Date: Tue, 3 Mar 2009 15:24:18 +0000 Subject: [PATCH] make sure test script is activated *after* script file has been loaded --- tools/cooja/java/se/sics/cooja/plugins/ScriptRunner.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/cooja/java/se/sics/cooja/plugins/ScriptRunner.java b/tools/cooja/java/se/sics/cooja/plugins/ScriptRunner.java index 13e012cb9..d59fb917f 100644 --- a/tools/cooja/java/se/sics/cooja/plugins/ScriptRunner.java +++ b/tools/cooja/java/se/sics/cooja/plugins/ScriptRunner.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ScriptRunner.java,v 1.14 2009/03/03 13:50:02 fros4943 Exp $ + * $Id: ScriptRunner.java,v 1.15 2009/03/03 15:24:18 fros4943 Exp $ */ package se.sics.cooja.plugins; @@ -374,6 +374,7 @@ public class ScriptRunner implements Plugin { } } + setScriptActive(true); } }).start();