Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-228

allow script base class to be specified on a GroovyShell or GroovyClassLoader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-4
    • None
    • None

    Description

      e.g. to allow a bunch of functions to be added to the current script class.

      InteractiveShellScript could add some shell-related stuff.
      GroovletScript could add some servlet/groovlet related stuff
      David's EJB container telnet client that uses groovy could add some EJB-container helper methods.

      the GAP dynaop stuff could have a DynaopScript to add helper methods etc.

      we should have some kind of CompilerConfig object or something which we can set on a GroovyShell or a GroovyClassLoader to allow this kinda thing to be overloaded

      Attachments

        Activity

          People

            Unassigned Unassigned
            jstrachan James Strachan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: