[tcljava-user] Adding a JACL 1.3.1 package
Brought to you by:
mdejong
From: Joe W. <jwe...@ci...> - 2004-06-28 19:34:03
|
I'd like to add some JACL commands, but I'm not really following how to have it load without changing JACL sources. If I hard-wire my command, it works fine. But I'd like to do it just by adding a tcl/lang/library/mypkg/pkgIndex.tcl, and I can't seem to get JACL to find that file. I'm assuming the problem is that in the "package unknown" procedure, the "glob" trying to find library/*/pkgIndex.tcl won't work on the auto_path entry of "resource:/tcl/lang/library" because Java's getResource*() methods won't do patterns. I'd appreciate any pointers. Thanks, --> joe w. |