Configuration Versioning / Configure Xoom in preparation for configuration versioning |
Cut and paste the relevant template, for Git, Mercurial or Subversion, outside the <Examples> elements of the configuration file.
<Examples> <GitRepo> <ShouldClone>false</ShouldClone> <RemoteUrl>git@host-url:repo-name</RemoteUrl> <LocalRepo>C:\Path\To\Local\Repo</LocalRepo> <ShouldPullAndPush>true</ShouldPullAndPush> <XoomQuery> <!-- Source is xp-style source, and if specified is used instead of HostName and GetQuery. --> <Source>[xoom-server?localhost]:[query-name?DEFAULT] | repo-relative\file\path.xml</Source> <HostName>xoom-server</HostName> <GetQuery>query-name</GetQuery> <Transform>xp.exe-relative\transformation\path.xsl</Transform> <Transform>another\transformation.xsl</Transform> <Transform>Reports\RemoveTransactionalInformation.xsl</Transform> <Path>configuration\path\file.xml | configuration\path\per-item\</Path> </XoomQuery> <!-- There can be multiple queries --> <XoomQuery> <Source>localhost:DEFAULT</Source> <Transform>Reports\RemoveTransactionalInformation.xsl</Transform> <Path>configuration\server-name.xml</Path> </XoomQuery> <XoomQuery> <HostName>localhost</HostName> <GetQuery>DEFAULT</GetQuery> <Transform>Reports\RemoveTransactionalInformation.xsl</Transform> <Path>configuration\server-name\</Path> </XoomQuery> </GitRepo> <HgRepo> <ShouldClone>true</ShouldClone> <RemoteUrl>hg-repo-url</RemoteUrl> <LocalRepo>C:\Path\To\Local\Repo</LocalRepo> <ShouldPullAndPush>true</ShouldPullAndPush> <XoomQuery> <!-- Source is xp-style source, and if specified is used instead of HostName and GetQuery. --> <Source>[xoom-server?localhost]:[query-name?DEFAULT] | repo-relative\file\path.xml</Source> <HostName>xoom-server</HostName> <GetQuery>query-name</GetQuery> <Transform>xp.exe-relative\transformation\path.xsl</Transform> <Transform>another\transformation.xsl</Transform> <Transform>Reports\RemoveTransactionalInformation.xsl</Transform> <Path>configuration\path\file.xml | configuration\path\per-item\</Path> </XoomQuery> </HgRepo> <SvnRepo> <ServerUrl>svn-repo-url</ServerUrl> <WorkingCopy>C:\Path\To\Local\Working\Copy</WorkingCopy> <XoomQuery> <Source>[xoom-server?localhost]:[query-name?DEFAULT] | repo-relative\file\path.xml</Source> <HostName>xoom-server</HostName> <GetQuery>query-name</GetQuery> <Transform>xp.exe-relative\transformation\path.xsl</Transform> <Transform>another\transformation.xsl</Transform> <Transform>Reports\RemoveTransactionalInformation.xsl</Transform> <Path>configuration\path\file.xml | configuration\path\per-item\</Path> </XoomQuery> </SvnRepo> </Examples>
<GitRepo> <ShouldClone>false</ShouldClone> <RemoteUrl>git@host-url:repo-name</RemoteUrl> <LocalRepo>C:\Path\To\Local\Repo</LocalRepo> <ShouldPullAndPush>true</ShouldPullAndPush> <XoomQuery> <!-- Source is xp-style source, and if specified is used instead of HostName and GetQuery. --> <Source>[xoom-server?localhost]:[query-name?DEFAULT] | repo-relative\file\path.xml</Source> <HostName>xoom-server</HostName> <GetQuery>query-name</GetQuery> <Transform>xp.exe-relative\transformation\path.xsl</Transform> <Transform>another\transformation.xsl</Transform> <Transform>Reports\RemoveTransactionalInformation.xsl</Transform> <Path>configuration\path\file.xml | configuration\path\per-item\</Path> </XoomQuery> <!-- There can be multiple queries --> <XoomQuery> <Source>localhost:DEFAULT</Source> <Transform>Reports\RemoveTransactionalInformation.xsl</Transform> <Path>configuration\server-name.xml</Path> </XoomQuery> <XoomQuery> <HostName>localhost</HostName> <GetQuery>DEFAULT</GetQuery> <Transform>Reports\RemoveTransactionalInformation.xsl</Transform> <Path>configuration\server-name\</Path> </XoomQuery> </GitRepo>