Re: [tcljava-dev] Re: PATCH: Jacl
Brought to you by:
mdejong
From: Mo D. <md...@un...> - 2003-04-15 08:14:29
|
On Mon, 14 Apr 2003 22:15:03 -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. > > > > Just an FYI here, but I rejected this 'jacl.tcllibpath' patch because > > the TCLLIBPATH property already provides this functionality. > > > > Snip from current init.tcl: > > > if {[info exists env(TCLLIBPATH)]} { > > lappend auto_path $env(TCLLIBPATH) > > } > > > This does not work in the CVS version. I built the CVS version clean (none of > my patches): You need to pass it as a property, just like the jacl.tcllibpath property in your patch. java -DTCLLIBPATH=/bar tcl.lang.Shell % set env(TCLLIBPATH) /bar % set auto_path resource:/tcl/lang/library /bar cheers Mo |