From dev-return-17297-apmail-geronimo-dev-archive=geronimo.apache.org@geronimo.apache.org Tue Sep 20 02:25:10 2005
Return-Path:
Delivered-To: apmail-geronimo-dev-archive@www.apache.org
Received: (qmail 2121 invoked from network); 20 Sep 2005 02:25:09 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199)
by minotaur.apache.org with SMTP; 20 Sep 2005 02:25:09 -0000
Received: (qmail 29928 invoked by uid 500); 20 Sep 2005 02:24:58 -0000
Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org
Received: (qmail 29765 invoked by uid 500); 20 Sep 2005 02:24:57 -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 29751 invoked by uid 99); 20 Sep 2005 02:24:57 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)
by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2005 19:24:57 -0700
X-ASF-Spam-Status: No, hits=0.0 required=10.0
tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: apache.org
Received: from [64.233.162.207] (HELO zproxy.gmail.com) (64.233.162.207)
by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2005 19:25:06 -0700
Received: by zproxy.gmail.com with SMTP id 9so331318nzo
for ; Mon, 19 Sep 2005 19:24:25 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=beta; d=gmail.com;
h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
b=S8gutFj0EQ2td7Rk67dKbG1ToVxzm7UvcFno8SQeMYOtiN8GaGCYL1C2umaQyD5LIrhd5eDd3HkGLT2Rwh9ipW0ndpIMY9GUFFMhRTSWT0HK9E7F9GR6QiLPpwCimCXcyTOi/1+6EDwf9FW8yuBL5wQ2Hhe8hK9NwmQolq0fOKU=
Received: by 10.37.14.48 with SMTP id r48mr2896682nzi;
Mon, 19 Sep 2005 19:24:25 -0700 (PDT)
Received: by 10.37.13.67 with HTTP; Mon, 19 Sep 2005 19:24:25 -0700 (PDT)
Message-ID: <74e15baa05091919243382860c@mail.gmail.com>
Date: Mon, 19 Sep 2005 22:24:25 -0400
From: Aaron Mulder
Reply-To: Aaron Mulder
Sender: ammulder@gmail.com
To: dev@geronimo.apache.org
Subject: Tomcat/Jetty Handling
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N
I think we need to finalize our plan for Tomcat and Jetty for M5 (or
whatever we call it).
I believe we agreed earlier to produce separate Tomcat and Jetty releases.
Currently, our "modules/assembly" build creates a distribution with
BOTH Tomcat and Jetty, and I believe even starts both by default
(though I'm not sure of that).
I don't like that solution very much, for reasons which I think I've
covered in other threads. I'd like to actually remove the
configuration(s) for the product not included in the desired
distribution. The most pressing reason for this is so that the
console can safely assume that only one web container is present.=20
While we need to correct it to handle multiple web containers, I think
that's a lot of unnecessary work for M5, compared to limiting
ourselves to deploying one web container in each build.
So the question is, how to we get two different builds for Jetty and
Tomcat? The short-term options (e.g. not switching to assemblies/*,
which I assume would be a major undertaking) seem to be:
- Change "modules/assembly" so that the Jetty/Tomcat decision
actually doesn't deploy or undeploys the non-matching web container
configuration(s), instead of just changing the list of modules to
start by default.
- Create two wrapper modules that each take the output of
"modules/assembly" and one strips the Tomcat stuff and configures it
for Jetty and the other does vice versa.
The former is certainly the quick+dirty solution, but it results in us
needing to run the build twice and creates two output artifacts with
the same name but different contents. I suspect that will be
objectionable, which leads me to believe that the second option would
be preferable. Anyone else have thoughts on this (or the best way to
do this)?
Thanks,
Aaron