Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [corona-dev] Corona automatic startup.

It is my understanding that there can be only one "application" running within the Eclipse environment.  An Eclipse application is responsible for "all aspects of execution".

The following is taken from the Eclipse PDE help...

Description: Platform runtime supports plug-ins which would like to declare main entry points. That is, programs which would like to run using the platform runtime but yet control all aspects of execution can declare themselves as an application. Declared applications can be run directly from the main platform launcher by specifying the -application argument where the parameter is the id of an extension supplied to the applications extension point described here. This application is instantiated and run by the platform. Platform clients can also use the platform to lookup and run multiple applications.

On the client-side, the application is the Eclipse Workbench.  It is responsible for all of the plug-ins, etc...

On the server-side, we will most likely have an equivalent Corona application.

So... I would suggest updating the config.ini to automatically start non-UI plug-ins.

-----Original Message-----
From: corona-dev-bounces@xxxxxxxxxxx [mailto:corona-dev-bounces@xxxxxxxxxxx] On Behalf Of Kaczmarek, Pawel
Sent: Thursday, June 08, 2006 7:49 AM
To: Corona development
Subject: RE: [corona-dev] Corona automatic startup.

There is an extension point:
org.eclipse.core.runtime.applications
The server can use it to be run as an application on the Eclipse platform. It is only necessary to create a class that implements IPlatformRunnable and give it to the extension point. On creation, the application activates Corona Server plugin that can further activate all required bundles. Then, it will not be necessary to modify config.ini (probably).

It is however necessary to give command line arguments like
e.g.: eclipse.exe -application org.eclipse.corona.server -console

Should we modify this and commit?

-----Original Message-----
From: corona-dev-bounces@xxxxxxxxxxx [mailto:corona-dev-bounces@xxxxxxxxxxx] On Behalf Of O'Flynn, Dennis
Sent: Tuesday, June 06, 2006 7:53 PM
To: Corona development
Subject: RE: [corona-dev] Corona automatic startup.

Extending the org.eclipse.ui.startup extension point will work for client (Workbench) plugins.  However, this will not work for "common" or "server" plugins since Corona does not include UI on the server-side.

-----Original Message-----
From: corona-dev-bounces@xxxxxxxxxxx [mailto:corona-dev-bounces@xxxxxxxxxxx] On Behalf Of Marcin Okraszewski
Sent: Friday, June 02, 2006 8:09 AM
To: Corona development
Subject: [corona-dev] Corona automatic startup.

I think I have solved the problem of Corona startup. We do not need to 
change config.ini file. Instead it is enough to use 
/org.eclise.ui.startup/ extension point. Eclipse loads all plugins with 
this extension point as soon as it starts.

I've tried it with client part and it works :) I didn't do it with 
server, because it requires /org.eclipse.ui/ plugin :( Secondly it needs 
to be a Eclipse plugin (extension point is defined in plugin.xml) rather 
than pure OSGi bundle. It would partly (client side) solve problem 3. 
from Paweł list.

Should I commit it to CVS?

Marcin

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. 
_______________________________________________
corona-dev mailing list
corona-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/corona-dev

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. 
_______________________________________________
corona-dev mailing list
corona-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/corona-dev

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. 
_______________________________________________
corona-dev mailing list
corona-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/corona-dev

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. 


Back to the top