Coaxing NB to reload a module

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

Coaxing NB to reload a module

by Ivan Soleimanipour :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When NB runs under NB one can coax it to reload a just-rebuilt
module w/o bringing the whole IDE down and restarting it.

I'd like to get NB to do this when NB is not running under NB.
So what's the underlying mechanism for this reloading?

Is there a network port NB listens on ?
Is there a thread which watches some telltale files being created?
Does NB get sent a signal?



Re: Coaxing NB to reload a module

by Jesse Glick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ivan Soleimanipour wrote:
> When NB runs under NB one can coax it to reload a just-rebuilt
> module w/o bringing the whole IDE down and restarting it.
>
> I'd like to get NB to do this when NB is not running under NB.
> So what's the underlying mechanism for this reloading?

You can run 'ant reload'. The underlying mechanism is the CLI switch,
which --help will show:

Module reload options:
   --reload /path/to/module.jar  Installs or reinstalls a module JAR file.