Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 3274 invoked from network); 17 Nov 2005 02:41:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Nov 2005 02:41:03 -0000 Received: (qmail 46236 invoked by uid 500); 17 Nov 2005 02:40:56 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 46173 invoked by uid 500); 17 Nov 2005 02:40:55 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 46162 invoked by uid 99); 17 Nov 2005 02:40:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2005 18:40:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [209.181.65.237] (HELO sun.savoirtech.com) (209.181.65.237) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 16 Nov 2005 18:42:28 -0800 Received: from [206.197.197.15] ([206.197.197.15]) by sun.savoirtech.com (8.13.4/8.13.4) with ESMTP id jAH2eTAW001481 for ; Wed, 16 Nov 2005 19:40:29 -0700 Message-ID: <437BED9D.4090603@apache.org> Date: Wed, 16 Nov 2005 19:40:29 -0700 From: Jeff Genender Reply-To: jgenender@apache.org Organization: Apache Geronimo User-Agent: Thunderbird 1.5 (Macintosh/20051025) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: Tomcat Examples in Geronimo - needed for v1 References: <437B5D2B.3090201@earthlink.net> <437BD850.4080801@earthlink.net> In-Reply-To: <437BD850.4080801@earthlink.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on sun.savoirtech.com X-Virus-Scanned: ClamAV 0.87.1/1176/Tue Nov 15 13:47:39 2005 on sun.savoirtech.com X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-105.1 required=5.6 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.4 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 1 Is doable...I just need to wrap them up and place them in the Apache java-repo and they will get picked up by ibiblio automajically. I would want to hear from others before doing it though. Jeff Dave Colasurdo wrote: > I'd like to pursue option 1 below.. Can someone please provide insight? > If not, is option 2 acceptable? Does anyone care? :>) > > Thanks > -Dave- > > Dave Colasurdo wrote: >> GERONIMO-1087 and GERONIMO-1088 JIRAs were opened to introduce the >> Tomcat examples into Geronimo. I believe it is important to get these >> introduced into the distributions (as default samples) for v1. >> >> There are a few different ways to approach this: >> >> 1) Ask Tomcat to create a war file for servlet-examples and >> jsp-examples and post it to http://www.ibiblio.org/maven/tomcat/ >> We pick up this dependency during our build and include it in the >> appropriate distributions. >> >> 2) We grab the exploded wars from the Tomcat binary (as there is no >> war file) and manually create the war files and place them in some >> repository where the geronimo build can find it. >> >> 3) We fork the tomcat source for these examples and build them within >> Geronimo. AFAIK, Tomcat uses ANT to build. Would need to massage >> this to work with maven accounting for the custom ant tasks and >> dependent jar files. >> >> 4) We grab the exploded wars (not source) from the Tomcat binary (as >> there is no war file) and create the war files within the geronimo >> build structure. Need to decide how to account for the jar files and >> whether to regenerate the class files. This is really a lightweight >> fork :>) >> >> I prefer option 1 as it seems the most straightforward and keeps >> Geronimo out of the business of maintaining tomcat examples. >> >> However, there is one small concern with this approach "There are a >> few words on the Tomcat examples that may need to be tweaked since >> these samples will run both with the Jetty and Tomcat web containers. >> Specifically, "These examples will only work when these pages are >> being served by a servlet engine; of course, we recommend Tomcat." AND >> "Please refer to the README file provide with this Tomcat release >> regarding how to configure and start the provided web server." >> >> It seems crazy to fork the samples due to a few minor words of text.. >> Perhaps our build can download the wars from ibiblio, crack them open >> and perform a quick regexp to remove the offending lines.. (or we can >> ask Tomcat to remove them). >> >> How do we approach Tomcat to get the wars placed in ibiblio? Can >> anyone help here? >> >> Thanks >> -Dave- >> >> >>