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]

Reply via email to