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

groovysh should offer easier access to grapes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0-alpha-1
    • Groovysh
    • None

    Description

      groovysh can be started using a -cp option to use a given classpath. (BTW, the option is missing from the docs at http://groovy.codehaus.org/Groovy+Shell

      However it is rather cumbersome to use this mechanism to start groovysh to e.g. use a more convenient xml parser or such.

      So I can think of some solutions:

      • add an option to use the latest of all libraries in ~/.groovy/grapes
      • add an option to use specific grapes on startup, which would download those if necessary and then put them on the classpath
      • provide a virtual environment tool that sets the classpath according to a definition file defining the grapes to be used.

      Thoughts?

      Attachments

        Activity

          People

            pascalschumacher Pascal Schumacher
            tkruse Thibault Kruse
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: