|
Re: Restart eclipse from command line [message #331485 is a reply to message #331478] |
Tue, 09 September 2008 20:14   |
Eclipse User |
|
|
|
The only way I know to do something like this was if the running eclipse
was running with the console on some port (-console 9000), you can then
telnet to that port and issue commands to the osgi framework. exit,
shutdown, and close will all stop the running eclipse, but I couldn't
get it to return the proper exit code 23 to cause a restart, so the perl
script would need to do the restart itself.
An alternative would be to install a plug-ins that opened a socket and
listened for commands to restart eclipse from within.
-Andrew
Mikael Petterson wrote:
> Hi,
>
> I have a perl script that install various plug-ins from the command line
> using the equinox jar. What I am missing is a restart of eclipse ( if
> running) to make the new plugins show up. Is it possible to restart
> eclipse from the command line?
>
> cheers,
>
> //mike
|
|
|
Re: Restart eclipse from command line [message #331493 is a reply to message #331478] |
Wed, 10 September 2008 11:08  |
Eclipse User |
|
|
|
Originally posted by: bullet.magnet.example.com
mikaelpetterson@hotmail.com (Mikael Petterson) wrote in
news:ac8036ed549bfac9f41da4e66ee2d897$1@www.eclipse.org:
> Hi,
>
> I have a perl script that install various plug-ins from the command line
> using the equinox jar. What I am missing is a restart of eclipse ( if
> running) to make the new plugins show up. Is it possible to restart
> eclipse from the command line?
>
> cheers,
>
> //mike
>
You could kill and relaunch the eclipse process
--
Life is complex, with real and imaginary parts.
|
|
|
Powered by
FUDForum. Page generated in 0.03792 seconds