Using Siebel Tools > Working with Archive Files > Exporting Objects to a Hot-Fix Using the Command-Line Interface >
Passing Some of the Arguments in an XML File
The process is similar to that in Passing All of the Arguments in the Command Line, but instead of naming the business service, method name, and providing a list of arguments, you use the /f switch and provide an XML file with the business service and method name parameters. The syntax is: consoleapp <SIEBEL_TOOLS_ROOT\BIN\ENU\ConfigFile.cfg> <Language> <Username> <Password> /f <ExportArgFile.xml>
For example: consoleapp "C:\Siebel\8.0\Tools\BIN\ENU\tools.cfg" ENU SADMIN SADMIN /f "C:\Siebel\8.0\Tools\ADM\admtest2\exportargs.xml"
where the XML file contains the following: <BusinessService Name="Siebel Tools Export Support for ADM" Method="Export">
<Param Name="Repository" Value="Siebel Repository"/>
<Param Name="LogFile" Value="C:\Siebel\8.0\Tools\ADM\admtest2\admtest2.log"/>
<Param Name="ExportFile" Value="C:\Siebel\8.0\Tools\ADM\admtest2\admtest2.sif"/>
<Param Name="DescriptorFile" Value="C:\Siebel\8.0\Tools\ADM\admtest2\admtest2_desc.xml"/>
<Param Name="ExportCount" Value="3"/>
<ExportObjects>
<Object Name="Account List Applet" Type="Applet"/>
<Object Name="Account" Type="Business Component"/>
<Object Name="Contact" Type="Business Component"/>
</ExportObjects>
</BusinessService>
|