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

Create a jar with its own namespace for dependencies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-JSR-1
    • None
    • None

    Description

      Since Groovy depends on ASM and Antlr, a problem arises when users embed Groovy into their applications which also embeds libraries which are dependant upon other versions of the aformentioned jars. That's what we can call "jar hell"

      Solution: use "jarjar" to transform groovy-all-xxx.jar into a jar which embeds the other dependencies inside their own namespaces, not conflicting anymore with the users classpath. Thus, no more problem to use Hibernate or Spring with Groovy.

      Attachments

        Activity

          People

            jez Jeremy Rayner
            guillaume Guillaume Sauthier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: