Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 23369 invoked from network); 2 Nov 2004 19:26:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Nov 2004 19:26:43 -0000 Received: (qmail 45126 invoked by uid 500); 2 Nov 2004 19:25:23 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 44973 invoked by uid 500); 2 Nov 2004 19:25:20 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 44806 invoked by uid 99); 2 Nov 2004 19:25:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [165.98.147.95] (HELO ags01.agsoftware.dnsalias.com) (165.98.147.95) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 11:25:17 -0800 Received: from ags01.agsoftware.dnsalias.com (localhost.localdomain [127.0.0.1]) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.10) with ESMTP id iA2JPDiv008714 for ; Tue, 2 Nov 2004 13:25:13 -0600 Received: (from apache@localhost) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.11/Submit) id iA2JPDgW008713; Tue, 2 Nov 2004 13:25:13 -0600 X-Authentication-Warning: ags01.agsoftware.dnsalias.com: apache set sender to agallardo@agssa.net using -f Received: from 80.219.8.172 (SquirrelMail authenticated user agallardo); by agssa.net with HTTP; Tue, 2 Nov 2004 13:25:13 -0600 (CST) Message-ID: <32789.80.219.8.172.1099423513.squirrel@80.219.8.172> In-Reply-To: <4187A72D.9010307@apache.org> References: <4187A72D.9010307@apache.org> Date: Tue, 2 Nov 2004 13:25:13 -0600 (CST) Subject: Re: [GUMP@brutus]: Project cocoon-block-proxy (in module cocoon) failed From: "Antonio Gallardo" To: dev@cocoon.apache.org User-Agent: SquirrelMail/1.4.3a-1 X-Mailer: SquirrelMail/1.4.3a-1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Stefano Mazzocchi dijo: > Gump wrote: > >> cocoon-block-proxy-compile: >> [javac] Compiling 4 source files to >> /home/gump/workspaces2/public/workspace/cocoon/build/cocoon-02112004/blocks/proxy/dest >> [javac] >> /home/gump/workspaces2/public/workspace/cocoon/src/blocks/proxy/java/org/apache/cocoon/generation/HttpProxyGenerator.java:294: >> cannot resolve symbol >> [javac] symbol : method getRequestBodyAsString () >> [javac] location: class >> org.apache.commons.httpclient.methods.PostMethod >> [javac] String body = ((PostMethod) >> this.method).getRequestBodyAsString(); >> [javac] ^ >> [javac] 1 error > > I don't know how to fix this one from the gump side, it needs some code > changes since httpclient change a lot since this code was created. > > Any ideas? I saw the code of httpclient 2.0.x and 3.0 and it is quite diferent. They are changing a lot in the new 3.0.x release. If we want gump compile this block, we need to add a dependency to our own distributed jar version 2.0.2. I know this is a hack. The other way is to see more in depth and find a way to compile code using both httpclient 2.0.2 and 3.0 too. WDYT? Best Regards, Antonio Gallardo