Return-Path: Delivered-To: apmail-continuum-dev-archive@www.apache.org Received: (qmail 1628 invoked from network); 22 Jul 2008 08:44:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jul 2008 08:44:42 -0000 Received: (qmail 82202 invoked by uid 500); 22 Jul 2008 08:44:38 -0000 Delivered-To: apmail-continuum-dev-archive@continuum.apache.org Received: (qmail 82165 invoked by uid 500); 22 Jul 2008 08:44:38 -0000 Mailing-List: contact dev-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list dev@continuum.apache.org Received: (qmail 82120 invoked by uid 99); 22 Jul 2008 08:44:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 01:44:38 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of emmanuel.venisse@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 08:43:44 +0000 Received: by nf-out-0910.google.com with SMTP id d3so567873nfc.20 for ; Tue, 22 Jul 2008 01:44:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=j5ej2E/ghbwYpvkDIiaNnbd/PWG34J11M9c1B3awE2k=; b=Dq5oNfKiTEVSi846ZEb3umBOE+zsLsHbTEW2h9rn8ZQ31vIJJ040nwT8kS9I9wY77X mGo41SylUz9YOO9C0SonUvbWGGZjRVam7o83pUXgTX2Stxc8I+09p/dE6/2TnIEm+WBg ZMXh9XB2lTiwQ6S4aALHLJs/q29ONQfrDvCC8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=WWDPLZknu94DIFKGFTCwxHF8DJ+keOblcHr9ClhrBglrjLZbpkCaPE0ALyPf90U+A3 +5OsVe75DG/CfZFqlzR3yIap5Ita0AfkDqCoBllBnOjjS71/mwDbKg6f4GWrzeyut3I/ YbehlHlDvGcTSsQQXCoFGoWVU2zaTYjm/2gKg= Received: by 10.210.50.6 with SMTP id x6mr4200678ebx.87.1216716247687; Tue, 22 Jul 2008 01:44:07 -0700 (PDT) Received: by 10.210.34.8 with HTTP; Tue, 22 Jul 2008 01:44:07 -0700 (PDT) Message-ID: Date: Tue, 22 Jul 2008 10:44:07 +0200 From: "Emmanuel Venisse" To: dev@continuum.apache.org Subject: Re: svn commit: r678249 - in /continuum/trunk/continuum-webapp/src/main: java/org/apache/maven/continuum/web/action/ProjectGroupAction.java resources/localization/Continuum.properties webapp/WEB-INF/jsp/projectGroupSummary.jsp In-Reply-To: <20080720045500.A0D992388A0F@eris.apache.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_57152_21879951.1216716247662" References: <20080720045500.A0D992388A0F@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_57152_21879951.1216716247662 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sun, Jul 20, 2008 at 6:54 AM, wrote: > Author: oching > Date: Sat Jul 19 21:54:59 2008 > New Revision: 678249 > > URL: http://svn.apache.org/viewvc?rev=678249&view=rev > Log: > [CONTINUUM-801] > -show the project's homepage url in the project group summary > > Modified: > > continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java > > continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties > > continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupSummary.jsp > > Modified: > continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java > URL: > http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java?rev=678249&r1=678248&r2=678249&view=diff > > ============================================================================== > --- > continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java > (original) > +++ > continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java > Sat Jul 19 21:54:59 2008 > @@ -111,6 +111,8 @@ > private int buildDefinitionId; > > private String preferredExecutor = "maven2"; > + > + private String url; > > public String summary() > throws ContinuumException > @@ -177,6 +179,11 @@ > { > nbShellProjects += 1; > } > + > + if( p.getId() == 1 ) > + { > + url = p.getUrl(); > + } I don't think this test is correct. It will work only for the first project added in Continuum ;) Emmanuel > > } > > int nbActualPreferredProject = nbMaven2Projects; > @@ -847,4 +854,14 @@ > { > return preferredExecutor; > } > + > + public String getUrl() > + { > + return url; > + } > + > + public void setUrl(String url) > + { > + this.url = url; > + } > } > > Modified: > continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties > URL: > http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties?rev=678249&r1=678248&r2=678249&view=diff > > ============================================================================== > --- > continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties > (original) > +++ > continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties > Sat Jul 19 21:54:59 2008 > @@ -153,6 +153,7 @@ > projectGroup.name.label = Project Group Name > projectGroup.groupId.label = Project Group Id > projectGroup.description.label = Description > +projectGroup.url.label = Homepage Url > projectGroup.projects.title = Member Projects > projectGroup.tab.summary = Project Group Summary > projectGroup.tab.members = Members > > Modified: > continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupSummary.jsp > URL: > http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupSummary.jsp?rev=678249&r1=678248&r2=678249&view=diff > > ============================================================================== > --- > continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupSummary.jsp > (original) > +++ > continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupSummary.jsp > Sat Jul 19 21:54:59 2008 > @@ -88,6 +88,10 @@ > name="projectGroup.name"/> > name="projectGroup.groupId"/> > name="projectGroup.description"/> > + > + includeContext="false" includeParams="none"/> > + name="url" valueLink="%{'${projectHomepageUrl}'}"/> > + > > > > > > ------=_Part_57152_21879951.1216716247662--