Reply
Member
kuclelufru
Posts: 1
Registered: 01-13-2012
0

tcl blend in Tcl Shell, howto

hi experts,

 

i am trying a simple thing with tcl blend from tcl session profile:

 

 

 

% set libInfo [ls::query LibraryInfo -customLibraryName tclAPI]
java0x4
% set jnode [ls::retrieve test_session -customLibraryName tclAPI "ggsnNode"]
java0x5
% java::info class $jnode
unknown java object "java0x5"
%

 

 

..and its not working. how to return java object properly?

 

if i am trying the same thing from tclsh (dosbox):

 

 

% set node [ls::retrieve test_session -customLibraryName tclAPI "ggsnNode"]

java0x5

% java::info class $node

com.spirent.ls.tcl.TestSession

Fanfare
lakshminarayana
Posts: 145
Registered: 03-31-2010
0

Re: tcl blend in Tcl Shell, howto

Hi,

 

Please have a look at the problem 1 in below link that could help you overcome this tclblend issue.

 

http://wiki.tcl.tk/862

 

Hope it helps


Thanks,

Lakshmi