Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Cross platform build

> Do you have an idea on how Realm can be replaced? I am not aware of that class and its usage.

Lets move that discussion to the upcoming bug report.

Best regards, Lars

On Tue, Jan 10, 2017 at 9:00 PM, Dirk Fauth <dirk.fauth@xxxxxxxxx> wrote:
> Thanks for the answer. I will try the workaround as mentioned in the ticket
> until there is a real fix.
>
> Do you have an idea on how Realm can be replaced? I am not aware of that
> class and its usage.
>
> Am 10.01.2017 20:24 schrieb "Lars Vogel" <lars.vogel@xxxxxxxxxxx>:
>>
>> Hi Dirk,
>>
>> for your build issue, I think you are running into
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=491951. See Bug
>> discussion for the details.
>>
>> For the databinding dependencies, please open a bug report, would be
>> nice to have them remove, if it is also for a Realm.
>>
>> I plan to apply the icu change to our Eclipse 4 RCP template in PDE.
>> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=510216
>>
>> Best regards, Lars
>>
>> On Mon, Jan 9, 2017 at 11:53 AM, Dirk Fauth <dirk.fauth@xxxxxxxxx> wrote:
>> > Hi all,
>> >
>> >
>> >
>> > I am trying to set-up a cross-platform Tycho build with a minimalistic
>> > set
>> > of bundles. The goal is to build the new NatTable E4 Examples
>> > application
>> > with the least necessary bundles to keep the size of the archive files
>> > as
>> > small as possible.
>> >
>> >
>> >
>> > The org.eclipse.e4.rcp feature is too big, so I am trying to create a
>> > custom
>> > E4 RCP feature with only the necessary parts.
>> >
>> >
>> >
>> > To elaborate what I think what can be replaced, or at least what was
>> > done in
>> > the old E3 world:
>> >
>> > -       Remove com.ibm.icu and replace it with com.ibm.icu.base
>> > This saves about 10MB. Sure this sounds not much today. But to reduce
>> > the
>> > download size and the necessary space on the download servers this is
>> > quite
>> > useful. BTW, this could be also useful in general for IoT use cases, but
>> > of
>> > course nothing related to the current task.
>> > I also noticed and fixed a bundle dependency issue in Platform UI that
>> > makes
>> > this change almost impossible (well if you don’t remove the dependent
>> > bundle
>> > o.e.e4.ui.dialogs, which is also not needed in a minimalistic feature)
>> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=509918
>> >
>> > -       Remove the console bundles
>> >
>> > -       Remove the databinding bundles. Unfortunately this seems to be
>> > not
>> > possible with E4, as Platform UI depends on databinding, at least in the
>> > bundle o.e.e4.ui.workbench.swt. And there the dependency is introduced
>> > to
>> > make use of org.eclipse.core.databinding.observable.Realm. I personally
>> > think such a dependency is not good, as this now means the SWT renderer
>> > is
>> > dependent on databinding. But I have to admit that I don’t know what
>> > Realm
>> > is. And it seems to be used for a long time there, so it seems nobody
>> > else
>> > has an issue with this, therefore I don’t want to start a discussion
>> > here.
>> >
>> >
>> >
>> > I created a custom feature similar to org.eclipse.e4.rcp and
>> > replaced/removed what I wanted or at least what was possible.
>> >
>> > I then modified the NatTable target platform according to
>> >
>> > https://wiki.eclipse.org/A_Brief_Overview_of_Building_at_Eclipse#Preferred_way_of_doing_multi-platform_builds
>> >
>> > The first thing I noticed was that "Eclipse RCP Target Components" does
>> > not
>> > exist anymore in Neon. Is this intended?
>> >
>> >
>> >
>> > But when I try to run the Tycho build now, I get the following error
>> > message
>> > at the very beginning when the target platform is resolved:
>> >
>> >
>> >
>> > [ERROR] Cannot resolve target definition:
>> >
>> > [ERROR]   Problems resolving provisioning plan.:
>> >
>> > [ERROR]      Unable to satisfy dependency from org.eclipse.swt
>> > 3.105.2.v20161122-0613 to org.eclipse.swt.gtk.linux.aarch64
>> > [3.105.2.v20161122-0613].
>> >
>> > [ERROR]      Unable to satisfy dependency from org.eclipse.swt
>> > 3.105.2.v20161122-0613 to org.eclipse.swt.gtk.linux.arm
>> > [3.105.2.v20161122-0613].
>> >
>> >
>> >
>> > I am not very familiar with the SWT dependency structure or the p2 stuff
>> > related to it. But a) it looks strange that there is a dependency from
>> > the
>> > host bundle to the fragments, and b) that there are fragments listed
>> > that
>> > doesn’t seem to exist. Never heard of SWT for aarch64 or arm and these
>> > fragments are also not included in the org.eclipse.e4.rcp feature.
>> >
>> > Did anyone had this issue before (I have seen one entry in Google for
>> > some
>> > RedHat build log)?
>> >
>> > Is there anything else to consider for a custom multi-platform build?
>> >
>> >
>> > Greez,
>> >
>> > Dirk
>> >
>> >
>> > _______________________________________________
>> > platform-ui-dev mailing list
>> > platform-ui-dev@xxxxxxxxxxx
>> > To change your delivery options, retrieve your password, or unsubscribe
>> > from
>> > this list, visit
>> > https://dev.eclipse.org/mailman/listinfo/platform-ui-dev
>>
>>
>>
>> --
>> Eclipse Platform UI and e4 project co-lead
>> CEO vogella GmbH
>>
>> Haindaalwisch 17a, 22395 Hamburg
>> Amtsgericht Hamburg: HRB 127058
>> Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
>> USt-IdNr.: DE284122352
>> Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web:
>> http://www.vogella.com
>> _______________________________________________
>> platform-ui-dev mailing list
>> platform-ui-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/platform-ui-dev
>
>
> _______________________________________________
> platform-ui-dev mailing list
> platform-ui-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/platform-ui-dev



-- 
Eclipse Platform UI and e4 project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com


Back to the top