Re: [tcljava-user] Suitability of Tcl Blend
Brought to you by:
mdejong
From: Justin R. <ju...@ha...> - 2009-08-28 18:17:37
|
People are still talking about expect4j! Sent from my iPhone On Aug 28, 2009, at 11:38 AM, Tom Poindexter <tpo...@ny...> wrote: > On Fri, Aug 28, 2009 at 10:02:14AM +0000, Seamus McKenna wrote: >> 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? > > I don't use TclBlend, so I can't comment on its suitability for you. > Yes, the 'java' package for TclBlend and Jacl allow your Tcl scripts > to interact with Java objects. > > Jacl is certainly quite easy to integrate into Java. Expect has been > ported to run in Jacl, so it likely depends on which other extensions > your Tcl scripts use. Tcl-only extensions may or may not work, > depending > mostly on the Tcl version for which any particular extension was > written. > Any extension using the 'fileevent' command won't work in Jacl (yet!) > > See: http://code.google.com/p/expect4j/ > > -- > Tom Poindexter > tpo...@ny... > > --- > --- > --- > --------------------------------------------------------------------- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > tcljava-user mailing list > tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcljava-user |