[TDK] InitPrefix meta data usage in tclpe
by Joe Brandt other posts by this author
Jun 7 2007 7:37AM messages near this date
view in the new Beta List Site
Re: [TDK] What is the correct behavior for md_pragma OWNER?
|
Re: [TDK] InitPrefix meta data usage in tclpe
What is the correct usage of the InitPrefix metadata in tclpe? From the
documentation I was assuming InitPrefix <file> <code> <file> <code> ...
Here is how I'm adding it "InitPrefix test_utils.tcl test1". In the
generated pkgIndex.tcl file it creates the following which isn't correct
on the source line.
# @@ Meta Begin
# Package test_utils 2.00
# Meta description
# Meta platform tcl
# @@ Meta End
if {![package vsatisfies [package provide Tcl] 8.4]} return
package ifneeded test_utils 2.00 [string map [list @ $dir] {
source [file join {@} test_utils.tcl] test1
# ACTIVESTATE TEAPOT-PKG BEGIN DECLARE
package provide test_utils 2.00
# ACTIVESTATE TEAPOT-PKG END DECLARE
}]
NOTICE: This email message is for the sole use of the intended recipient(s)=
and may contain confidential and privileged information. Any unauthorized=
review, use, disclosure or distribution is prohibited. If you are not the=
intended recipient, please contact the sender by reply email and destroy al=
l copies of the original message.
Thread:
Joe Brandt
Andreas Kupries
|