Hi,
I am trying to use the Ant Get task to recursively fetch an entire tree
from a Slide file repository (default settings + versioning turned on).
I'm having trouble even getting a simple html file down using it, as it
never finds a match and says it is downloading 0 files. I'm using the
CVS Head from 2002-12-09 on jboss-3.0.4_tomcat-4.0.6 (port 8080 default)
under the /slide context with JDK 1.3.1 on Windows XP. Here is my Ant
target:
<target name="dav.fetch" depends="checkoptions">
<davget baseurl="http://localhost:8080/slide/"
dest="${src.webdav.dir}" verbose="true">
<include name="*.html"/>
</davget>
</target>
I have also tried:
<target name="dav.fetch" depends="checkoptions">
<davget baseurl="http://localhost:8080/slide/files"
dest="${src.webdav.dir}" verbose="true">
<include name="*.html"/>
</davget>
</target>
And:
<target name="dav.fetch" depends="checkoptions">
<davget baseurl="http://localhost:8080/slide/"
dest="${src.webdav.dir}" verbose="true">
<include name="/files/*.html"/>
</davget>
</target>
And:
<target name="dav.fetch" depends="checkoptions">
<davget baseurl="http://localhost:8080/slide/"
dest="${src.webdav.dir}" verbose="true">
<include name="files/*.html"/>
</davget>
</target>
Here is what my site looks like:
/slide
/files
/somefile.html
I am not using any security, and I actually pushed a large website into
Slide first. When doing the fetch, I noticed a substantial delay while
it grepped the files, but nothing returned properly. I am seeing the log
from Tomcat show the ant task hitting my local server, so I know that is
working properly. Is there something I am missing, or a bug I'm not
aware of? I tried searching mail-archive.com but nothing returned on the
user list.
Thanks,
James