Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Need to find out if Equinox is launched from Eclipse
Need to find out if Equinox is launched from Eclipse [message #96759] Sat, 08 September 2007 15:45 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
>
>
>
>
>
Previous Topic:accessing a "library" jar file that is named on the classpath
Next Topic:Problem with http.jetty and static content...
Goto Forum:
  


Current Time: Thu Apr 25 13:31:53 GMT 2024

Powered by FUDForum. Page generated in 0.03764 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top