Welcome to Rohan Pall's hints on how to use those sexy starkits!
A ton of this info was lifted from others, so relax and enjoy their hard work ;) I've made all the hints into seperate pages so others can add to them, and to facilitate links.
No Magic or Policy in Starkits
inspecting your gift
What are starkits doing when you do the following in your toplevel main.tcl file:
package require starkit starkit::startup package require app-hello
Look inside the box:
cp tclkit tcopy sdx unwrap tcopy
Now look at "tcopy.vfs/lib/vfs/*.tcl" to see what is going on inside, its all plain Tcl, no magic ;) Thanks jcw.
writable writeable vfs
I packaged my mindweb app in a starkit. All its data was also stored in the starkit. I had read somewhere that by default starkits were writable (r/w) but this in fact has changed over summer 2002. [L1 ] Now starkits are by default read-only (r/o) [L2 ], but the documentation is lagging behind that fact.
You make your starkit writable by doing it at wrap time:
sdx wrap app.kit -writable
2002-09-17 (September 17, 2002) sdx doesnt give any hints that this option exists when displaying help with
sdx help wrap
but it does indeed exist! ;>
starkit meet zip file
This is just another wow feature. There are gems just waiting to be picked up in starkits, and here is one that I found while unpacking and reading the tclkit, in "./lib/vfs/zipvfs.tcl"