stephen mallette closed TINKERPOP-1938.
       Resolution: Invalid
    Fix Version/s:     (was: 3.4.0)

In the future, please use the Gremlin Users mailing list for questions related 
to usage:


that said, i'll try to answer your question as best i can here but please 
follow up on the mailing list if something isn't clear. 

I'm not sure what problem you are trying to solve exactly, but since you only 
have to type {{:install}} once and {{:plugin activate}} once to get the plugin 
into place, i don't see why you'd have to automate anything, but if you really 
need to for some reason you can of course script any command to the console 
with the {{-e}} or {{-i}} options to {{gremlin.sh}}:


If for some reason that doesn't help you, you can install plugins manually as 
the {{:install}} just automates the process of downloading the plugin jar file 
(and related dependencies) and putting them in gremlin console's path ({{/ext}} 
directory). When you later activate the plugin with {{:plugin use}} all that 
does is edit the {{/ext/plugins.txt}} file to include the name of the plugin 
and then executes the load of the plugin (if possible - a restart of the 
console will also force that load). You can see how that all works by just 
playing with the commands a little bit and looking at how the {{/ext}} 
directory changes after each command. Hope that helps.

> Can we install plugin without firing gremlin console ?
> ------------------------------------------------------
>                 Key: TINKERPOP-1938
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1938
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 3.3.2
>            Reporter: Prashanth Madi
>            Priority: Minor
> Can we install plugin without firing gremlin console ?
> In other words.. i would like to automate plugin installation instead of 
> manually typing :install and things like that..

This message was sent by Atlassian JIRA

Reply via email to