I will try to modify the Jacl Shell to work with Tcl and TclBlend. If this
is successful, the shell becomes a very good example on how Tcl can be
embedded into Java. Then, I can write up some documentation on how to use
Tcl and TclBlend from a Java application.
I read over your paper regarding
On Thu, 16 Mar 2000, Jiang Wu wrote:
Thanks. I am sure this will help anyone who wants to do something similar
in the future.
> I will try to modify the Jacl Shell to work with Tcl and TclBlend. If this
> is successful, the shell becomes a very good example on how Tcl can be
> embedded into Jav
Hmm. There is got to be a problem somewhere. In TclBlend, the native
implementation of Interp.commandComplete() contains:
JAVA_LOCK();
cmd = (*env)->GetStringUTFChars(env, cmdStr, NULL);
result = (Tcl_CommandComplete((/*UNCONST*/ char*) cmd)
? JNI_TRUE : JNI_FALSE);
(*en
Looking over the Jacl's tcl.lang.Shell source code, there are several places
where the ConsoleThread is accessing the tcl.lang.Interp object's method.
For example, the ConsoleThread's run() method makes calls to:
interp.getVar(...);
interp.setVar(...);
interp.updateReturnI
Thanks for the reply. Actually I wasn't consciously trying to load tcl
Blend, I was just trying to the demo to work. Now that you mention it, I
realise why it cannot work (Java will not let you) but that then throw's up
the question, how do I get the demo to work ? Following the instructions in
th
TclBlend is very close to accomplish the task of using Tcl from a Java
application. TclBlend provides the ability to call TCL commands from Java,
and call Java methods from TCL. I am also trying to do a similar set up for
my project at work. In my setup, I want to embed the native TCL core into
On Thu, 16 Mar 2000, Jiang Wu wrote:
> TclBlend is very close to accomplish the task of using Tcl from a Java
> application. TclBlend provides the ability to call TCL commands from Java,
> and call Java methods from TCL. I am also trying to do a similar set up for
> my project at work. In my s