Adapter Configuration You must provide a valid configuration file for the

Adapter configuration you must provide a valid

This preview shows page 86 - 88 out of 92 pages.

Adapter Configuration You must provide a valid configuration file for the Subversion adapter. This is an XML-based file that can reside anywhere on the deployment source host. This file is referenced in the deployment configuration. You can configure the Subversion Checkout command, which synchronizes and aggregates content from the Subversion repository. A sample configuration file ( subversionCheckoutConfig_example.xml ) resides in the following location. od-home/adapters/payload/scm/subversion/conf In the deployment configuration, provide the full path to the Subversion adapter configuration file as a CDATA string within the custom child element of the payLoadRules element. For example: <payLoadRules> <action name="deploy"/> <custom>od-home/adapters/payload/scm/subversion/ conf/subversionCheckoutConfig.xml</custom> </payLoadRules> The following sample shows this configuration. <subversion name="subversion" execPath="/usr/local/bin"> <subversionCheckout repositorypath="" revision="" nonrecursive="no" nonauthcache="yes" configdir=""ignoreext="yes" password="" passwordEncoded="no" username=""workingdir="/usr/working"> <subversionItem itemPath="myproject"/> </subversionCheckout>
Image of page 86
Chapter 3 Payload Adapters </subversion> Elements and Attributes You must update the DOCTYPE to include the full path to the subversionSCM.dtd on your host using the following syntax. <!DOCTYPE subversion SYSTEM "- home/adapters/payload/scm/subversion/dtd/SubversionSCM.dtd"> Note the use of three slashes (“///”). Here is a list of the elements and attributes associated with this configuration file. l subversion element defines the Subversion adapter configuration. This elements contains the following attributes. n name specifies the name for this Subversion configuration. n execPath specifies the full path to the Subversion executable file. l subversionCheckout element defines the checkout command for Subversion. This elements contains the following attributes. n repositorypath specifies the source location of the Subversion repository. For example: repositorypath="" n revision specifies a particular revision n username specifies a user name n password specifies a password to accompany the user name n passwordEncoded indicates whether ( yes ) or not ( no ) the Subversive adapter is password encoded. Use the iwodpasscoder OpenDeploy command-line tool to generate the encoded password. Refer to iwodpasscoder in the OpenDeploy Reference Guide for more information on this tool. Default value is no . If 'strictAuthentication ' is set to ' yes ' in <listenerProperties> any password decoding requests to OD server is treated as decryption. As such password should be encrypted using iwodpassencrypter OpenDeploy command-line tool. Refer to section on iwodpassencrypter in the OpenDeploy Reference Guide for more information on this tool.
Image of page 87
Image of page 88

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture