I tried to use the dav:lock task, and got an error about certificates.
build.xml:258: Can't lock! (javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate found)
Not sure if this is related to the problem w/ dav:get or not.
I'm using SLIDE 2.1 Webdav Ant task. I downloaded the zip, copied the jars
to ant/lib and added a target to my build.xml. I did not see any other
configuration requirements. Is there more to setting up the ant webdav
client than I've done so far?
Michael Giroux
[EMAIL PROTECTED]
ll.com
To
06/22/2005 11:32 slide-user@jakarta.apache.org
AM cc
Subject
Please respond to WebDav
"Slide Users java.lang.IllegalStateException:
Mailing List" Not Used
<[EMAIL PROTECTED]
ta.apache.org>
Given the ANT target below, I'm getting an IllegalStateException: Not Used.
I am able to connect to the WebDav server using Windows Internet Explorer,
and Firefox so I know the site, user and pwd are correct. I'm not able to
figure out what the error is all about. I've checked the mail archive, but
did not see anything specific to this error.
Any thoughts?
Michael Giroux
<target name='wdtest'
depends='set.cvs.pwd'
description='test webdav'>
<dav:get
url="${dav.site}"
userid='${dav.user}'
password='${dav.pwd}'
todir="e:/tmp">
<davfileset dir='jdoc'>
<include name='**/*.html'/>
</davfileset>
</dav:get>
</target>
wdtest:
java.lang.IllegalStateException: Not Used.
at
org.apache.commons.httpclient.HttpMethodBase.checkUsed(HttpMethodBase.java:1689)
at
org.apache.webdav.lib.methods.PropFindMethod.getAllResponseURLs(PropFindMethod.java:403)
at
org.apache.webdav.ant.ResourceProperties.storeProperties(ResourceProperties.java:55)
at
org.apache.webdav.ant.CollectionScanner.readCollection(CollectionScanner.java:118)
at
org.apache.webdav.ant.CollectionScanner.scan(CollectionScanner.java:86)
at
org.apache.webdav.ant.WebdavFileSet.getCollectionScanner(WebdavFileSet.java:83)
at org.apache.webdav.ant.taskdefs.Get.downloadFileset(Get.java:117)
at org.apache.webdav.ant.taskdefs.Get.execute(Get.java:77)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
BUILD SUCCESSFUL
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]