You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by tkruse <gi...@git.apache.org> on 2015/08/28 13:29:41 UTC

[GitHub] incubator-groovy pull request: GROOVY-6514: GrapeIvy Classloader s...

GitHub user tkruse opened a pull request:

    https://github.com/apache/incubator-groovy/pull/104

    GROOVY-6514: GrapeIvy Classloader selection change, Groovysh :grab and rescan commands

    This PR allows to grab Grapes via a new ```:grab``` command. Classes from the new jar are available ia the import command completion. 
    
    To allow the completion to work, I had to change the selection of the classLoader in GrapeIvy. I do not know if that will break anything. Grabbing without completion is already possible in groovysh in a cumbersome way using the grapes code API. Merely adding a command to hide that would also be nice, but the real benefit would be to have import completion, as manually typing import commands is very tiring.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tkruse/incubator-groovy groovysh-grab

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-groovy/pull/104.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #104
    
----
commit 9925b40f289500baf9e652f0b20398a114174896
Author: Thibault Kruse <th...@gmx.de>
Date:   2015-08-22T16:26:06Z

    GROOVY-6514: Grapes: Select higher-level classloader to add new URLs to.
    
    This makes it possible for Groovysh to offer tab completion
    for import statements.

commit e2096fdfcba220546e5f0d42cb35aa4ac8ff996e
Author: Thibault Kruse <th...@gmx.de>
Date:   2015-08-25T20:50:34Z

    GROOVY-6514: Groovysh: Rescan and Grab commands

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---