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

Add way to configure classpath used by groovysh

    XMLWordPrintableJSON

Details

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

    Description

      It would be nice to have a way to specify the classpath that
      groovysh uses from the command line. Currently I know of two ways
      to tell groovysh about my classes:

      1) jar them up and put the jar into $GROOVY_HOME/lib
      2) edit $GROOVY_HOME/conf/groovysh-classworlds.conf

      Both of the solutions seem suboptimal. It would be nice to have:

      1) a way to specify the class load path on the commandline
      2) a way to modify the class load path from inside the shell

      -m

      Attachments

        Activity

          People

            Unassigned Unassigned
            morgan morgan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: