Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 90087 invoked from network); 11 Jun 2009 05:47:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jun 2009 05:47:19 -0000 Received: (qmail 69980 invoked by uid 500); 11 Jun 2009 05:47:30 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 69881 invoked by uid 500); 11 Jun 2009 05:47:30 -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 69870 invoked by uid 99); 11 Jun 2009 05:47:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2009 05:47:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2009 05:47:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C108A234C046 for ; Wed, 10 Jun 2009 22:47:07 -0700 (PDT) Message-ID: <1022227546.1244699227789.JavaMail.jira@brutus> Date: Wed, 10 Jun 2009 22:47:07 -0700 (PDT) From: "Shiva Kumar H R (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMODEVTOOLS-283) Refactoring a Dynamic Web Project's name doesn't refactor it's artifact id & context root In-Reply-To: <30220708.1203059587941.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718308#action_12718308 ] Shiva Kumar H R commented on GERONIMODEVTOOLS-283: -------------------------------------------------- Or how about the below option? If module-id and context-root have the same values as project-name (i.e. the user has not changed them from their default values or has intentionally kept all of them same) then provide an user option (say a check box) during refactoring that allows the user to select "renaming module-id and context-root to match the new project name". > Refactoring a Dynamic Web Project's name doesn't refactor it's artifact id & context root > ----------------------------------------------------------------------------------------- > > Key: GERONIMODEVTOOLS-283 > URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-283 > Project: Geronimo-Devtools > Issue Type: Wish > Components: eclipse-plugin > Reporter: Shiva Kumar H R > Assignee: Shiva Kumar H R > Priority: Minor > Fix For: 2.2.0 > > > When a Dynamic Web Project with name say "tt" is created, a Geronimo deployment plan "geronimo-web.xml" will get created with module-id as "default/tt-1.0.car" and context-root as "/tt". > When this project is re-factored to say "tz", the module-id will still be the same "default/tt-1.0.car" (note that artifact id is not re-factored from "tt" to "tz"). The context-root also remains the same "/tt". > Although this doesn't pose any problem, wouldn't it be better to refactor the artifact-id & context-root to match the project name? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.