Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Icon

under construction

Introduction

Gosh is an "incubator" project that provides an alternate way to run command-line Groovy scripts, as well as a simplified way to write Windows Services (WinNT Services) in Groovy

One of the key differences between Gosh and the Groovy command-line tools is the emphasis on dynamic configuration.  The Gosh project model follows a convention similar to what you would see in an application server, like a Tomcat web application.  The standard Groovy command-line tools use a global configuration file that applies to all scripts.  Although these tools support dynamically changing the classpath, the support is not obvious and somewhat awkward.  Conversely, in Gosh, there is no global configuration at all.  JAR files (and also DLLs) are local to the project, and are loaded dynamically.  Gosh also supports a local configuration script, written in Groovy, that lets you conditionally define external dependencies.  This makes it easy to use different library versions in different projects on the same machine, something which Groovy isn't particularly good at at them moment.

Installation


Building from Source

  

Project Structure


Configuring a WinNT Service


Bindings



  • No labels