Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can unwrapped kit .vfs directories be executed?

5 views
Skip to first unread message

ddd

unread,
Feb 12, 2009, 10:07:31 AM2/12/09
to
Hi all,

during development of a Tcl application with tclkit, I frequently do edits
in my app.vfs directory. After editing, it seems I have to sdx wrap the
directory to make a kit file, and after that can execute (or test) my
application. Is it possible to directly run my application without first
wrapping it? (of course using the same tclkit that is used to execute the
wrapped application)

Another related question is: How can I handle tcltests in a kit? I would
like to know what are best practices to test an application (using tcltest)
which is a kit.

thanks,

sisusimple

Larry W. Virden

unread,
Feb 12, 2009, 10:55:14 AM2/12/09
to
On Feb 12, 10:07 am, ddd <d...@ddd.dd> wrote:
> Is it possible to directly run my application without first
> wrapping it? (of course using the same tclkit that is used to execute the
> wrapped application)
>

Yes, you should just be able to
$ cat > helloworld.tcl
puts "Hello, world!"

$ sdx.kit qwrap helloworld.tcl
5 updates applied
$ ls hell*
helloworld.kit helloworld.tcl
$ sdx.kit unwrap helloworld.kit
5 updates applied
$ ls helloworld.vfs
lib main.tcl
$ tclkit helloworld.kit
Hello, world!
$ tclkit helloworld.vfs/main.tcl
Hello, world!

0 new messages