Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-build-dev] Default for target windowing system


There is no way to influence the guess, only to set the value so that the guess isn't made.

In addition to the command line, you can also set the system properties osgi.os, osgi.ws, osgi.arch, which I think could be done in the config.ini as well as vm arguments.

The guesses are made by the EnvironmentInfo service, which is provided by the EclipseAdapterHook and EclipseEnvironmentInfo.  It might be possible to provide your own framework extension with an AdapterHook to do this.  However, this is beyond what I know so I wouldnt be help there.

See http://wiki.eclipse.org/Adaptor_Hooks.

-Andrew




Thomas Hallgren <thomas@xxxxxxx>
Sent by: pde-build-dev-bounces@xxxxxxxxxxx

12/17/2007 03:07 PM

Please respond to
"Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>

To
"Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>
cc
Subject
Re: [pde-build-dev] Default for target windowing system





Hi Andrew,
Buckminster headless is an equinox app. It's invoked using Java so the
binary launcher is never used. We don't include a binary launcher in our
product since it's essential that it platform agnostic. So that leaves
"Guessed by OSGi". Is there anyway to influence that guess (in a generic
sense, i.e. provide new defaults based on OS/Arch)?

Regards,
Thomas Hallgren


Andrew Niefer wrote:
>
> Thomas,
> How exactly is the build failing, is this a problem in the running
> eclipse, or a problem in the build?
>
> For a given eclipse, the os/ws/arch are set in this order:
> 1) From the command line or .ini file  (-ws, -os, -arch)
> 2) automatically by the eclipse launcher based on how that launcher
> was compiled.
> 3) Guessed by OSGi
>
> For linux, the guess was previously motif, this was changed for
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=185952, to be gtk
> starting in 3.4M2.
>
> -Andrew
>
>
>
> *Thomas Hallgren <thomas@xxxxxxx>*
> Sent by: pde-build-dev-bounces@xxxxxxxxxxx
>
> 12/17/2007 12:24 PM
> Please respond to
> "Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>
>
>
>                  
> To
>                  "Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx>
> cc
>                  
> Subject
>                  [pde-build-dev] Default for target windowing system
>
>
>
>                  
>
>
>
>
>
> Hi,
> When Buckminster performs a headless build on a Linux x86_64 machine
> against a target platform that contains the RCP delta pack, the default
> windowing system is always set to "motif". This causes the build to fail
> since no such combination exists. While we do provide means to
> explicitly set the targetWS, we would still like to set defaults that
> corresponds to existing combinations so that the user typically doesn't
> have to specify an explicit windowing platform. My question is, where
> are these defaults picked up today and how can I specify other defaults?
>
> Regards,
> Thomas Hallgren
>
> _______________________________________________
> pde-build-dev mailing list
> pde-build-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pde-build-dev
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> pde-build-dev mailing list
> pde-build-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pde-build-dev
>  

_______________________________________________
pde-build-dev mailing list
pde-build-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-build-dev


Back to the top