Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Launching Eclipse Programmatically
Launching Eclipse Programmatically [message #59025] Mon, 02 June 2003 09:19 Go to next message
Eclipse UserFriend
Originally posted by: bella_voldman.yahoo.com

Launching Eclipse Programmatically

Hello,

Is it possible to launch Eclipse from our application? Or does Eclipse
assume it is launched on its own and has full control? If it is possible,
could you please point me to the entry point for the program, as well as
properties we need to set before launching?
From reading previous messages I know that for now it is not possible to
strip off plugins, does this imply it’s not possible to launch just the
editor part from our (swing based) application?

Thank you for your time

Bella
Re: Launching Eclipse Programmatically [message #59470 is a reply to message #59025] Mon, 02 June 2003 13:00 Go to previous messageGo to next message
Eclipse UserFriend
Bella wrote:

> Launching Eclipse Programmatically

> Hello,

> Is it possible to launch Eclipse from our application?

Sure, you can exec the same command like that Eclipse does.

> Or does Eclipse
> assume it is launched on its own and has full control? If it is possible,
> could you please point me to the entry point for the program, as well as
> properties we need to set before launching?

* From: "Veronika Irvine" <veronika_irvine@xxxxxxx>
* Date: Mon, 8 Jul 2002 11:07:25 -0400
* Subject: Re: Howto run SWT application outside eclipse
* Newsgroups: eclipse.tools
* Organization: OTI

When you run in Eclipse, go to the debug view, select the javaw process and
from the pop up menu select Properties. This will give you the command
line
used by eclipse to launch your example.

> From reading previous messages I know that for now it is not possible to
> strip off plugins, does this imply it’s not possible to launch just the
> editor part from our (swing based) application?

> Thank you for your time

> Bella
Re: Launching Eclipse Programmatically [message #59519 is a reply to message #59470] Mon, 02 June 2003 14:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bella_voldman.yahoo.com

Thank you for your quick reply.

While I do realize that I can execute Eclipse in a separate VM using exec,
I was wondering whether it was possible to have our application launch
Eclipse in the same VM.

Bella

Don Estberg wrote:

> Bella wrote:

> > Launching Eclipse Programmatically

> > Hello,

> > Is it possible to launch Eclipse from our application?

> Sure, you can exec the same command like that Eclipse does.

> > Or does Eclipse
> > assume it is launched on its own and has full control? If it is possible,
> > could you please point me to the entry point for the program, as well as
> > properties we need to set before launching?

> * From: "Veronika Irvine" <veronika_irvine@xxxxxxx>
> * Date: Mon, 8 Jul 2002 11:07:25 -0400
> * Subject: Re: Howto run SWT application outside eclipse
> * Newsgroups: eclipse.tools
> * Organization: OTI

> When you run in Eclipse, go to the debug view, select the javaw process and
> from the pop up menu select Properties. This will give you the command
> line
> used by eclipse to launch your example.

> > From reading previous messages I know that for now it is not possible to
> > strip off plugins, does this imply it’s not possible to launch just the
> > editor part from our (swing based) application?

> > Thank you for your time

> > Bella
Re: Launching Eclipse Programmatically [message #60132 is a reply to message #59519] Mon, 02 June 2003 16:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: muelleimer.usenet.katzien.de

* Bella <bella_voldman@yahoo.com> wrote:
> While I do realize that I can execute Eclipse in a separate VM using exec,
> I was wondering whether it was possible to have our application launch
> Eclipse in the same VM.

Eclipse has a main method like every other java program:
org.eclipse.core.launcher.Main in org.eclipse.sore.boot

Jan
Re: Launching Eclipse Programmatically [message #60440 is a reply to message #60132] Tue, 03 June 2003 09:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bella_voldman.yahoo.com

That works. Thank you.

Bella

P.S. The file is actually located in startup.jar

Jan Schulz wrote:

> * Bella <bella_voldman@yahoo.com> wrote:
> > While I do realize that I can execute Eclipse in a separate VM using exec,
> > I was wondering whether it was possible to have our application launch
> > Eclipse in the same VM.

> Eclipse has a main method like every other java program:
> org.eclipse.core.launcher.Main in org.eclipse.sore.boot

> Jan
Re: Launching Eclipse Programmatically [message #60939 is a reply to message #60440] Tue, 03 June 2003 10:15 Go to previous message
Eclipse UserFriend
Originally posted by: muelleimer.usenet.katzien.de

* Bella <bella_voldman@yahoo.com> wrote:
>> Eclipse has a main method like every other java program:
>> org.eclipse.core.launcher.Main in org.eclipse.sore.boot
> P.S. The file is actually located in startup.jar

Sorry, I looked at the source/CVS. Thats at least the project you
get, if you want to have a look at this file...

Jan
Previous Topic:Different folder for plug-ins
Next Topic:jface packaging in 2.0 vs. 2.1
Goto Forum:
  


Current Time: Wed May 07 23:25:26 EDT 2025

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

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

Back to the top