Return-Path: Delivered-To: apmail-jakarta-struts-dev-archive@apache.org Received: (qmail 55328 invoked from network); 1 Aug 2003 17:31:30 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 Aug 2003 17:31:30 -0000 Received: (qmail 15623 invoked by uid 97); 1 Aug 2003 17:34:09 -0000 Delivered-To: qmlist-jakarta-archive-struts-dev@nagoya.betaversion.org Received: (qmail 15616 invoked from network); 1 Aug 2003 17:34:08 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 1 Aug 2003 17:34:08 -0000 Received: (qmail 54495 invoked by uid 500); 1 Aug 2003 17:31:19 -0000 Mailing-List: contact struts-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list struts-dev@jakarta.apache.org Received: (qmail 54484 invoked from network); 1 Aug 2003 17:31:19 -0000 Received: from mail13.speakeasy.net (HELO mail.speakeasy.net) (216.254.0.213) by daedalus.apache.org with SMTP; 1 Aug 2003 17:31:19 -0000 Received: (qmail 21506 invoked from network); 1 Aug 2003 17:31:22 -0000 Received: from unknown (HELO apache.org) (leland@[66.92.162.13]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 1 Aug 2003 17:31:22 -0000 Message-ID: <3F2AA2C8.4030604@apache.org> Date: Fri, 01 Aug 2003 13:26:32 -0400 From: Rob Leland User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Struts Developers List Subject: Re: Addition of two new actions References: <20030801171029.38311.qmail@web20708.mail.yahoo.com> In-Reply-To: <20030801171029.38311.qmail@web20708.mail.yahoo.com> Content-Type: multipart/alternative; boundary="------------040508000909070303090801" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------040508000909070303090801 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit David Graham wrote: >--- Rob Leland wrote: > > >>David Graham wrote: >> >> >> >>>--- Rob Leland wrote: >>> >>> >>> >>> >>>>Ted Husted wrote: >>>> >>>> >>>> >>>> >>>> >>>>>I use many utilities Actions like these, and the result is that fewer >>>>> >>>>> >>>>>*custom* Actions are needed. I think increasing the number of >>>>> >>>>> >>standard >> >> >>>>> >>>>> >>>>>Actions in the distribution is a very good idea. It makes Struts more >>>>> >>>>> >>>>>accessible to newcomers, saves everyone from reimplementing the same >>>>>design, and leverages the fact that Actions are singletons. >>>>> >>>>>-Ted. >>>>> >>>>> >>>>> >>>>> >>>>How about struts-tools distribution named after the velocity-tools. >>>>These would be classes that could be used stand-alone or in pairs. >>>>Tnen we could place those orphan RequestUtils absoluteURL, and other >>>>utilities there. >>>>It would have a package structure o.a.s.tools.(util, actions, ....) >>>> >>>> >>>> >>>> >>>I think unused methods/classes should be deprecated and removed. We >>>shouldn't be carrying around excess unused utility code just because a >>>user *might* be using them. >>> >>> >>> >>> >>I agree they should be moved from the core package. >>And moved to an optional package. >> >> > >I have a few concerns with this. First, it's more work to maintain this >new optional package with build files, tests, distribution, etc. Second, >it's likely that the unused code would decay because Struts isn't using >it. > Since we don't currently have a struts-contrib or struts-tools distribution I would agree. Once that is in place I believe that would change. >Also, it's confusing to have some actions in o.a.s.tools.actions and >some in o.a.s.actions. I think *all* standard actions that are >distributed with Struts should live in o.a.s.actions. > or moved into the tools jar. I agree with what you said : "I think unused methods/classes should be deprecated and removed." If the struts core doesn't use it then it doesn't belong in the core, and should be moved to a seperate jar. That includes any actions > >David > -- ----- Rob Leland (703-525-3580) Choose a job you love, and you will never have to work a day of your life. -Confucius. --------------040508000909070303090801--