[tcljava-user] Suitability of Tcl Blend
Brought to you by:
mdejong
From: Seamus M. <sea...@ho...> - 2009-08-28 10:02:29
|
Hi, Just wondering if anyone can help.. I would like to know if TclBlend is right for me. We have a test framework in Java and would like to directly call legacy TCL scripts. These scripts include packages like Expect so I am not sure that JACL is suitable. That’s why I’m looking at TclBlend. I see that it’s possible to call java directly from TCL using “package require java” e.g. java::import java.net.InetAddress. But is it possible to carry out standard TCL commands from JAVA? One thing I see is that I could use tcl.lang.evalFile to run a tcl script from java but I have a few queries.a) Can I pass arguments to the script?b) Can the Tcl script include Expect? If all else fails, I realise that I can call the tcl script directly as I would an executable from JAVA. Any help/suggestions would be greatly appreciated. Seamy _________________________________________________________________ Windows Live Messenger: Celebrate 10 amazing years with free winks and emoticons. http://clk.atdmt.com/UKM/go/157562755/direct/01/ |