You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by an...@alice.it on 2005/08/25 17:19:13 UTC

[vfs] unexpected error compiling commons-vfs 20050825

I have a trouble with WebdavFileObject.java on commons-vfs nightly build 20050825.

I tried to compile it with commons-net 1.4.0, webdavlib 2.1, commons-httpclient 2.0.2, 
and I got an unexpected error at line 630: "symbol not found: addRequestHeader(String, 
String)"

        private void createStream() throws IOException
        {
            if (dis != null)
            {
                return;
            }

>>>         fileObject.resource.addRequestHeader("Range", "bytes="
                + filePointer + "-");  <<<
            final InputStream data = fileObject.resource.getMethodData();
            final int status = fileObject.resource.getStatusCode();

Does anybody have  an idea where I am faulty? 10q

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [vfs] unexpected error compiling commons-vfs 20050825

Posted by Mario Ivankovits <ma...@ops.co.at>.
andrea.rombaldi@alice.it wrote:
>I have a trouble with WebdavFileObject.java on commons-vfs nightly build 20050825.
>  
You do not use ant or maven, do you?

The website is not in sync with the repository due to the 
ReleaseCandidate builds.

Please use
http://www.ibiblio.org/maven/slide/jars/jakarta-slide-webdavlib-20050629.161100.jar

Please have a look in build.xml - task "get-deps".

Sorry for the inconvenience.

---
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org