summaryrefslogtreecommitdiff
path: root/t/srt.xml
diff options
context:
space:
mode:
Diffstat (limited to 't/srt.xml')
-rw-r--r--t/srt.xml72
1 files changed, 72 insertions, 0 deletions
diff --git a/t/srt.xml b/t/srt.xml
new file mode 100644
index 0000000..32e2b53
--- /dev/null
+++ b/t/srt.xml
@@ -0,0 +1,72 @@
+<?xml version='1.0' standalone='yes'?>
+
+<!--
+
+ This is an example of what a simple config file used by the System Release
+ Tool (SRT) might look like. The file itself doesn't do anything other
+ than serve as a moderately complex test case for t/1_XMLin.t.
+
+ If you would like to find out more about the SRT, email the author at:
+
+ grantm@cpan.org
+
+-->
+
+<opt>
+ <global tempdir="C:/Temp"
+ httpproxy="http://10.1.1.5:8080/"
+ proxyuser="foo"
+ proxypswd="bar" >
+
+ <exclude>/_vt</exclude>
+ <exclude>/save\b</exclude>
+ <exclude>\.bak$</exclude>
+ <exclude>\.\$\$\$$</exclude>
+
+ </global>
+
+ <pubpath name="test1" title="web_source -&gt; web_target1">
+ <source label="web_source"
+ root="C:/webshare/web_source" />
+ <target label="web_target1"
+ root="C:/webshare/web_target1"
+ temp="C:/webshare/web_target1/temp" />
+
+ <dir>wwwroot</dir>
+
+ <package name="images" dir="wwwroot/images" />
+
+ </pubpath>
+
+ <pubpath name="test2" title="web_source -&gt; web_target1 &amp; web_target2">
+ <source label="web_source"
+ root="C:/webshare/web_source" />
+ <target label="web_target1"
+ root="C:/webshare/web_target1"
+ temp="C:/webshare/web_target1/temp" />
+ <target label="web_target2"
+ root="C:/webshare/web_target2"
+ temp="C:/webshare/web_target2/temp" />
+
+ <dir>wwwroot</dir>
+
+ <package name="images" dir="wwwroot/images" />
+ <package name="templates" dir="wwwroot/templates" />
+ <package name="bios" dir="wwwroot/staff/bios" />
+
+ </pubpath>
+
+ <pubpath name="test3" title="web_source -&gt; web_target1 via HTTP">
+ <source label="web_source"
+ root="C:/webshare/web_source" />
+ <target label="web_target1"
+ root="http://127.0.0.1/cgi-bin/srt_slave.plx"
+ noproxy="1" />
+
+ <dir>wwwroot</dir>
+
+ <addexclude>\.pdf$</addexclude>
+
+ </pubpath>
+
+</opt>