Using the Safe Area Directory Structure When Installing the Windchill Service Pack
Use the following procedure to incorporate updates at a maintenance release:
1. Run the Windchill Service Pack installer using the Updates for Site-Modified Files to Safe Area installation type. Using this option puts the updated PTC versions of customized files in the ptcCurrent directory. (A file is copied into the ptcCurrent directory only if the file exists in the siteMod directory.)
2. Using the three versions of the file found in the siteMod, ptcOrig, and ptcCurrent directories, determine what changes PTC has made in this maintenance release to each of your customized files.
* 
If there is no corresponding file in the ptcCurrent directory, then there are no updates for the file in the current maintenance release.
You can run the following swmaint.xml script from a Windchill shell to list the site changes contained in files that are under the wtSafeArea/siteMod directory:
ant -f bin/swmaint.xml listSiteChanges
Additionally, for other swmaint.xml script target options, see PTC Script for Working with Customized Files.
3. Update each filed that is in the siteMod directory appropriately.
4. After all files in the siteMod directory have been updated, run the following swmaint.xml script from a Windchill shell to copy the files into place for testing.
ant -f bin/swmaint.xml installSiteChanges
Running this target also lists all files that are not copied. Normally, there should be no files listed. Inspect any files listed to determine why they were not copied. If they were in the wrong directory, put them in the correct directory and rerun the script.
* 
The Windchill Service Pack installer executes this script and target automatically whenever there is a siteMod directory and you select the Complete installation type.
Isto foi útil?