[tcljava-dev] Using tclblend in a starkit
Brought to you by:
mdejong
From: Matt N. <mat...@hp...> - 2006-01-24 23:29:14
|
So having got tclblend to compile as a stub-enabled extension - which required some trickery for the case when it is loaded from a JVM, as opposed to being loaded from tcl - I'll provide more details on that adventure later.. My question is this - how can I go about making the whole tclblend package as a starkit - scripts, dll and jars.... The stumbling block is the class loader - I am no java expert, but I am aware that java apps can provide their own class loader implementation - yes? So what I had in mind was one that turns loader requests around as Tcl file system accesses - thereby benefiting from the VFS layer etc. Has anyone done this? Could someone point me to any examples of simple class loaders and how one "installs" them (forgive my ignorance)... Such a capability would be really useful for the kind of embedded apps I use and I don't mind doing the leg work I'm just lost as to where to start. Matt PS. I am a long-time (15 yrs) Tcl user and developer just a weenie where Java is concerned. |