Return-Path: X-Original-To: apmail-groovy-notifications-archive@minotaur.apache.org Delivered-To: apmail-groovy-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3B16A19B2D for ; Sat, 16 Apr 2016 06:50:26 +0000 (UTC) Received: (qmail 32027 invoked by uid 500); 16 Apr 2016 06:50:25 -0000 Delivered-To: apmail-groovy-notifications-archive@groovy.apache.org Received: (qmail 31911 invoked by uid 500); 16 Apr 2016 06:50:25 -0000 Mailing-List: contact notifications-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list notifications@groovy.apache.org Received: (qmail 31709 invoked by uid 99); 16 Apr 2016 06:50:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Apr 2016 06:50:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7B0512C1F5D for ; Sat, 16 Apr 2016 06:50:25 +0000 (UTC) Date: Sat, 16 Apr 2016 06:50:25 +0000 (UTC) From: "Jochen Theodorou (JIRA)" To: notifications@groovy.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GROOVY-5727) Ovverriding 3rd Party libraries shipped MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GROOVY-5727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15244049#comment-15244049 ] Jochen Theodorou commented on GROOVY-5727: ------------------------------------------ not used by Groovy is a long stretch... ant jars used by ant builder, as well as the ant groovy tasks bsf is the bean scripting framework, which we have a plugin for in the distribution jansi, jcommander, jline, commons-cli used by the command line programs commons-logging used for logging gpars extension to Groovy for concurrent programming ivy used by Grape jsr166y and multiverse-core are used by gpars hamcrest/junit/testng used by Groovy test support qdox used by groovydoc xstream/xmlpull used by the different xml builders servlet-api used by Groovy Servlet I can see, that maybe we should not include servlet-api, but for the others you have to be a bit more precise of how you want someone use these components in a script or from commanline then > Ovverriding 3rd Party libraries shipped > --------------------------------------- > > Key: GROOVY-5727 > URL: https://issues.apache.org/jira/browse/GROOVY-5727 > Project: Groovy > Issue Type: Improvement > Components: Groovysh > Affects Versions: 2.0.4 > Reporter: deas > Labels: contrib > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)