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

Ovverriding 3rd Party libraries shipped

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.4
    • 2.5.0
    • Groovysh

    Description

      Groovy 2.0.4 ships various 3rd party libraries, e.g. servlet-api-2.4.jar and jsp-api-2.0.jar. These can get in the way and I see no reasonable way to use user defined versions in groovysh. Of course you can introduce a custom classloader searching locally before delegating to the parent or just remove the library shipped to get it out of the way, but I feel there should be a groovier way. Maybe you should just omit shipping these libraries.

      A concrete situation where I encountered this problem was when I wanted a groovy script to launch jetty with servlet 3.0 support, pulling in various dependencies with Grape.

      Attachments

        Issue Links

          Activity

            People

              blackdrag Jochen Theodorou
              deas deas
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: