Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Include Page
spaceKeyGrouper
pageTitleNavigation

Plan to improve GSH

  • Grouper 2.3 uses BeanShell.  There's no tab completion, history, etc.
  • We're looking to switch to Groovy as the default for GSH.
  • The goal would be to keep any existing GSH scripts that deployers may have written as compatible as possible with the new Groovy based GSH.
  • Built in GSH commands (e.g. obliterateStem) would be modified to work with both BeanShell and Groovy.
  • The idea would be that a 2.3 patch would have gsh.sh/gsh.bat still using BeanShell with a configuration option to use Groovy.

  • Then in 2.4, default it to Groovy with an option to go back to BeanShell.

  • The configuration would be via grouper.properties.
  • gsh.sh and gsh.bat shouldn't have to change.
  • Grouper will include Groovy so deployers won't have to do anything special to get Groovy installed.
  • Users can still use another shell as they do today (e.g. https://github.com/wgthom/groovysh4grouper)
  • Other advantages of Groovy: Grouper Shell Improvements

...