Re: [tcljava-user] JACL - package require.
Brought to you by:
mdejong
From: Mo D. <mo...@mo...> - 2007-03-02 23:31:50
|
Patrick Finnegan wrote: > Does "package require" work in JACL? The auto_path variable is initialised > to /tcl/lang/library which is part of the jacl.jar file. If say for example > I jarred up pure tcl packages into tclpakages.jar and lappended the location > to auto_path. Would package require load the packages? > If your jar file was added to the CLASSPATH then it should be loaded. You need to lappend "resource:/whatever/path/prefix" to get it to work. Mo DeJong |