From: Paul N. <pa...@tr...> - 2003-06-18 12:13:12
|
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/mockobjects/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 |
From: Jeff M. <jef...@mk...> - 2003-06-18 13:35:49
|
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. >=20 > I'm compiling with jakarta-commons-httpclient-2.0-2.beta1.1jpp. >=20 > CLASSPATH=3D/usr/share/java/jakarta-commons-httpclient.jar \ > ant jar-ext-httpclient >=20 > 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/mockobject= s/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 >=20 > 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. >=20 > Paul >=20 >=20 > ------------------------------------------------------- > 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 --=20 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 |
From: Paul N. <pa...@tr...> - 2003-06-18 14:02:34
|
On Wed, Jun 18, 2003 at 02:37:12PM +0100, Jeff Martin wrote: > 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. Well, I can build it - but any chance you have a simple test I can run to check I haven't broken anything :) Next I'm going to look at modularising the test targets, as I don't think I can do the j2ee stuff yet. Thanks for the speedy commit btw. Paul |
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 |
From: Paul N. <pa...@tr...> - 2003-06-19 08:36:38
|
On Wed, Jun 18, 2003 at 11:17:14PM +0100, Tim Mackinnon wrote: > Would it make sense to pull the commons bit for the moment then? As it's in 0.09 I'd say keep it in with a fix for a minor release (so I can package based on an upstream release) then pull at your option. Hopefully making it easy to install through jpackage will increase coverage :) Paul |
From: Jeff M. <jef...@mk...> - 2003-06-19 08:47:31
|
HTTPClient is a totally interface free area, hence the need to an alt API. On Wed, 2003-06-18 at 23:17, Tim Mackinnon wrote: > Would it make sense to pull the commons bit for the moment then? >=20 > Have you considered using the dynamic stuff for these rarer libraries, or= is > it not possible due to final and interface free classes? >=20 > Tim >=20 > > -----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=3D/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/classe= s > > > [javac] Compiling 13 source files to > > > /local/home/paul/rpm/BUILD/mockobjects-0.09/out/ext/httpclient/classe= s > > > [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 versio= n > > > 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 Partn= er. > > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commissi= on! > > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.ph= p > > > _______________________________________________ > > > 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 >=20 >=20 >=20 > ------------------------------------------------------- > 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 --=20 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 |