Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Run eclipse UI application

I have found the main issue it was my mac. After additing -XstartOnFirstThread flag application started properly.Thanks for help


On Fri, Aug 9, 2013 at 6:28 PM, Igor Zapletnev <igor.zapletnev@xxxxxxxxx> wrote:
Yes, I am using this parameter, but I could not launch application that creates Display. 
For example, org.eclipse.ui.ide.workbench application. Do you how to fix this? Thanks.

[INFO] Command line:
/bin/sh .. some parameters... -consoleLog -application org.eclipse.ui.ide.workbench
***WARNING: Display must be created on main thread due to Cocoa restrictions.
!SESSION 2013-08-09 18:26:00.676 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_51
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -application org.eclipse.ui.ide.workbench
Command-line arguments:  -consoleLog -application org.eclipse.ui.ide.workbench

!ENTRY org.eclipse.osgi 4 0 2013-08-09 18:26:03.987
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4361)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at org.eclipse.swt.SWT.error(SWT.java:4247)
at org.eclipse.swt.widgets.Display.error(Display.java:1068)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:825)
at org.eclipse.swt.widgets.Display.create(Display.java:808)
at org.eclipse.swt.graphics.Device.<init>(Device.java:130)
at org.eclipse.swt.widgets.Display.<init>(Display.java:699)
at org.eclipse.swt.widgets.Display.<init>(Display.java:690)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:669)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96)



On Fri, Aug 9, 2013 at 6:07 PM, Jeff MAURY <jeffmaury@xxxxxxxxxxxxx> wrote:
Just add a -application command line argument

Jeff


On Fri, Aug 9, 2013 at 1:04 PM, Igor Zapletnev <igor.zapletnev@xxxxxxxxx> wrote:
Yes, I know. And I want to use this goal for UI RCP application. 


On Fri, Aug 9, 2013 at 6:00 PM, Jeff MAURY <jeffmaury@xxxxxxxxxxxxx> wrote:
This is the main goal of this plugin.

Jeff


On Fri, Aug 9, 2013 at 11:55 AM, Igor Zapletnev <igor.zapletnev@xxxxxxxxx> wrote:
Hi,

Is there any way to run eclipse UI application through tycho-eclipserun-plugin?

Thanks,
Igor

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




Back to the top