Return-Path: Delivered-To: apmail-maven-continuum-dev-archive@www.apache.org Received: (qmail 34111 invoked from network); 2 Oct 2007 12:02:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Oct 2007 12:02:43 -0000 Received: (qmail 51627 invoked by uid 500); 2 Oct 2007 12:02:32 -0000 Delivered-To: apmail-maven-continuum-dev-archive@maven.apache.org Received: (qmail 51602 invoked by uid 500); 2 Oct 2007 12:02:32 -0000 Mailing-List: contact continuum-dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-dev@maven.apache.org Delivered-To: mailing list continuum-dev@maven.apache.org Received: (qmail 51591 invoked by uid 99); 2 Oct 2007 12:02:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 05:02:32 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [80.168.101.18] (HELO relay00-mail.uk.clara.net) (80.168.101.18) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 12:02:33 +0000 Received: from chb28-2-88-163-39-128.fbx.proxad.net ([88.163.39.128]:3642 helo=[127.0.0.1]) by relay00-mail.uk.clara.net (smtp-vh.amenworld.com [195.8.80.30]:251) with esmtpa (authdaemon_plain:emmanuel@venisse.net) id 1IcgS1-0002CN-1W (Exim 4.60) for continuum-dev@maven.apache.org (return-path ); Tue, 02 Oct 2007 12:02:09 +0000 Message-ID: <47023338.2080008@venisse.net> Date: Tue, 02 Oct 2007 14:02:00 +0200 From: Emmanuel Venisse User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: continuum-dev@maven.apache.org Subject: Re: CONTINUUM-310 - customizable email templates References: <4701A711.8050007@apache.org> <4701EEC1.3070401@venisse.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Tomislav Stojcevich a �crit : > I think it should be re-opened since there still is no way to > completely customize the template itself other than turning on and off > the output and summary. In my case the turning on the summary wiith > the build output turned off will give me what I want but it is still > too much. I'd like to be able to customize further, there are only a > couple of things from the summary that I want to see. We could > continue to add flags to the xml file and if checks within the > template but where does it stop? > > And what about internationalization? that would have to be a separate > issue but allowing access to be able to modify the templates directly > would at least let those users that really need to change the language > of the text that is hardcoded in the template to be able to do it > should they need to. > > So how about my idea about extracting the templates from the core jar > into the webapp during the webapp build, that way they can be directly > modified? This at least allows the default templates to be > customizable easily. I don't think it's the best solution. IMO, it would be better to allow the user to choose the template he want to use if he don't want the default. > > > Another issue should be opened to provide the functionality that Rahul > is suggesting about allowing different templates per group or project. > That would involve more changes. There would have to be a place in > the database to store template location per project or group or > possibly store the template itself and provide a template edit screen. If we allow to have a template per group or project, in fact per mail notifier, it's easy to add this feature if the one above is implemented. We can store it in the mail notifier configuration field so we don't need to change the db schema for it. Emmanuel