Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 30209 invoked from network); 29 Dec 2005 16:30:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Dec 2005 16:30:34 -0000 Received: (qmail 21523 invoked by uid 500); 29 Dec 2005 16:30:29 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 21511 invoked by uid 500); 29 Dec 2005 16:30:29 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 21499 invoked by uid 99); 29 Dec 2005 16:30:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2005 08:30:29 -0800 X-ASF-Spam-Status: No, hits=1.7 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 204.127.202.64 is neither permitted nor denied by domain of hoju@visi.com) Received: from [204.127.202.64] (HELO sccrmhc13.comcast.net) (204.127.202.64) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Dec 2005 08:30:28 -0800 Received: from nicki.visi.com (c-66-41-141-26.hsd1.mn.comcast.net[66.41.141.26]) by comcast.net (sccrmhc13) with SMTP id <2005122916300501300oq5rfe>; Thu, 29 Dec 2005 16:30:05 +0000 Message-Id: <5.2.1.1.0.20051229102755.03606740@127.0.0.1> X-Sender: hoju@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Thu, 29 Dec 2005 10:29:59 -0600 To: "Jakarta Commons Users List" From: Jacob Kjome Subject: Re: [VFS] Re: dependency on commons-httpclient? (was Re: vfs question) In-Reply-To: <5.2.1.1.0.20051229101718.0354e308@127.0.0.1> References: <2e67829d0512290205l2132c2a5sefa77a29fe522b18@mail.gmail.co m> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Relayed-By: GPGrelay Version 0.959 (Win32) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N "If you use WebDav, it is not mandatory because WebDav depends on it." should have been... "If you use WebDav, it is mandatory because WebDav depends on it." Just a change in my train of thought from saying "not optional" to=20 "mandatory" and forgetting to drop the "not". Whoops! Jake At 10:26 AM 12/29/2005 -0600, you wrote: > >Of course, commons-httpclient should be an *optional* dependency. If you >use WebDav, it is not mandatory because WebDav depends on it. But for >basic HTTP stuff, it should still be optional and fall back to using >URL.openConnection(). When commons-httpclient is available, it should= give >you some extra functionality, that's all. If you are attempting to grab >something via an HTTP URL and VFS bombs out because it doesn't have >commons-httpclient in the classpath, I think that should be reported as a >bug. Maybe Mario can verify this? > >Jake > >At 12:05 PM 12/29/2005 +0200, you wrote: > >Yes, you need to include the Commons HttpClient library. Please see the= =20 list > >of dependencies here:= http://jakarta.apache.org/commons/vfs/download.html > > > >Regards, > >Robert > > > >On 12/29/05, =B6=A1=EE=A3 wrote: > >> > >> > >> yeah, u'r right! > >> > >> I must include the common httpclient if I want to user vfs? > >> > >> > >> > >> > >> -----=D4=AD=CA=BC=D3=CA=BC=FE----- > >> =B7=A2=BC=FE=C8=CB: Robert Enyedi [mailto:renyedi@gmail.com] > >> =B7=A2=CB=CD=CA=B1=BC=E4: 2005=C4=EA12=D4=C229=C8=D5 17:38 > >> =CA=D5=BC=FE=C8=CB: Jakarta Commons Users List > >> =D6=F7=CC=E2: Re: vfs question > >> > >> > >> Hi, > >> > >> Both org.apache.commons.httpclient.URIException and import > >> org.apache.commons.httpclient.util.URIUtil are used by the URLFileName > >> class. And yes, VFS has a dependency on the Commons HttpClient= library. > >> Was > >> this your question? > >> > >> Regards, > >> Robert > >> > >> On 12/29/05, ?? wrote: > >> > > >> > > >> > any body use vfs? > >> > > >> > I meet a question? > >> > > >> > in org.apache.commons.vfs.provider.URLFileName ; > >> > > >> > import org.apache.commons.httpclient.URIException; > >> ???????why? > >> > import org.apache.commons.httpclient.util.URIUtil > >> > ; ???????why? > >> > import org.apache.commons.vfs.FileName; > >> > import org.apache.commons.vfs.FileSystemException; > >> > import org.apache.commons.vfs.FileType; > >> > > >> > > >> > > >> > > >> > if the class like this.it's depended on Commons Httpclient. > >> > > >> > > >> > Is there any question here? > >> > > >> > > >> > > >> > > >> > >************************************************************************= =20 **** > >**************************************************** > >> > The information in this email is confidential and may be legally > >> > privileged. If you have received this email in error or are > >> > not the intended recipient, please immediately notify the sender and > >> > delete this message from your computer. Any use, distribution, > >> > or copying of this email other than by the intended recipient is > >> strictly > >> > prohibited. All messages sent to and from us may be > >> > monitored to ensure compliance with internal policies and to=20 protect our > >> > business. > >> > Emails are not secure and cannot be guaranteed to be error free as= they > >> > can be intercepted, amended, lost or destroyed, > >> > or contain viruses. Anyone who communicates with us by email is=20 taken to > >> > accept these risks. > >> > > >> > =CA=D5=B7=A2=D3=CA=BC=FE=D5=DF=C7=EB=D7=A2=D3=E2=A3=BA > >> > > >=B1=BE=D3=CA=BC=FE=BA=AC=B1=A3=C3=DC=D0=C5=CF=A2=A3=AC=C8=F4=CE=F3=CA=D5= =B1=BE=D3=CA=BC=FE=A3=AC=C7=EB=CE=F1=B1=D8=CD=A8=D6=AA=B7=A2=CB=CD=C8=CB=B2= =A2=D6=B1=BD=D3=C9=BE=C8=A5=A3=AC=B2=BB=B5=C3=CA=B9=D3=C3=A1=A2=B4=AB=20 =B2=A5=BB=F2 > >=B8=B4=D6=C6=B1=BE=D3=CA=BC=FE=A1=A3 > >> > > >=BD=F8=B3=F6=D3=CA=BC=FE=BE=F9=CA=DC=B5=BD=B1=BE=B9=AB=CB=BE=BA=CF=B9=E6= =BC=E0=BF=D8=A1=A3=D3=CA=BC=FE=BF=C9=C4=DC=B7=A2=C9=FA=B1=BB=BD=D8=C1=F4=A1= =A2=B1=BB=D0=DE=B8=C4=A1=A2=B6=AA=CA=A7=A1=A2=B1=BB=C6=C6=BB=B5=BB=F2=20 =B0=FC=BA=AC > >=BC=C6=CB=E3=BB=FA=B2=A1=B6=BE=B5=C8=B2=BB=B0=B2=C8=AB=C7=E9=BF=F6=A1=A3 > >> > > >> > > >> > >************************************************************************= =20 **** > >**************************************************** > >> > > >> >= --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > >> > For additional commands, e-mail:= commons-user-help@jakarta.apache.org > >> > > >> > > >> > >> > >> > >> > >************************************************************************= =20 **** > >**************************************************** > >> The information in this email is confidential and may be legally > >> privileged. If you have received this email in error or are > >> not the intended recipient, please immediately notify the sender and > >> delete this message from your computer. Any use, distribution, > >> or copying of this email other than by the intended recipient is= strictly > >> prohibited. All messages sent to and from us may be > >> monitored to ensure compliance with internal policies and to protect= our > >> business. > >> Emails are not secure and cannot be guaranteed to be error free as= they > >> can be intercepted, amended, lost or destroyed, > >> or contain viruses. Anyone who communicates with us by email is taken= to > >> accept these risks. > >> > >> =CA=D5=B7=A2=D3=CA=BC=FE=D5=DF=C7=EB=D7=A2=D3=E2=A3=BA > >> > >=B1=BE=D3=CA=BC=FE=BA=AC=B1=A3=C3=DC=D0=C5=CF=A2=A3=AC=C8=F4=CE=F3=CA=D5= =B1=BE=D3=CA=BC=FE=A3=AC=C7=EB=CE=F1=B1=D8=CD=A8=D6=AA=B7=A2=CB=CD=C8=CB=B2= =A2=D6=B1=BD=D3=C9=BE=C8=A5=A3=AC=B2=BB=B5=C3=CA=B9=D3=C3=A1=A2=B4=AB=20 =B2=A5=BB=F2 > >=B8=B4=D6=C6=B1=BE=D3=CA=BC=FE=A1=A3 > >> > >=BD=F8=B3=F6=D3=CA=BC=FE=BE=F9=CA=DC=B5=BD=B1=BE=B9=AB=CB=BE=BA=CF=B9=E6= =BC=E0=BF=D8=A1=A3=D3=CA=BC=FE=BF=C9=C4=DC=B7=A2=C9=FA=B1=BB=BD=D8=C1=F4=A1= =A2=B1=BB=D0=DE=B8=C4=A1=A2=B6=AA=CA=A7=A1=A2=B1=BB=C6=C6=BB=B5=BB=F2=20 =B0=FC=BA=AC > >=BC=C6=CB=E3=BB=FA=B2=A1=B6=BE=B5=C8=B2=BB=B0=B2=C8=AB=C7=E9=BF=F6=A1=A3 > >> > >> > >************************************************************************= =20 **** > >**************************************************** > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > >> For additional commands, e-mail: commons-user-help@jakarta.apache.org > >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: commons-user-help@jakarta.apache.org > > > =20 --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org