TOC PREV NEXT INDEX

 


How the Internal File Archive Works in a Wrapped Application


The internal file archive of a wrapped application contains all Tcl scripts and data files that you specify when you wrap an application. TclPro Wrapper incorporates special support into the wrapped application that allows Tcl scripts in the wrapped application to access files in the internal file archive just as if they were stored individually on disk. In other words, your Tcl scripts in a wrapped application can execute standard Tcl commands such as source and open to access files in the internal file archive.


Note: The files in the internal file archive are read-only.

Whether your Tcl script attempts to access a file from the internal file archive or from disk is determined by the following rules:

By default, files that you specify in your prowrap command with relative pathnames retain that pathname in the archive. Files that you specify with absolute pathnames are stripped of their drive and root directory characters. You can also modify this behavior by using the prowrap relativeto argument. See "Determining Path References in Wrapped Applications" for information on how pathnames for files in the internal archive of a wrapped application are determined.


Note: The internal file archive isn't a full-fledged filesystem. Instead, the files are stored in the equivalent of a flat table. This has several important implications for accessing files in the archive:

"Changing File References" provides guidelines for writing your applications so that they use wrapped files and unwrapped files properly.




http://www.ajubasolutions.com
Voice: (650) 210-0100
Fax: (650) 210-0101
support@ajubasolutions.com
TOC PREV NEXT INDEX