Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Is new headless build a UI-less ?

2009/6/25 Christian W. Damus <cdamus@xxxxxxx>:
> The Eclipse launcher shows that dialog when the JVM fails, often because the
> application that is trying tying to launch couldn't start.  It has nothing
> to do to with running the Eclipse/Equinox-based application headless or not.
>
> I expect that if your system didn't have X running, then the launcher would
> find some other way to report the failure.
>
> More details of the problem will be available in the workspace .log file or,
> if this is a resource-less RCP, in the timestamped .log file in the Equinox
> configuration directory.

Yes, and in this case the error is printed to stderr and the headless
builder returns with a non-zero exit code.

The point of the headless build is that it doesn't itself reference
plugins which need to invoke UI code. If the runtime is capable of
displaying dialogs then I guess that will continue to work.  I've also
noticed that if you have UI plugins installed in your product which
are invoked at early-startup, you may get errors if there's no UI
available. But there's nothing we can do about this...

Cheers,
James

>
> Cheers,
>
> Christian
>
>
> On Thu, 2009-06-25 at 16:15 +0400, Dmitry Kozlov wrote:
>
> While trying new headless build feature I found that UI is shown if
> something goes wrong. See attached screenshot.
> Is it a bug or intensional behavior?
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
> ________________________________
>
> Christian W. Damus
> Software Developer, IDE Team
> QNX Software Systems
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>


Back to the top