Wrapping Tcl Script Packages
Packages that consist entirely of Tcl scripts don't need any special handling when wrapping. TclPro Wrapper understands pkgIndex.tcl files and automatically adds wrapped directories to your application's tcl_pkgPath variable if they contain pkgIndex.tcl files.
For example, if you have a package stored in /usr/local/lib/common and you have generated a pkgIndex.tcl file in that directory using the pkg_mkIndex command, you can wrap the package automatically with a prowrap command such as:
% prowrap myscript.tcl -relativeto /usr/local \
/usr/local/lib/common/*.tcl -o myscript
http://www.ajubasolutions.com Voice: (650) 210-0100 Fax: (650) 210-0101 support@ajubasolutions.com |