Table of Contents

Search

  1. Preface
  2. Command Line Programs and Utilities
  3. Installing and Configuring Command Line Utilities
  4. Using the Command Line Programs
  5. Environment Variables for Command Line Programs
  6. Using infacmd
  7. infacmd as Command Reference
  8. infacmd aud Command Reference
  9. infacmd autotune Command Reference
  10. Infacmd bg Command Reference
  11. infacmd ccps Command Reference
  12. infacmd cluster Command Reference
  13. infacmd cms Command Reference
  14. infacmd dis Command Reference
  15. infacmd dps Command Reference
  16. infacmd edl Command Reference
  17. Infacmd es Command Reference
  18. infacmd ihs Command Reference
  19. infacmd ipc Command Reference
  20. infacmd isp Command Reference
  21. infacmd ldm Command Reference
  22. infacmd mas Command Reference
  23. infacmd mi Command Reference
  24. infacmd mrs Command Reference
  25. infacmd ms Command Reference
  26. infacmd oie Command Reference
  27. infacmd ps Command Reference
  28. infacmd pwx Command Reference
  29. infacmd roh Command Reference
  30. infacmd rms Command Reference
  31. infacmd rtm Command Reference
  32. infacmd sch Command Reference
  33. infacmd search Command Reference
  34. infacmd sql Command Reference
  35. infacmd tdm Command Reference
  36. infacmd tools Command Reference
  37. infacmd wfs Command Reference
  38. infacmd ws Command Reference
  39. infacmd xrf Command Reference
  40. infacmd Control Files
  41. infasetup Command Reference
  42. pmcmd Command Reference
  43. pmrep Command Reference
  44. Working with pmrep Files

Listing Multiple Source and Target Folders

Listing Multiple Source and Target Folders

Use the OVERRIDEFOLDER element in the control file to list multiple source and target folders. Use the SOURCEFOLDERNAME and TARGETFOLDERNAME attributes to specify the following folders in the source and target repositories:
  • The folder or folders that shortcuts point to
  • The folder or folders containing the deployment group objects
When you run the
pmrep
command, DeployDeploymentGroup, the deploy process picks the right target folder to use after checking the objects in the deployment group.
For example, if a deployment group contains objects in two folders with shortcuts to a third folder, you can create a control file with three occurrences of OVERRIDEFOLDER. The following sample control file deploys a deployment group that contains objects in the folders OBJECTFOLDER1 and OBJECTFOLDER2 that contain shortcuts pointing to the folder SHAREDSHORTCUT:
<!DOCTYPE DEPLOYPARAMS SYSTEM "depcntl.dtd"> <DEPLOYPARAMS DEFAULTSERVERNAME="dg_sun_71099"    COPYPROGRAMINFO="YES"    COPYMAPVARPERVALS="YES"    COPYWFLOWVARPERVALS="YES"    COPYWFLOWSESSLOGS="NO"    COPYDEPENDENCY="YES"    LATESTVERSIONONLY="YES"    RETAINGENERATEDVAL="YES"    RETAINSERVERNETVALS="YES"> <DEPLOYGROUP CLEARSRCDEPLOYGROUP="NO"> <OVERRIDEFOLDER SOURCEFOLDERNAME="OBJECTFOLDER1"    SOURCEFOLDERTYPE="LOCAL"    TARGETFOLDERNAME="OBJECTFOLDER1"    TARGETFOLDERTYPE="LOCAL"/> <OVERRIDEFOLDER SOURCEFOLDERNAME="OBJECTFOLDER2"    SOURCEFOLDERTYPE="LOCAL"    TARGETFOLDERNAME="OBJECTFOLDER2"    TARGETFOLDERTYPE="LOCAL"/> <OVERRIDEFOLDER SOURCEFOLDERNAME="SHAREDSHORTCUTS"    SOURCEFOLDERTYPE="GLOBAL"    TARGETFOLDERNAME="SHAREDSHORTCUTS"    TARGETFOLDERTYPE="GLOBAL"/> </DEPLOYGROUP> </DEPLOYPARAMS>

0 COMMENTS

We’d like to hear from you!