Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 17078 invoked from network); 2 Nov 2006 10:56:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2006 10:56:08 -0000 Received: (qmail 55784 invoked by uid 500); 2 Nov 2006 10:56:16 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 55736 invoked by uid 500); 2 Nov 2006 10:56:15 -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 55725 invoked by uid 99); 2 Nov 2006 10:56:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 02:56:15 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Thu, 02 Nov 2006 02:56:04 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 672D87142FC for ; Thu, 2 Nov 2006 02:55:25 -0800 (PST) Message-ID: <8174846.1162464925420.JavaMail.root@brutus> Date: Thu, 2 Nov 2006 02:55:25 -0800 (PST) From: "Vamsavardhana Reddy (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (GERONIMO-686) Directory based hot deployment support In-Reply-To: <363553999.1119965819758.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/GERONIMO-686?page=all ] Vamsavardhana Reddy closed GERONIMO-686. ---------------------------------------- > Directory based hot deployment support > -------------------------------------- > > Key: GERONIMO-686 > URL: http://issues.apache.org/jira/browse/GERONIMO-686 > Project: Geronimo > Issue Type: New Feature > Components: deployment > Affects Versions: 1.0-M4 > Reporter: Sachin Patel > Assigned To: Aaron Mulder > Fix For: 1.0 > > Attachments: geronimoautodeploy.zip > > > Here is an initial start of directory-based hot deployment for Geronimo. I have not had the chance to update it with the things I would like to see, so I'm going ahead and submitting it, so a commiter can tweak it and get it into a build. > Basically this is a GBean service that monitors a specified directory in the filesystem for any "additions, modifications, or deletions". Based on the event, a particual module in the filesystem will either be deployed, redeployed, or undeployed. This service takes the assumtion that the deployment plan is packaged within the module. > Also, the specified directory is currently a hard-coded attribute in the deployment plan. It would be nice if the configuration started up a webapp as well,and the gbean was linked to this webapp so that the directory could be changed on the fly, and or multiple directories as well as other options could be specified. Perhaps this could be something configurable in the console? > Also, I am currently calling the org.apache.geronimo.deployment.Deployer to do the deploy. I initially wanted to reference the Deployer gbean and invoke deploy through it, but was having issues with that, so I used this as a workaround. > The class that monitors the file sytem I found on the internet, however it was only able to detected generic changes. I made modifications to the file so that these changes to the filesystem are catagorized as either additions, modifiecations, or deletions. See the license on the file, as I am unsure weather this can be used or wether it will need to be re-written from scratch, which if is the case should be trivial. > Please let me know if this is a good start, any suggestions, and if you think this is something that can be pushed into 1.0 I will be glad to spend additional time on it to get it in. I did this more for a learning exercise so its pretty scrappy right now, but I think alot could be done with it. > Thanks!! > Thanks. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira