Changing File References
Writing an application to work properly both unwrapped and wrapped can be tricky when it comes to file access. You want to prevent accidental fall-through and file shadowing, as discussed in "How the Internal File Archive Works in a Wrapped Application". The key points to keep in mind are:
- All files in the internal archive of a wrapped application have relative pathnames
- If you use the relativeto option when wrapping a file, the pathname of a file in the internal archive is different from its corresponding unwrapped pathname (see "Determining Path References in Wrapped Applications")
- A wrapped application always searches for a file in its internal file archive before searching the disk whenever it encounters a relative pathname to a file
http://www.ajubasolutions.com Voice: (650) 210-0100 Fax: (650) 210-0101 support@ajubasolutions.com |