ovidiu      2002/10/01 02:30:11

  Modified:    src/test/anteater sitemapReload.xml
  Log:
  Use overwrite mode when copying files.
  
  Revision  Changes    Path
  1.2       +9 -7      xml-cocoon2/src/test/anteater/sitemapReload.xml
  
  Index: sitemapReload.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/test/anteater/sitemapReload.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sitemapReload.xml 1 Oct 2002 09:01:14 -0000       1.1
  +++ sitemapReload.xml 1 Oct 2002 09:30:11 -0000       1.2
  @@ -14,10 +14,11 @@
       <!-- Copy the sitemap from its source directory to the destination
       area, and replace the parameter value with 'abc' -->
   
  -    <copy toDir="${deploy-dir}${test-dir}"
  -       file="${src-webapp-dir}${test-dir}/sitemap.xmap">
  +    <copy file="${src-webapp-dir}${test-dir}/sitemap.xmap"
  +       tofile="${deploy-dir}${test-dir}/sitemap.xmap"
  +       overwrite="yes">
         <filterset>
  -     <filter token="@parameter@" value="abc"/>
  +     <filter token="PARAMETER" value="abc"/>
         </filterset>
       </copy>
   
  @@ -31,14 +32,15 @@
       <!-- Copy the sitemap from its source directory to the destination
       area, and replace the parameter value with '123' -->
   
  -    <copy toDir="${deploy-dir}${test-dir}"
  -       file="${src-webapp-dir}${test-dir}/sitemap.xmap">
  +    <copy file="${src-webapp-dir}${test-dir}/sitemap.xmap"
  +       tofile="${deploy-dir}${test-dir}/sitemap.xmap"
  +       overwrite="yes">
         <filterset>
  -     <filter token="@parameter@" value="123"/>
  +     <filter token="PARAMETER" value="123"/>
         </filterset>
       </copy>
   
  -    <httpRequest debug="10" href="${url}"
  +    <httpRequest href="${url}"
                 description="Send next request after sitemap was modified">
         <match>
           <xpath select="html/body//p" value="123"/>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to