Gem Tool Suggestion

View: New views
4 Messages — Rating Filter:   Alert me  

Gem Tool Suggestion

by Paul F Fraser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If it does not already exist :-)
would it be possible to have a menu item to load local gems without
waiting for the gem tool to load up?

Thanks
Paul Fraser

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Gem Tool Suggestion

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Paul Fraser wrote:
> If it does not already exist :-)
> would it be possible to have a menu item to load local gems without
> waiting for the gem tool to load up?

Hi Paul,

I'm not sure what do you exactly mean. When you go to the Gem Manager,
it loads the local gems separately so you do not need to wait for the
loading of remote gems. Only the overhead is in the run of JRuby process
which runs the gem tool.

Or do you mean some listing of local gems outside of the Gem Manager. In
NetBeans 7.0 there is a new Libraries Node. It currently contains just
Platform Node but in the future it will contains also local gems if that
is what you meant.

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Gem Tool Suggestion

by Paul F Fraser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Martin Krauskopf wrote:

> Paul Fraser wrote:
>> If it does not already exist :-)
>> would it be possible to have a menu item to load local gems without
>> waiting for the gem tool to load up?
>
> Hi Paul,
>
> I'm not sure what do you exactly mean. When you go to the Gem Manager,
> it loads the local gems separately so you do not need to wait for the
> loading of remote gems. Only the overhead is in the run of JRuby
> process which runs the gem tool.
>
> Or do you mean some listing of local gems outside of the Gem Manager.
> In NetBeans 7.0 there is a new Libraries Node. It currently contains
> just Platform Node but in the future it will contains also local gems
> if that is what you meant.
Hi Martin,

What I had in mind is not having to open the gem tool at all, but having
a direct menu selection for loading a local gem, which has been built
into the pkg directory.
The "Install Local" button is not displayed until all remote gems are
found. This takes quite a long time, when you know you only want to work
with a local built gem.
For example, right click project and add menu option "Load Local gem" or
"Load Built Gem" under "Clean and Build Gem"
"Clean and Build Gem"  does not load the gem into the gem repository if
it is required for immediate use.

Hope I am not missing something here,

Thanks
Paul Fraser

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Gem Tool Suggestion

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Paul Fraser wrote:
[...]
> Hi Martin,
>
> What I had in mind is not having to open the gem tool at all, but having
> a direct menu selection for loading a local gem, which has been built
> into the pkg directory.

By 'loading a local gem' you probably mean installing a gem which you
have previously built. If you are using Hoe there is already
'install_gem' task. If not you might/should provide similar one, so gem
is installable through a rake task. Then invoking the task through Rake
Runner should work. Does that work for you?

> The "Install Local" button is not displayed until all remote gems are
> found. This takes quite a long time, when you know you only want to work
> with a local built gem.
[...]

Yes, that's a bit odd, there is an RFE filed for this:

   http://www.netbeans.org/issues/show_bug.cgi?id=143951

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...