You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org> on 2005/11/10 09:01:03 UTC

[jira] Resolved: (GERONIMO-686) Directory based hot deployment support

     [ http://issues.apache.org/jira/browse/GERONIMO-686?page=all ]
     
Aaron Mulder resolved GERONIMO-686:
-----------------------------------

    Resolution: Fixed
     Assign To: Aaron Mulder

Added in revision 332243.

Hot deployer is in configuration org/apache/geronimo/HotDeployer and watches for application modules (JARs or dirs, no support for external plans) in geronimo/deploy/


> Directory based hot deployment support
> --------------------------------------
>
>          Key: GERONIMO-686
>          URL: http://issues.apache.org/jira/browse/GERONIMO-686
>      Project: Geronimo
>         Type: New Feature
>   Components: deployment
>     Versions: 1.0-M4
>     Reporter: Sachin Patel
>     Assignee: 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