Re: [tcljava-user] Suitability of Tcl Blend
Brought to you by:
mdejong
From: Seamus M. <sea...@ho...> - 2009-08-31 11:38:51
|
Thanx Tom, I tried this and expect4j certainly works a treat. Unfort I have ran into trouble as I now need to require other packages, to talk to a piece of Spirent Test Kit, which rely on a particular tcl version, and features which have not been implemented in JACL. Going to give TCLBlend ago now. Cheers Again > Date: Fri, 28 Aug 2009 09:38:31 -0600 > From: tpo...@ny... > To: tcl...@li... > Subject: Re: [tcljava-user] Suitability of Tcl Blend > > 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 _________________________________________________________________ View your other email accounts from your Hotmail inbox. Add them now. http://clk.atdmt.com/UKM/go/167688463/direct/01/ |