Sha256: 1fc73c6c5cbfc6c4f8fd73861224fe2ca45db6ea9783f6e09374a2a5b9697384

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 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, it also allows to configure the name of the file to monitor and the period that it waits to check the file.

    ---
      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

1 entries across 1 versions & 1 rubygems

Version Path
trinidad_hotdeploy_extension-0.1.0 README