Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 12384 invoked from network); 3 Jun 2009 17:56:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jun 2009 17:56:45 -0000 Received: (qmail 91227 invoked by uid 500); 3 Jun 2009 17:56:41 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 90751 invoked by uid 500); 3 Jun 2009 17:56:39 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 90241 invoked by uid 99); 3 Jun 2009 17:49:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 17:49:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [206.190.38.35] (HELO web50107.mail.re2.yahoo.com) (206.190.38.35) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 03 Jun 2009 17:49:06 +0000 Received: (qmail 96958 invoked by uid 60001); 3 Jun 2009 17:48:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1244051324; bh=QM7oaEG+pzPhfC+dBE3jrZalDpguzovy004l5Fcgx5k=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=ZoVK7re5c3vMSQfnh7W4Jp6haKjZs59IG5fBaIJc82aY1mn+XVKX2irEbsuzblhRoAAuJPR1qgbzOQtLgO1DlDqPRp/MSrdq/Q+KTUY2G9KbXfyaEVaktBEWavhO3UwauYsQz6oNE+HlbAzlyO5lbhfGZiaF6GlkfFoMR7tN79M= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=3zBxdY80LA9ykJ2q2I0knp3TugBwJg+SjokxDiLhgV1JFR2biWVSQM/lBA6aPsPxCLNFOWhlD+Z9L+5QJIbWBnhNToVF37nq1jk4vGcZmTJO3Dq1/zq7gmrPfVlDJn5yErmdyrvIBMFFM+r5D8FGyplm+UXDlux0iSzsif7Q7YI=; Message-ID: <850133.95293.qm@web50107.mail.re2.yahoo.com> X-YMail-OSG: xSxYKNwVM1kqj4VK26KlYt7W1eJWGfc3NdIXRsRac3w.gzzhrwdDku4okKWr7dDrym8KqqjCQoNnNKYWJAoNYcwH4OuGzTBRFwpjjTJevqlr1gPf9rf_Tr.0KyHBnPoMKLC3kyG28tGKPMiAXYb2BF3BDt6r4o0cZ0L1o1BrUNwp92rLjQ8doJ4J9lzrbfzkgoQDzFch2EzdKqlvAIFGMxze2HRGiBxodI4vRgjJOWonhor86hy1NvOTpRNf.plNWZt3W00KlBosFewNaM4nPifXaX_BSPoxMYewESJ4M8Q6Dwcz1TcZsgnYElLdzz544vxVw7JkTVTcljEhNQ-- Received: from [24.6.70.84] by web50107.mail.re2.yahoo.com via HTTP; Wed, 03 Jun 2009 10:48:44 PDT X-Mailer: YahooMailClassic/5.4.12 YahooMailWebService/0.7.289.10 Date: Wed, 3 Jun 2009 10:48:44 -0700 (PDT) From: Will McQueen Subject: httpcomponents-client-4.0-beta3-SNAPSHOT + httpcomponents-core-4.1-SNAPSHOT? To: httpclient-users@hc.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org Hi Oleg, I noticed that the currently-downloadable HttpClient 4.0-beta2 relies on the non-final beta release of HttpCore 4.0 (httpcore-4.0-beta3). It seems wasteful not to take advantage of the *final* core version now that it's available, so I looked at the svn repos for HttpClient: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk ...and found that the POM file now specifies HttpCore 4.0 final (and mime4j 0.6 instead of 0.5). Great :-) Maybe I should d/l the latest HttpClient b3 snapshot ("httpcomponents-client-4.0-beta3-SNAPSHOT"). But then I go to HttpCore svn repos: https://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk ...and I see a 4.1 snapshot ("httpcomponents-core-4.1-SNAPSHOT")... hmmm, it seems wasteful not to take advantage of all those httpcore bug fixes since 4.0 final... so I'm thinking about modifying the HttpClient 4.0b3 snapshot's POM file to depend on HttpCore 4.1 snapshot instead of HttpCore 4.0 GA, so that I can get the best of both. So my questions are (if you please...): 1) I know only the basics of POM right now. It seems that all I'd need to do to get the current best of both would be to modify this POM: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/pom.xml ...so that this: 4.0 ...becomes this: 4.1-SNAPSHOT Is that right? Or is there some other change I'd need to make somewhere else either in this file or some other file? 2) I looked at BUILDING.txt: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/BUILDING.txt ...but I didn't find the answer to the following question: "In order to build httpclient using maven, do I just need to checkout only the POM.xml file and run maven against it (after which it will download everything it needs at runtime, including tests, junit jars, etc), or do I need to check-out the entire trunk and then run maven?" Could you please help me answer this? 3) I plan to run all tests from maven against both the httpcore and the httpclient snapshots -- ie, I realize that if I run the tests only against the client, then I'd be executing all httpclient tests but I'd be missing-out on all the httpcore tests... so I'd need to grab the httpcore pom as well, just for the purpose of executing the core-only tests. It's too bad there's not an option in the single httpclient pom file to be able to exercise both the httpclient tests and the httpcore tests against the httpclient snapshot. After executing the tests, and assuming that all tests pass, then what would you say are the biggest risks to using this user-generated build instead of waiting for the non-snapshot "release"/downloadable version of httpclient b3? If I know the biggest risks and can accept them, then I'd feel much more comfortable using my custom-built jars. At what point do you decide when to tag a build -- do you tag it when all tests pass and there have been a substantial amount of bug fixes / new features? Lots of question, I know. I'm eager and excited to be almost ready to start seriously using httpclient4. At work, we currently use httpclient3.1 to test against the REST web services on our staging server. We also test against Production immediately after a deploy. Thank you. PS: I've read through the current version of the HttpClient4 tutorial... very nice job so far! :-) Cheers, Will --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org