Re: [tcljava-user] Load extension in Tcl file
Brought to you by:
mdejong
From: Pham N. K. <pn...@ya...> - 2007-01-15 02:14:05
|
Thanks Rahul. It works. //Khanh --- rahul <Rah...@Su...> wrote: > [Pham Ngoc Khanh:] > | script: contain scripts (Tcl file) > | scr: contain Java file > ================= > | package com; > | public class TestCommand implements > tcl.lang.Command { > | public void cmdProc(...) {...} > | } > ================= > | 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) > =============== > # do this.... > package require java > > java::load -classpath {../scr} > com.TestCommandExtension > =============== > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > tcljava-user mailing list > tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcljava-user > ___________________________________________________________ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html |