Re: [tcljava-dev] PATCH: Jacl
Brought to you by:
mdejong
From: Tom P. <tpo...@ny...> - 2003-03-14 16:12:04
|
On Thu, Mar 13, 2003 at 02:39:54PM -0800, Mo DeJong wrote: > On Sun, 4 Aug 2002 14:06:28 -0600 > Tom Poindexter <tpo...@ny...> wrote: > > > Here are some patches to Jacl > > > 3. jaclsh: sets 'jacl.tcllibpath' property so that init.tcl can add the > > installed lib path to auto_path. > > Tom, could you explain why this patch is needed, in ChangeLog format? Without it, Jacl doesn't have a standard directory from which to load external packages, e.g., without patch: % set auto_path resource:/tcl/lang/library with: % set auto_path resource:/tcl/lang/library /usr/local/lib/tcljava1.3.0 This is sort of like TCL_LIBRARY in C based Tcl, but doesn't allow overriding init.tcl as easily. I want a standard place to put Jacl packages like my Hyde and proposed jacllib without requiring each Jacl script lappend'ing to auto_path. In ChangeLog format: * src/jacl/tcl/lang/library/init.tcl: Append to auto_path the value of property jacl.tcllibpath. This allows Jacl to have a standard library directory outside of the internal jar resources. -- Tom Poindexter tpo...@ny... http://www.nyx.net/~tpoindex/ |