Sha256: fd8a7382b5747f9186e4a5cd9f1832f065be19b98b51b1ce7eb8586adaf9643f

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

Trinidad hotdeploy extension
======

# DESCRIPTION

Extension to allow Trinidad to redeploy an application each time a file, for instance tmp/restart.txt, is modified without restarting Tomcat.

[WARNING] This extension only works with Trinidad 0.9.0 or avobe.

# INSTALL

    $ jruby -S gem install trinidad_hotdeploy_extensions

# CONFIGURE

To configure it, you need to add it into the extensions section of a web application in the Trinidad's configuration file.

http://wiki.github.com/calavera/trinidad/advanced-configuration

It also allows to configure the name of the file to monitorize and the period of time that it waits between each check.

    ---
      web_apps:
        default:
          extensions:
            hotdeploy:
              monitor: tmp/restart.txt # this parameter is optional, the default value is tmp/restart.txt
              delay: 30000 # in milliseconds, this parameter is optional, the default value is 1 second


You can find further information on how to write your own extension in the wiki: http://wiki.github.com/calavera/trinidad/extensions

# Copyright

Copyright (c) 2010 David Calavera. See LICENSE for details.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trinidad_hotdeploy_extension-0.3.0 README
trinidad_hotdeploy_extension-0.2.0 README
trinidad_hotdeploy_extension-0.1.1 README