Re: [tcljava-user] Load extension in Tcl file
Brought to you by:
mdejong
From: Imran S. <isa...@gm...> - 2007-01-12 19:43:32
|
Hi plz tell me how to made model of Differentiated services and integrated services of ip packet in tcl thanks On 1/12/07, 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 > -- With Regards: Imran ------ |