Hi team, ha~It seems my homework not enough, why I just miss Alex Blewitt's article at http://www.eclipsezone.org/eclipse/forums/t99762.html. OK, the thread seems not a question.
The true question is that, since the main thread mode IApplications cannot running, Why AppCommans not report a error or warning but a "Lanuched ..." message. From track, we can see that EclipseAppContainer or EclipseAppLauncher do not let the illegal/invalid application reached its IApplication.start() method. So in my view, it's better that let code give a report. If this can open a bug report? 在08-2-13,向雅 <[EMAIL PROTECTED]> 写道: > > Hi, > I tried org.eclipse.equinox.examples.app.selector.application, with "any" > and "main" thread mode, both visiable, all evironment is the newest 3.4M5and > cvs version plugins: > And at selector I just add 3 lines printlog, no other changes. > my running log as follows: > > ANY thread mode > osgi> !SESSION 2008-02-13 > 06:34:56.906----------------------------------------------- > eclipse.buildId=unknown > java.version=1.6.0_04 > java.vendor=Sun Microsystems Inc. > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN > Framework arguments: -product > org.eclipse.equinox.examples.app.selector.product > Command-line arguments: -product > org.eclipse.equinox.examples.app.selector.product -data > F:\workspace\3.4/../runtime-AppSelector.product -dev > file:F:/workspace/3.4/.metadata/.plugins/org.eclipse.pde.core/AppSelector.product/dev.properties > -os win32 -ws win32 -arch x86 -console -consoleLog > > yes, I starting... > [EMAIL PROTECTED] > osgi> > osgi> yes, I run returned. > yes, I dispose... > > osgi> startApp org.eclipse.equinox.examples.app.selector.application > Launched application instance: > org.eclipse.equinox.examples.app.selector.application.1 > > osgi> class org.eclipse.equinox.internal.app.EclipseAppHandle > yes, I starting... > [EMAIL PROTECTED] > yes, I run returned. > yes, I dispose... > In this mode, all seems ok, except must select stop action to close the > application. if click windows close button, workbench Realm class would > failed. > > MAIN_THEAD mode > > osgi> !SESSION 2008-02-13 > 06:37:02.468----------------------------------------------- > eclipse.buildId=unknown > java.version=1.6.0_04 > java.vendor=Sun Microsystems Inc. > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN > Framework arguments: -product > org.eclipse.equinox.examples.app.selector.product > Command-line arguments: -product > org.eclipse.equinox.examples.app.selector.product -data > F:\workspace\3.4/../runtime-AppSelector.product -dev > file:F:/workspace/3.4/.metadata/.plugins/org.eclipse.pde.core/AppSelector.product/dev.properties > -os win32 -ws win32 -arch x86 -console -consoleLog > > class org.eclipse.equinox.internal.app.EclipseAppHandle > yes, I starting... > [EMAIL PROTECTED] > yes, I run returned. > yes, I dispose... > osgi> > > osgi> apps > org.eclipse.equinox.app.error [not launchable] > org.eclipse.swt.examples.addressbook.app [launchable] > org.eclipse.equinox.examples.app.selector.application [launchable] > > osgi> startApp org.eclipse.equinox.examples.app.selector.application > Launched application instance: > org.eclipse.equinox.examples.app.selector.application.1 > > osgi> apps > org.eclipse.equinox.app.error [not launchable] > org.eclipse.swt.examples.addressbook.app [not launchable] > org.eclipse.equinox.examples.app.selector.application [running] [not > launchable] > > osgi> stopApp org.eclipse.equinox.examples.app.selector.application > Stopped application instance: > org.eclipse.equinox.examples.app.selector.application.1 > > osgi> startApp org.eclipse.swt.examples.addressbook.app > Launched application instance: org.eclipse.swt.examples.addressbook.app.0 > > osgi> close > > In the MAIN_THREAD mode, the first time ok, but close it, and start again, > the selector application no more visible. and the address app window can > only window main frame, no address table. > > Could you give some hints? > -- > 致敬 > 向雅 -- 致敬 向雅
_______________________________________________ equinox-dev mailing list equinox-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/equinox-dev