projectmerge -fc:\temp\merge.xml -sptest -dptest -smptest -dmptest -MD -SU
The path to the XML file cannot contain spaces. For example, c:\program files\xml\merge.xml is invalid. The short name of directories can be used, for example c:\progra~1\xml\merge.xml, or the entire path can be placed in double quotes, for example "c:program files\xml\merge.xml".
To run multiple sessions of the Project Merge Wizard with the same source project, users must make the following changes to the XML file:
Under OMSettingsOnOff, add the following:
<SkipProjectMergeSourceLockingSkipProjectMergeDestConfigLocking/>
NOTE: Make sure that the Project Merge log file names are different in each XML file. Also make sure to note that this will not work or take affect if configuration objects are being brought over with the merge such as Database Instances.
All command line parameters are described below:
- -f[] - Specifies the path and file name, but note that it is without spaces of the XML file to use. Users must have already created the file using the Project Merge Wizard. Example: -fc:\files\merge.xml
- -sp[] - Password for Source Project Source. The login ID to be used is stored in the XML file. Example: sptest
- -dp[] - Password for Destination Project Source. The login ID to be used is stored in the XML file. Example: dptest
- -smp[] - Password for Source metadata. The login ID to be used is stored in the XML file. Example: -smtest
- -dmp[] - Password for Destination metadata. The login ID to be used is stored in the XML file. Example: -dmtest
- -sup - Suppress progress windows. This is useful for running a project merge in the background, and the windows displaying status of merge do not appear.
- -MD - Forces metadata update of Destination metadata if it is older than the Source metadata. Project Merge will not execute unless Destination Metadata is more recent.
- -SU - Updates the schema of the Destination project after the Project Merge is completed.
- -h - Displays help and explanations for all of the above parameters.