[tcljava-user] Load extension in Tcl file
Brought to you by:
mdejong
From: Pham N. K. <pn...@ya...> - 2007-01-11 03:33:58
|
Hi all, I'm studying about tcl with Java, and i have a problem with how to load extension from tcl file. The structure of my project is: script: contain scripts (Tcl file) scr: contain Java file I have a these class: package com; public class TestCommand implements tcl.lang.Command { public void cmdProc(...) {...} } and package com; public class TestCommandExtension implements tcl.lang.Extension { public void init(...) { // create a TestCommand } } How to load TestCommandExtsion from script store in script folder as i mention above with this situation ? (I'm using Windows XP) Please help ! Thanks //Khanh ___________________________________________________________ What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk |