Need to find out if Equinox is launched from Eclipse [message #96759] |
Sat, 08 September 2007 15:45 |
Eclipse User |
|
|
|
Originally posted by: martin.tomcat.org
Hi,
During development it is convinient to launch Equinox from Eclipse.
But the production solution is a stand-alone package.
Is it possible to find out if Eclipse has started Equinox, I have noticed
that the -dev flag is sent to the startup launcher, so perhaps looking
for that could be a solution. But I not found out how I get the command line
arguments.
Help appreciated
M
|
|
|
Re: Need to find out if Equinox is launched from Eclipse [message #96774 is a reply to message #96759] |
Sat, 08 September 2007 15:59 |
Eclipse User |
|
|
|
Originally posted by: jacek.pospychala.pl.ibm.com
Martin,
you can check this flag with
org.eclipse.core.runtime.*Platform.inDevelopmentMode()*
Martin wrote:
> Hi,
>
> During development it is convinient to launch Equinox from Eclipse.
> But the production solution is a stand-alone package.
>
> Is it possible to find out if Eclipse has started Equinox, I have noticed
> that the -dev flag is sent to the startup launcher, so perhaps looking
> for that could be a solution. But I not found out how I get the command line
> arguments.
>
> Help appreciated
>
> M
>
>
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03764 seconds