Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 36028 invoked from network); 25 Jul 2007 16:02:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jul 2007 16:02:54 -0000 Received: (qmail 32959 invoked by uid 500); 25 Jul 2007 16:02:53 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 32894 invoked by uid 500); 25 Jul 2007 16:02:53 -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 32879 invoked by uid 99); 25 Jul 2007 16:02:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 09:02:53 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 09:02:51 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1AC717141EE for ; Wed, 25 Jul 2007 09:02:31 -0700 (PDT) Message-ID: <14649804.1185379351080.JavaMail.jira@brutus> Date: Wed, 25 Jul 2007 09:02:31 -0700 (PDT) From: "Prasad Kashyap (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-2025) Undeploy and redeploy with no version leaves dangling entries in config.xml In-Reply-To: <4320485.1147661585812.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Prasad Kashyap updated GERONIMO-2025: ------------------------------------- Fix Version/s: (was: 2.0-M5) 2.0 > Undeploy and redeploy with no version leaves dangling entries in config.xml > --------------------------------------------------------------------------- > > Key: GERONIMO-2025 > URL: https://issues.apache.org/jira/browse/GERONIMO-2025 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment, kernel > Affects Versions: 1.1 > Reporter: Aaron Mulder > Fix For: 2.0 > > Attachments: removeunwantedconfig.patch > > > If you deploy an application with no version and then undeploy it, we leave an entry for it (with a timestamp version number) in config.xml, just marked as load=false. > If you later deploy the application again, you get a new timestamp version number and a new entry is written into config.xml. Do this (undeploy/deploy) a few times and config.xml gets kind of messy. > It would be be good to delete entries from config.xml on undeploy if they have no actual settings. > It would be good to detect that a previous version is in conifg.xml but not in the repository and delete the settings from config.xml if the artifact has no version number and a newer copy is deployed. > This is not a huge priority since nothing breaks, it just makes config.xml kind of crufty. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.