From: Tim M. <tim...@po...> - 2003-06-18 22:12:59
|
Would it make sense to pull the commons bit for the moment then? Have you considered using the dynamic stuff for these rarer libraries, or is it not possible due to final and interface free classes? Tim > -----Original Message----- > From: moc...@li... > [mailto:moc...@li...]On Behalf Of > Jeff Martin > Sent: 18 June 2003 14:37 > To: MockObjects > Subject: Re: [MO-java-dev] Httpclient Extension question > > > Go for it it's been something I've been meaning to do for a while, but > not got around to it. Think I'm probably the only person using it > anyway. > > On Wed, 2003-06-18 at 13:10, Paul Nasrat wrote: > > Apologies for wrapping. > > > > I'm compiling with jakarta-commons-httpclient-2.0-2.beta1.1jpp. > > > > CLASSPATH=/usr/share/java/jakarta-commons-httpclient.jar \ > > ant jar-ext-httpclient > > > > compile-ext-httpclient: > > [mkdir] Created dir: > > /local/home/paul/rpm/BUILD/mockobjects-0.09/out/ext/httpclient/classes > > [javac] Compiling 13 source files to > > /local/home/paul/rpm/BUILD/mockobjects-0.09/out/ext/httpclient/classes > > [javac] > > > /local/home/paul/rpm/BUILD/mockobjects-0.09/src/extensions/com/moc kobjects/apache/commons/httpclient/MockHttpMethod.java:10: > > com.mockobjects.apache.commons.httpclient.MockHttpMethod should be > > declared abstract; it does not define getHostConfiguration() in > > com.mockobjects.apache.commons.httpclient.MockHttpMethod > > [javac] public class MockHttpMethod extends MockMethodHelper > > implements HttpMethod { > > [javac] ^ > > [javac] Note: Some input files use or override a deprecated API. > > [javac] Note: Recompile with -deprecation for details. > > [javac] 1 error > > > > This looks like a signature change in commons-httpclient, what version > > have people been building against. The patch is trivial but I'm not > > sure if it should be submitted. > > > > Paul > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Mockobjects-java-dev mailing list > > Moc...@li... > > https://lists.sourceforge.net/lists/listinfo/mockobjects-java-dev > -- > > jeff martin > information technologist > mkodo limited > > mobile: 44 (0) 78 55 478 331 > phone: 44 (0) 20 77 29 45 45 > email: jef...@mk... > > www.mkodo.com > > 73 Leonard St, London, EC2A 4QS. U.K > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.490 / Virus Database: 289 - Release Date: 16/06/2003 |