Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] 4.5.2 breaks widget toolkit independency in core.e4 components


----- Original Message -----
> From: "Lars Vogel" <lars.vogel@xxxxxxxxxxx>
> To: "Eclipse Platform UI component developers list." <platform-ui-dev@xxxxxxxxxxx>
> Sent: Tuesday, 1 March, 2016 9:00:16 AM
> Subject: Re: [platform-ui-dev] 4.5.2 breaks widget toolkit independency in core.e4 components
> 
> 
> 
> Alex, do he have an example for such a test? Would be definitely good to add
> tests for that, but currently I don't know how to write such a test.

If swt is not on the bundle classpath smth as simple as:

@Test(expected = ClassNotFoundException.class) 
public void noSWT() { 
     Class.forName("org.eclipse.swt.widgets.Widget");
}

should verify it's not added by mistake.

Alexander Kurtakov
Red Hat Eclipse team

> Am 01.03.2016 6:16 vorm. schrieb "Aleksandar Kurtakov" < akurtako@xxxxxxxxxx
> >:
> 
> 
> Shouldn't a test be added to e4.ui.workbench verifying that it's not
> depending on swt?
> 
> Alexander Kurtakov
> Red Hat Eclipse team
> 
> ----- Original Message -----
> > From: "Tom Schindl" < tom.schindl@xxxxxxxxxxxxxxx >
> > To: platform-ui-dev@xxxxxxxxxxx
> > Sent: Tuesday, 1 March, 2016 2:17:19 AM
> > Subject: [platform-ui-dev] 4.5.2 breaks widget toolkit independency in
> > core.e4 components
> > 
> > Hi,
> > 
> > I just discovered that e4 is not widget toolkit independent anymore
> > because of the changes in "Bug 378811 - [Perspectives] Can't export and
> > import perspectives anymore".
> > 
> > There's now a new dependency on org.eclipse.jface in
> > org.eclipse.e4.ui.workbench - Ouch Ouch Ouch!
> > 
> > Tom
> > 
> > --
> > Thomas Schindl, CTO
> > BestSolution.at EDV Systemhaus GmbH
> > Eduard-Bodem-Gasse 5-7, A-6020 Innsbruck
> > http://www.bestsolution.at/
> > Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck
> > _______________________________________________
> > 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
> 
> _______________________________________________
> 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


Back to the top